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 30-11-2020
[card]
name=AEther Rift
auto=@each my upkeep:moverandom(*) from(myHand) to(myGraveyard) 
auto=@movedTo(creature|myGraveyard) from(myHand) turnlimited:name(Pay life or put in play) pay[[{L:5}]] opponent donothing?moveTo(myBattlefield) target(creature[fresh]|myGraveyard)]))
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 && target(<prex>creature|battlefield) moveTo(ownerhand)
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=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=Abandon Hope
auto=reject target(<prex>*|myhand)
auto=reject target(<prex>*|opponenthand)
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=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=Abu Ja'far
auto=@movedto(this|graveyard) from(battlefield):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=@movedto(this|graveyard) from(battlefield):bury all(creature[blocking;blocked])
text=When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They cant 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=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=Acclaimed Contender
auto=restriction type(other creature[knight]|mybattlefield)~morethan~0:reveal:5 optionone name(Get card) target(*[aura;knight;equipment;legenday artifact]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|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=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=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=@combat(attacking) source(this):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=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=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=spell
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=rolladie 6 winability life:lastrollresult controller winabilityend loseability life:lastrollresult controller loseabilityend rollend
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=@combat(attacking) source(this):1/1 ueot
auto=@combat(attacking) source(this):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=Adventure Awaits
auto=if type(creature[zpos<=5]|myLibrary)~morethan~0 then name(Look 5 cards) reveal:5 optionone name(Get card) target(creature|reveal) moveTo(myHand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend else draw:1 controller
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
auto=reveal:3 optionone name(Get Cards) 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=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
kicker=multi{2}{U}
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)~equalto~19 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=@combat(attacking) source(this):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=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=@movedTo(land|myBattlefield):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 Gale
target=<6>*[-land]|battlefield
auto=moveto(ownerhand)
text=Return six target nonland permanents to their owners' hands.
mana={3}{U}{U}
type=Sorcery
[/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 Spellbomb
auto={U}{S}:moveto(ownerhand) target(creature)
auto={1}{S}:draw:1 controller
text={U}, Sacrifice Aether Spellbomb: Return target creature to its owner's hand. -- {1}, Sacrifice Aether Spellbomb: Draw a card.
mana={1}
type=Artifact
[/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 cant be cast. -- Pay 4 life: Destroy Aether Storm. It cant 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=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=@combat(attacking) source(this):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=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
autohand={0}:restriction{can play land} 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.
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}.
type=Land
[/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:target(creature|mybattlefield) counter(1/1,2) && target(creature|opponentbattlefield) counter(1/1,2)
auto=lord(creature[counter{1/1}]|battlefield) mustattack
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=@combat(attacking) source(this):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=@combat(attacking) source(this):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
auto=@each my endofturn:if revolt then reveal:1 optionone if type(*[-instant;-sorcery]|reveal)~morethan~0 then may moveto(mybattlefield) optiononeend optiontwo name(Put Back On Bottom) target(<1>*|reveal) may bottomoflibrary 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=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=@movedTo(enchantment|myBattlefield):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 target(*[white;zpos<=5]|mylibrary) moveto(myhand)
auto=name(Get white card) Reveal:5 revealzone(mylibrary) optionone name(choose white card) target(<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
kicker=multi{2}{W}
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)~equalto~19 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}.
type=Land
[/card]
[card]
name=Akoum Warrior
abilities=trample
autohand={0}:restriction{can play land} name(Akoum Teeth) name(Akoum Teeth) flip(Akoum Teeth) forcetype(land)
text=Trample
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
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 afterreveal all(*[zpos<=10]) moveto(myhand) afterrevealend 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
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=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 doesnt 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
other={W} name(Well)
kicker={W}
auto=if paid (alternative) then life:twicetype:creature:mybattlefield
auto=ifnot paid(alternative) then token(Centaur,Creature Centaur,3/3,green)
auto=kicker ifnot paid(alternative) then life:twicetype:creature:mybattlefield
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
aicode=activate target(Alpine Watchdog|mylibrary) moveto(myhand) && target(Igneous Cur|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<upto:2>*[Alpine Watchdog;Igneous Cur]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<2>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@combat(attacking) source(this):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 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=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 Lifes 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 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
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=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=@combat(blocked,turnlimited) source(this):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
target=creature
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
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=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
other={3}{G}{B} name(Kicker {B})
auto=if paid(alternative) then transforms((,newability[counter(1/1.1)],newability[{L:3}:regenerate])) forever
kicker={1}{U}
auto=kicker ifnot paid(alternative) then transforms((,newability[counter(1/1.2)],newability[flying])) 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=@movedTo(this|mygraveyard) from(battlefield):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=Anaxs 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 cant 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=foreach(*|myHand) draw:1 && reject:1
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=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=@movedTo(this|graveyard) from(battlefield):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'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=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])) ueot
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
auto=this(controllerlife > 24) 2/2
auto=@lifeof(player) from(*[-Angel of Vitality]):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=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 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=canplayfromexile,flying,adventure
other={2}{U} name(Adventure)
auto=if paid(alternative) then target(artifact[-creature]|myBattlefield) transforms((Artifact Creature,newability[counter(1/1.4)])) forever
auto=if paid(alternative) then moveto(exile) all(this)
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 counter to a permanent) name(Add counter to a permanent) target(*[counter{any}]|battlefield) duplicatecounters(single)
auto={3}{T}:name(Add counter to a player) name(Add counter to a player) target(player) 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=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
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 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=Arachnus Spinner
abilities=reach
aicode=activate moveTo(myBattlefield) target(Arachnus Web|myLibrary)
auto={T(spider|myBattlefield)}:name(search card) reveal:plibrarycount optionone name(choose card) target(Arachnus Web|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=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~4}:destroy(Arachnus Web)
text=Enchant creature -- Enchanted creature cant attack or block, and its activated abilities cant be activated. -- At the beginning of the end step, if enchanted creatures 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 its 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=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=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 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 Lighthouse
auto={T}:add{1}
auto={1}{T}: all(creature|opponentbattlefield) -opponentshroud ueot && all(creature|opponentbattlefield) -shroud 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=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R}])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G}])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U}])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B}])) forever
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~morethan~0 then transforms((,newability[{T}:add{C}])) forever
text={T}: Add one mana of any color in your commander's color identity.
mana={2}
type=Artifact
[/card]
[card]
name=Arcanist's Owl
abilities=flying
auto=name(look) reveal:4 optionone name(Get an artifact card) target(<1>*[artifact;enchantment]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|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=Arch of Orazca
auto=_ASCEND_
auto=@movedTo(*|myBattlefield):_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=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 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=@damaged(this):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 Arc)
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={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=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=becomesmonarch 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 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=@movedTo(this|mygraveyard) from(Battlefield):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=@movedTo(enchantment|myBattlefield):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=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=Arcum's Astrolabe
other={i}
restriction=type(*|myHand)~morethan~9999
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=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 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=Ardenvale Paladin
other={1}{W}{W}{W} name(Adamant)
auto=if paid(alternative) 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=canplayfromexile,flying,flash,adventure
restriction=myturnonly
other={1}{W} name(Adventure)
auto=if paid(alternative) then target(<upto:2>creature|battlefield) tap(noevent) 
auto=if paid(alternative) then moveto(exile) all(this)
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=@movedTo(this|graveyard) from(battlefield):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 opponents 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
other={3}{G} name(Dangerous)
kicker={3}{G}
auto=if paid (alternative) then lure ueot
auto=ifnot paid(alternative) then 1/1 ueot && first strike ueot
auto=kicker ifnot paid(alternative) then lure ueot
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=Armix, Filigree Thrasher
abilities=partner
auto=@combat(attacking) source(this):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
auto=@combat(attacking) source(this):may name(Look) reveal:6 optionone name(Get aura or equipment) target(*[aura;equipment]|reveal) moveto(mybattlefield) and!(rehook)! optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend 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=Arrester's Admonition
target=creature
auto=moveTo(ownerHand)
auto=if compare(restriction{assorcery}~morethan~0) then 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=if compare(restriction{assorcery}~morethan~0) then 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=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
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=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=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 Ashioks Erasure enters the battlefield, exile target spell. -- Your opponents cant cast spells with the same name as the exiled card. -- When Ashioks Erasure leaves the battlefield, return the exiled card to its owners 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=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=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 owners control at the beginning of the next end step.
mana={2}{W}
type=Enchantment
[/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, 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
auto={2}{T}:token(Egg,Creature Egg,0/1,green,defender)
auto=@movedTo(creature[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) 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=@movedTo(this|graveyard) from(battlefield):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 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=Aurelia, Exemplar of Justice
abilities=flying,mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=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=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={9999}:equip
other={5}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):thisforeach(mutations) ability$!name(Reveal) reveal:1 optionone name(Exile top card) target(<1>*[sorcery;instant]|myreveal) moveto(myexile) optiononeend optiontwo name(Play exiled card) target(<1>*[-sorcery;-instant]|myreveal) activate castcard(normal) optiontwoend 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=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=Autumn Willow
abilities=opponentshroud,shroud
auto={G}:-shroud
#Slightly borderline assumption you will never activate this ability to let the opponent target Autumn Willow
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=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=Avalanche Tusker
auto=@combat(attacking) source(this):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=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 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=@combat(attacking) source(this):transforms((,newability[counter(0/0,1,Double Strike)],newability[this(counter{0/0.1.Double Strike}>=1) double strike])) target(other creature[attacking])
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):transforms((,newability[counter(0/0,1,Flying],newability[this(counter{0/0.1.Flying}>=1) flying target(creature|myBattlefield)]))
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 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=Axebane Beast
mana={3}{G}
type=Creature
subtype=Beast
power=3
toughness=4
[/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(another creature[bear]|myBattlefield):choice target(creature[bear]) counter(1/1,2)
auto=@movedTo(another 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={2}{U}{T}:activate target(*[-land;-human;zpos<=4]|mylibrary) moveto(myhand)
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=@combat(attacking) source(this):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 ability$!name(discard) reject notatarget(*|myhand)!$:target(creature) transforms((,newability[@combatdamaged(player) from(this):draw:2 controller])) ueot
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=becomesmonarch 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((,newablility[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=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 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=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=Bake into a Pie
target=creature
auto=destroy
auto=token(-473141)
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
autohand={0}:restriction{can play land} 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.
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}.
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=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=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 Hound
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=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 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=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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=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=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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=moveTo(ownerhand) target(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=Bartered Cow
auto=@movedTo(this|graveyard) from(battlefield):token(-473141)
auto=@movedTo(this|mygraveyard) from(myHand):token(-473141)
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=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=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=@movedTo(this|myGraveyard) from(myBattlefield):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=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=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=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 Scavenger
auto=@exerted(creature|myBattlefield):may reject notatarget(*|myhand) and!( draw:1 controller )!
auto=@combat(attacking) source(this):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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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=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=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=canplayfromexile,adventure
other={2}{G} name(Adventure)
anyzone=type:land:myBattlefield/type:land:myBattlefield cdaactive
auto=if paid(alternative) then target(land[basic]|mylibrary) moveto(mybattlefield)
auto=if paid(alternative) then moveto(exile) all(this)
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=Bearer of Overwhelming Truths
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
auto=@combatdamagefoeof(player) from(this):token(Clue,Artifact Clue,0/0) and!( transforms((,newability[{S}{2}:draw:1])) forever )! controller
auto=@combatdamageof(player) from(this):token(Clue,Artifact Clue,0/0) and!( transforms((,newability[{S}{2}:draw:1])) forever )! 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.)
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(0/0,1,Vigilance)
auto=choice name(Reach) counter(0/0,1,Reach)
auto=choice name(Trample) 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
other={4}{W}{U} name(Call)
kicker={4}{W}{U}
auto=if paid (alternative) then create(Bird:Creature Bird:1/1:white:flying)*4
auto=ifnot paid(alternative) then may draw:1
auto=kicker ifnot paid(alternative) then create(Bird:Creature Bird:1/1:white:flying)*4
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=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(lifelost)~morethan~0}:add{C}{C} opponent
mana={B}{G}
type=Legendary Creature
subtype=Zombie Elf
power=2
toughness=2
[/card]
[card]
name=Belle of the Brawl
abilities=menace
auto=@combat(attacking) source(this):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=@damaged(this):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=aslongas(other creature[fresh]|mybattlefield) trample && indestructible
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 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=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=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=Benefaction of Rhonas
auto=reveal:5 optionone name(get creature) notatarget(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(get enchantment) notatarget(<upto:1>enchantment|reveal) moveto(myhand) and!(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=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=Besmirch
target=creature
auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste,mustattack)) ueot)!
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. -- EntwineSacrifice 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}.
type=Land
[/card]
[card]
name=Beyeen Veil
autohand={0}:restriction{can play land} 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.
mana={1}{U}
type=Instant
[/card]
[card]
name=Big Boa Constrictor
auto=rolladie 6 winability life:-lastrollresult opponent winabilityend loseability life:-lastrollresult opponent loseabilityend rollend
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=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=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=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 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=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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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[@combat(attacking) source(this):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=@combat(attacking) source(this):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=@combat(attacking) source(this):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=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}.
type=Land
[/card]
[card]
name=Blackbloom Rogue
abilities=menace
autohand={0}:restriction{can play land} 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.
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=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 Instructor
abilities=mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=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=Blaring Captain
abilities=partner
auto=may moveto(myhand) notatarget(blaring recruiter|mylibrary)
auto=@combat(attacking) source(this):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 moveto(myhand) notatarget(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={3}{T}{S}:this(counter{0/0.1.Charge}<1) {T}{S}:destroy all(*[-land;manacost=0])
auto={3}{T}{S}:this(counter{0/0.1.Charge}=) {T}{S}:destroy all(*[-land;manacost=1])
auto={3}{T}{S}:this(counter{0/0.2.Charge}=) {T}{S}:destroy all(*[-land;manacost=2])
auto={3}{T}{S}:this(counter{0/0.3.Charge}=) {T}{S}:destroy all(*[-land;manacost=3])
auto={3}{T}{S}:this(counter{0/0.4.Charge}=) {T}{S}:destroy all(*[-land;manacost=4])
auto={3}{T}{S}:this(counter{0/0.5.Charge}=) {T}{S}:destroy all(*[-land;manacost=5])
auto={3}{T}{S}:this(counter{0/0.6.Charge}=) {T}{S}:destroy all(*[-land;manacost=6])
auto={3}{T}{S}:this(counter{0/0.7.Charge}=) {T}{S}:destroy all(*[-land;manacost=7])
auto={3}{T}{S}:this(counter{0/0.8.Charge}=) {T}{S}:destroy all(*[-land;manacost=8])
auto={3}{T}{S}:this(counter{0/0.9.Charge}=) {T}{S}:destroy all(*[-land;manacost=9])
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=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 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 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) and!( transforms((,newability[Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone all(creature|reveal) moveto(mybattlefield) optiononeend optiontwo all(*|myreveal) bottomoflibrary optiontwoend revealend])) oneshot )!
auto=if rebound then ability$!moveto(exile) all(Blessed Reincarnation|mystack)!$ controller
autoexile=@rebounded:may activate castcard(normal)
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 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=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-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=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=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=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
auto=choice name(Don't strive) ability$!name(choose 1 creature) name(choose 1 creature) target(*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 1) ability$!name(choose 2 creatures) pay[[{R}]] name(choose 2 creatures) target(<2>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 2) ability$!name(choose 3 creatures) pay[[{R}{R}]] name(choose 3 creatures) target(<3>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 3) ability$!name(choose 4 creatures) pay[[{R}{R}{R}]] name(choose 4 creatures)target(<4>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 4) ability$!name(choose 5 creatures) pay[[{R}{R}{R}{R}]] name(choose 5 creatures) target(<5>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 5) ability$!name(choose 6 creatures) pay[[{R}{R}{R}{R}{R}]] name(choose 6 creatures) target(<6>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 6) ability$!name(choose 7 creatures) pay[[{R}{R}{R}{R}{R}{R}]] name(choose 7 creatures) target(<7>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 7) ability$!name(choose 8 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}]] name(choose 8 creatures) target(<8>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 8) ability$!name(choose 9 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 9 creatures) target(<9>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 9) ability$!name(choose 10 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 10 creatures) target(<10>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 10) ability$!name(choose 11 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 11 creatures) target(<11>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 11) ability$!name(choose 12 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 12 creatures) target(<12>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 12) ability$!name(choose 13 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 13 creatures) target(<13>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 13) ability$!name(choose 14 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 14 creatures)target(<14>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 14) ability$!name(choose 15 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 15 creatures) target(<15>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 15) ability$!name(choose 16 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 16 creatures) target(<16>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 16) ability$!name(choose 17 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 17 creatures) target(<17>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 17) ability$!name(choose 18 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 18 creatures) target(<18>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 18) ability$!name(choose 19 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 19 creatures) target(<19>*[creature]) cantblock ueot!$ controller
auto=choice name(Strive 19) ability$!name(choose 20 creatures) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(choose 20 creatures) target(<20>*[creature]) cantblock ueot!$ controller
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[power<2]|opponentBattlefield)
text=Tap all creatures your opponents control with toughness 2 or less.
mana={2}{W}
type=Sorcery
[/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 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 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 cant 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=counter(0/0,1,Menace)
auto=transforms((,newability[this(counter{0/0.1.Menace}>=1) menace]))
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 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 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 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 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=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=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=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:1/1 && 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 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=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=@combat(attacking) source(this):may name(Sacrifice) sacrifice notatarget(another 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=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 Aerialist
abilities=flying
auto=@lifeof(player) from(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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=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=Blow Your House Down
target=<upto:3>creature
auto=cantblock
auto=destroy target(<upto:3>creature[wall])
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=Blur of Blades
target=creature
auto=(-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(-473141)
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=@damaged(this):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=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
auto={0}:name(play from top) reveal:1 optionone name(Reveal) target(*|reveal) transforms((,newability[life:-manacost controller])) forever optiononeend optiontwo name(Claim your card) choice all(*|reveal) moveto(mybattlefield) optiontwoend revealend
auto={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)}: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=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=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=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 Bonders 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=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=canplayfromexile,flash,adventure
restriction=myturnonly
other={1}{R} name(Adventure)
#MISSING: damage can't be prevented
auto=if paid(alternative) then damage:2 target(player,creature,planeswalker)
auto=if paid(alternative) then moveto(exile) all(this)
auto=@targeted(this) from(*|opponentzones):damage:2 opponent
auto=@targeted(this) from(*|myzones):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 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={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 Mycodraxs 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 cards 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
auto=@movedto(creature|mygraveyard) from(mybattlefield): -cantattack ueot
auto=@movedto(creature|mygraveyard) from(mybattlefield): -cantblock ueot
auto={1}{B}{S(other creature|mybattlefield)}: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=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
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(0/0,1,Deathtouch)
auto=choice name(Lifelink) 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=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=Boros Challenger
abilities=mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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 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=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=Boulderloft Pathway
auto={T}:add{W}
text={T}: Add {W}.
type=Land
[/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=+3/+3
target=creature
auto=+3/+3
target=creature
auto=+3/+3
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 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=rolladie 6 winability token(Goblin,Creature Goblin,1/1,red)*lastrollresult winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresult loseabilityend rollend
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=Brallin, Skyshark Rider
abilities=hiddenface,partner
aicode=activate moveTo(myhand) target(Shabraz^ the Skyshark|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Shabraz^ the Skyshark|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Shabraz^ the Skyshark|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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 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
autohand={0}:restriction{can play land} name(Boulderloft Pathway) name(Boulderloft Pathway) flip(Boulderloft Pathway) forcetype(land)
auto={T}:add{G}
text={T}: Add {G}.
type=Land
[/card]
[card]
name=Brash Taunter
abilities=indestructible
auto=@damaged(this):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=foreach(land|mybattlefield) token(Treasure,Artifact Treasure) and!( transforms((,newability[{T}{S}:Add{W}])(,newability[{T}{S}:Add{R}])(,newability[{T}{S}:Add{G}])(,newability[{T}{S}:Add{U}])(,newability[{T}{S}:Add{B}])) forever )!
text=For each land you control, create a Treasure token. (Its 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=@combat(attacking) source(this):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=canplayfromexile,flash,flying,cloud,adventure
other={1}{U} name(Adventure)
auto=if paid(alternative) then target(*[-land]|opponentbattlefield) moveTo(ownerHand)
auto=if paid(alternative) then moveto(exile) all(this)
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
auto=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 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 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=Breaking // Entering
auto=choice {U}{B}:deplete:8 target(player)
auto=choice {4}{B}{R}:target(creature|graveyard) moveTo(mybattlefield) && transforms((,newability,haste)) ueot
auto=choice {U}{B}{4}{B}{R}:deplete:8 target(player) then target(creature|graveyard) moveTo(mybattlefield) && transforms((,newability,haste)) ueot
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={0}
type=Sorcery
[/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=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=Briarblade Adept
auto=@combat(attacking) source(this):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=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
autohand={0}:restriction{can play land} name(Grimclimb Pathway) name(Grimclimb Pathway) flip(Grimclimb Pathway) forcetype(land)
auto={T}:add{W}
text={T}: Add {W}.
type=Land
[/card]
[card]
name=Brightflame
auto=damage:X target(creature)
auto=damage:X all(other creature[share!color!])
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=@combat(attacking) source(this):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=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=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
target=creature[attacking,-artifact]
auto=destroy && token(Spirit,Creature Spirit,storedpower/storedtoughness,black,treason)
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={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 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=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=Bruse Tarl, Boorish Herder
abilities=partner
auto=target(creature|mybattlefield) double strike && lifelink ueot
auto=@combat(attacking) source(this):target(creature|mybattlefield) double strike && 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 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=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=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=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=Burning Prophet
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 Suns 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-Tree Vandal
auto=choice counter(1/1)
auto=choice aslongas(creature|myBattlefield) haste
auto=@combat(attacking) source(this):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 creatures converted mana cost.
mana={B}{S(creature|mybattlefield)}
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 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(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=Cacophodon
auto=@damaged(this):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=Calciform Pools
auto={T}:add {1}
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
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=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=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=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)
auto=counter(0/0,1,Menace) <upto:2>target(creature[manacost<=3]
auto=transforms((,newability[this(counter{0/0.1.Menace}>=1) menace <upto:2>target(creature[manacost<=3])]))
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
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=Callaphes 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=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=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=Canal Courier
auto=becomesmonarch 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=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=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=@combat(attacking) source(this):all(creature|opponentbattlefield) mustblock ueot
auto=@movedTo(this|myGraveyard) from(myBattlefield):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=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=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 cant 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=@combat(attacking) source(this):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 Vargus Wrath
auto=@combat(attacking) source(this):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=@movedTo(enchantment|myBattlefield):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=Careless Celebrant
auto=@movedTo(this|mygraveyard) from(Battlefield):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=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 Cartographers Hawk deals combat damage to a player who controls more lands than you, return it to its owners 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
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(*[-land]|opponentbattlefield) forsrc
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=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
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$! may destroy target(artifact)!$ controller && ability$! may destroy target(creature)!$ controller && ability$! may destroy target(enchantment)!$ controller && ability$! may destroy target(land)!$ controller && ability$! may 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=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
other={4}{R}{W} name(Release)
kicker={4}{R}{W}
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],haste)) ueot)!
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ controller
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ controller
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ controller
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ controller
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ controller
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice artifact) name(Sacrifice artifact) notatarget(artifact|mybattlefield) sacrifice!$ opponent
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice creature) name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice enchantment) name(Sacrifice enchantment) notatarget(enchantment|mybattlefield) sacrifice!$ opponent
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice land) name(Sacrifice land) notatarget(land|mybattlefield) sacrifice!$ opponent
auto=kicker ifnot paid(alternative) then ability$!name(Sacrifice planeswalker) name(Sacrifice planeswalker) notatarget(planeswalker|mybattlefield) sacrifice!$ opponent
text=kicker 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=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=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=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=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
target=creature|myGraveyard
other={2}{B}{B}{B} name(Adamant)
auto=if paid(alternative) then deplete:4 controller
auto=may moveto(mybattlefield) && counter(1/1,1)
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=@movedTo(this|graveyard) from(battlefield):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)) 1/0 && haste ueot
auto=target(<anyamount>*|myhand) reject && teach(*) draw:1 controller assorcery
auto=@movedTo(this|graveyard) from(battlefield):damage:type:land:mygraveyard opponent
auto=@movedTo(this|graveyard) from(battlefield):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
auto=draw:3 controller && transforms((,newability[target(<2>*|myhand) moveto(mylibrary)])) oneshot
autograveyard=moveTo(ownerlibrary) && shuffle then scry:2 scrycore delayed dontshow donothing scrycoreend scryend
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=@movedTo(this|mygraveyard) from(myBattlefield):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=@movedTo(this|graveyard) from(battlefield):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 {1}
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=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=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={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=Cazur, Ruthless Stalker
abilities=hiddenface,partner
aicode=activate moveTo(myhand) target(Ukkima^ Stalking Shadow|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Ukkima^ Stalking Shadow|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Ukkima^ Stalking Shadow|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=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 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=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 theyve 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
other={2}{U}{R} name(Red Kicker)
kicker={G}
auto=if paid(alternative) then counter(1/1,2) && first strike
auto=if paid(kicker) then counter(1/1,1) && trample
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
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=Chainweb Aracnir
abilities=reach
auto=if paid(alternative) then counter(1/1,3)
auto=target(creature[flying]|opponentBattlefield) name(Deals damage to a creature) dynamicability<!powerstrike!>
autograveyard={3}{G}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{G}{G},exile four) activate castcard(alternative)
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 moveto(myhand) notatarget(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 Hound
power=2
toughness=4
[/card]
[card]
name=Chakram Slinger
abilities=partner
auto=may moveto(myhand) notatarget(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=@combat(attacking) source(this):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) target(this)
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=Chance for Glory
auto=lord(other creature|myBattlefield) indestructible forever
auto=turns:+1 controller
auto=transforms((,newability[@each my upkeep:phaseaction[endofturn once] winGame opponent])) forever
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 Tangle
abilities=reach,vigilance
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
auto=@movedTo(*[red]|mystack):untap all(this)
auto={T}:damage:1 target(player) limit^moveto(ownerBattlefield) && flip(Chandra, Roaring Flame)^3
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.
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=emblem 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 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=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 of the Forever-Beast
auto=target(creature|myhand) transforms((,newability[damage:power target(creature|planeswalker) ueot])) 
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 players 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=tap(mytgt)
auto=teach(creature) doesnotuntap
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
auto=choice scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=choice life:3
auto=choice (blink)ueot target(another 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=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=@combat(attacking) source(this):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=@movedto(this|mygraveyard) from(mybattlefield):all(dinosaur|mycastingzone) transforms((,newability[flash])) ueot
auto=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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 a la King
auto=@dierolled(*|battlefield) result(6) from(controller):all(chicken|battlefield) counter(1/1)
auto={T(*[chicken]|mybattlefield)}:rolladie 6 winability donothing winabilityend rollend
text=Whenever a 6 is rolled on a six-sided die, put a +1/+1 counter on each Chicken in play. (You may roll dice only when a card instructs you to.) -- Tap a Chicken you control: Roll a six-sided die.
mana={1}{U}{U}
type=Summon
subtype=Chicken
[/card]
[card]
name=Chicken  la King
auto=@dierolled(*|battlefield) result(6) from(controller):all(chicken|battlefield) counter(1/1)
auto={T(*[chicken]|mybattlefield)}:rolladie 6 winability donothing winabilityend rollend
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=Chicken Egg
auto=@each my upkeep:rolladie 6 winability donothing winabilityend rollend
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=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 creatures color.)
mana={1}{U}
type=Creature
subtype=Vedalken Artificer
power=1
toughness=3
[/card]
[card]
name=Chill Haunting
target=creature
auto={E(*|myhand)}:-1/-1 ueot
auto={E(*|myhand)}{E(*|myhand)}:-2/-2 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-3/-3 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-4/-4 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-5/-5 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-6/-6 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-7/-7 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-8/-8 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-9/-9 ueot
auto={E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}{E(*|myhand)}:-10/-10 ueot
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=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 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={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=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=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 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=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=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 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=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 players library. -- Whenever you cast a black spell, exile the top card of target players library. -- Your opponents cant 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=Citywatch Sphinx
abilities=flying
auto=@movedTo(this|graveyard) from(battlefield):surveil && name(surveil) 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 revealend
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
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) rolladie 6 winability donothing winabilityend loseability donothing loseabilityend rollend
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=@combat(attacking) source(this):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=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=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) destroy all(enchantment|opponentbattlefield) >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=alternative destroy all(creature)
auto=alternative 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
target=Vampire
auto=choice destroy target(vampire)
auto=choice 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 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
autohand={0}:restriction{can play land} name(Murkwater Pathway) name(Murkwater Pathway) flip(Murkwater Pathway) forcetype(land)
auto={T}:add{U}
text={T}: Add {U}.
type=Land
[/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 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=Cliffhaven Kitesail
auto=rehook target(creature|myBattlefield)
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={2}
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=choice name(exile non-creature card) moveTo(exile) target(*[-creature]|Graveyard) && draw:1 controller
auto=choice name(exile creature card) moveTo(exile) target(creature|Graveyard) && life:3 controller
autograveyard={3}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{B},exile five) activate castcard(normal)
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
other={W}{W}{W} name(Adamant White)
other={U}{U}{U} name(Adamant Blue)
other={R}{R}{R} name(Adamant Red)
other={G}{G}{G} name(Adamant Green)
other={B}{B}{B} name(Adamant Black)
auto=if paid(alternative) 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=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=@movedTo(this|graveyard) from(myBattlefield):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=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={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
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=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=@combat(attacking) source(this):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=Code of Constraint
target=creature
auto=-4/-0
auto=if compare(restriction{assorcery}~morethan~0) then 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=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=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=Collective Brutality
target=opponent
other={1}{B}{D(*|myhand)} name(Escalate)
aicode=activate reject notatarget(*[instant;sorcery]|targetedpersonshand)
auto=if paid(alternative) then reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[instant;sorcery]|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=if paid(alternative) then target(creature) -2/-2 ueot
auto=if paid(alternative) then life:-2 opponent && life:2 controller
auto=ifnot paid(alternative) then choice name(Target opponent reveals and discard...) reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[instant;sorcery]|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=ifnot paid(alternative) then choice name(Target creature gets -2/-2...) target(creature) -2/-2 ueot
auto=ifnot paid(alternative) then choice name(Target 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=EscalateTap 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
kicker=multi{1}{G}
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)~equalto~19 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=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 Celebrant
auto=@exerted(this) restriction{once}:untap all(other creature|mybattlefield) && nextphasealter(add,combatphases,controller,after<combatends>) oneshot
auto=@combat(attacking) source(this):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=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
auto=this(X>0) choice name(kicker = 0) name(kicker = 0) target(player,creature,planeswalker) damage:X
auto=this(X>1) choice name(kicker = 1) name(kicker = 1) target(<2>player,creature,planeswalker) damage:Xminus1minusend
auto=this(X>2) choice name(kicker = 2) name(kicker = 2) target(<3>player,creature,planeswalker) damage:Xminus2minusend
auto=this(X>3) choice name(kicker = 3) name(kicker = 3) target(<4>player,creature,planeswalker) damage:Xminus3minusend
auto=this(X>4) choice name(kicker = 4) name(kicker = 4) target(<5>player,creature,planeswalker) damage:Xminus4minusend
auto=this(X>5) choice name(kicker = 5) name(kicker = 5) target(<6>player,creature,planeswalker) damage:Xminus5minusend
auto=this(X>6) choice name(kicker = 6) name(kicker = 6) target(<7>player,creature,planeswalker) damage:Xminus6minusend
auto=this(X>7) choice name(kicker = 7) name(kicker = 7) target(<8>player,creature,planeswalker) damage:Xminus7minusend
auto=this(X>8) choice name(kicker = 8) name(kicker = 8) target(<9>player,creature,planeswalker) damage:Xminus8minusend
auto=this(X>9) choice name(kicker = 9) name(kicker = 9) target(<10>player,creature,planeswalker) damage:Xminus9minusend
auto=this(X>10) choice name(kicker = 10) name(kicker = 10) target(<11>player,creature,planeswalker) damage:Xminus10minusend
auto=this(X>11) choice name(kicker = 11) name(kicker = 11) target(<12>player,creature,planeswalker) damage:Xminus11minusend
auto=this(X>12) choice name(kicker = 12) name(kicker = 12) target(<13>player,creature,planeswalker) damage:Xminus12minusend
auto=this(X>13) choice name(kicker = 13) name(kicker = 13) target(<14>player,creature,planeswalker) damage:Xminus13minusend
auto=this(X>14) choice name(kicker = 14) name(kicker = 14) target(<15>player,creature,planeswalker) damage:Xminus14minusend
auto=this(X>15) choice name(kicker = 15) name(kicker = 15) target(<16>player,creature,planeswalker) damage:Xminus15minusend
auto=this(X>16) choice name(kicker = 16) name(kicker = 16) target(<17>player,creature,planeswalker) damage:Xminus16minusend
auto=this(X>17) choice name(kicker = 17) name(kicker = 17) target(<18>player,creature,planeswalker) damage:Xminus17minusend
auto=this(X>18) choice name(kicker = 18) name(kicker = 18) target(<19>player,creature,planeswalker) damage:Xminus18minusend
auto=this(X>19) choice 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=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R}])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G}])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U}])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B}])) forever
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~morethan~0 then transforms((,newability[{T}:add{C}])) forever
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 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
target=creature
auto={5}:equip
auto={3} restriction{type(creature[iscommander]|mybattlefield)~morethan~0}:name(equip commander) rehook target(creature[iscommander]|mybattlefield)
auto=teach(creature) 3/3
auto=if type(*[red]|myzones)~lessthan~1 then teach(creature) protection from red
auto=if type(*[white]|myzones)~lessthan~1 then teach(creature) protection from white
auto=if type(*[green]|myzones)~lessthan~1 then teach(creature) protection from green
auto=if type(*[blue]|myzones)~lessthan~1 then teach(creature) protection from blue
auto=if type(*[black]|myzones)~lessthan~1 then teach(creature) protection from black
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~lessthan~1 then teach(creature) protection from(artifact)
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=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R}])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G}])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U}])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B}])) forever
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~morethan~0 then transforms((,newability[{T}:add{C}])) forever
auto={S}:draw:1 controller
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(Human,Com)
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=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=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=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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(another creature) damage:2!$ controller && ability$!name(damage) choice target(another 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=*|stack
auto=fizzle
auto=draw:1 controller
restriction=target(creature)
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{type(land[fresh]|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=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=Connive // Concoct
other={3}{U}{B} name(Concoct)
aicode=if paid(alternative) then surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus3plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus3plusend]) from(mylibrary) to(mylibrary)],newability[moveto(myBattlefield) target(creature|mygraveyard)])) ueot
auto=if paid(alternative) then surveil && name(surveil) 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) 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 && discard(*|myhand)
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=@combat(attacking) source(this):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=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
auto=choice name(Don't strive) ability$!name(choose 1 artifact or enchantment) name(choose 1 artifact or enchantment) target(*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 1) ability$!name(choose 2 artifacts or enchantments) pay[[{2}{G}]] name(choose 2 artifacts or enchantments) target(<2>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 2) ability$!name(choose 3 artifacts or enchantments) pay[[{4}{G}{G}]] name(choose 3 artifacts or enchantments) target(<3>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 3) ability$!name(choose 4 artifacts or enchantments) pay[[{6}{G}{G}{G}]] name(choose 4 artifacts or enchantments)target(<4>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 4) ability$!name(choose 5 artifacts or enchantments) pay[[{8}{G}{G}{G}{G}]] name(choose 5 artifacts or enchantments) target(<5>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 5) ability$!name(choose 6 artifacts or enchantments) pay[[{10}{G}{G}{G}{G}{G}]] name(choose 6 artifacts or enchantments) target(<6>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 6) ability$!name(choose 7 artifacts or enchantments) pay[[{12}{G}{G}{G}{G}{G}{G}]] name(choose 7 artifacts or enchantments) target(<7>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 7) ability$!name(choose 8 artifacts or enchantments) pay[[{14}{G}{G}{G}{G}{G}{G}{G}]] name(choose 8 artifacts or enchantments) target(<8>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 8) ability$!name(choose 9 artifacts or enchantments) pay[[{16}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 9 artifacts or enchantments) target(<9>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 9) ability$!name(choose 10 artifacts or enchantments) pay[[{18}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 10 artifacts or enchantments) target(<10>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 10) ability$!name(choose 11 artifacts or enchantments) pay[[{20}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 11 artifacts or enchantments) target(<11>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 11) ability$!name(choose 12 artifacts or enchantments) pay[[{22}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 12 artifacts or enchantments) target(<12>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 12) ability$!name(choose 13 artifacts or enchantments) pay[[{24}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 13 artifacts or enchantments) target(<13>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 13) ability$!name(choose 14 artifacts or enchantments) pay[[{26}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 14 artifacts or enchantments)target(<14>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 14) ability$!name(choose 15 artifacts or enchantments) pay[[{28}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 15 artifacts or enchantments) target(<15>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 15) ability$!name(choose 16 artifacts or enchantments) pay[[{30}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 16 artifacts or enchantments) target(<16>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 16) ability$!name(choose 17 artifacts or enchantments) pay[[{32}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 17 artifacts or enchantments) target(<17>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 17) ability$!name(choose 18 artifacts or enchantments) pay[[{34}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 18 artifacts or enchantments) target(<18>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 18) ability$!name(choose 19 artifacts or enchantments) pay[[{36}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 19 artifacts or enchantments) target(<19>*[artifact;enchantment]) destroy!$ controller
auto=choice name(Strive 19) ability$!name(choose 20 artifacts or enchantments) pay[[{38}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 20 artifacts or enchantments) target(<20>*[artifact;enchantment]) destroy!$ controller
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 arent on the battlefield.
mana={3}{B}{B}
type=Enchantment
[/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(another 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 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=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) transforms((removetypes,newability[becomes(Swamp)])) forever
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=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=@movedto(this|mygraveyard) from(mybattlefield): 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 players graveyard.
mana={3}{B}
type=Creature
subtype=Zombie Wizard
power=4
toughness=2
[/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=Corpseweft
auto={1}{B}:choice name(Exile 1 creature) moveTo(exile) target(creature|mygraveyard) && token(Zombie,creature Zombie Horror,2/2,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 2 creatures) moveTo(exile) target(<2>creature|mygraveyard) && token(Zombie,creature Zombie Horror,4/4,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 3 creatures) moveTo(exile) target(<3>creature|mygraveyard) && token(Zombie,creature Zombie Horror,6/6,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 4 creatures) moveTo(exile) target(<4>creature|mygraveyard) && token(Zombie,creature Zombie Horror,8/8,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 5 creatures) moveTo(exile) target(<5>creature|mygraveyard) && token(Zombie,creature Zombie Horror,10/10,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 6 creatures) moveTo(exile) target(<6>creature|mygraveyard) && token(Zombie,creature Zombie Horror,12/12,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 7 creatures) moveTo(exile) target(<7>creature|mygraveyard) && token(Zombie,creature Zombie Horror,14/14,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 8 creatures) moveTo(exile) target(<8>creature|mygraveyard) && token(Zombie,creature Zombie Horror,16/16,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 9 creatures) moveTo(exile) target(<9>creature|mygraveyard) && token(Zombie,creature Zombie Horror,18/18,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 10 creatures) moveTo(exile) target(<10>creature|mygraveyard) && token(Zombie,creature Zombie Horror,20/20,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 11 creatures) moveTo(exile) target(<11>creature|mygraveyard) && token(Zombie,creature Zombie Horror,22/22,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 12 creatures) moveTo(exile) target(<12>creature|mygraveyard) && token(Zombie,creature Zombie Horror,24/24,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 13 creatures) moveTo(exile) target(<13>creature|mygraveyard) && token(Zombie,creature Zombie Horror,26/26,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 14 creatures) moveTo(exile) target(<14>creature|mygraveyard) && token(Zombie,creature Zombie Horror,28/28,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 15 creatures) moveTo(exile) target(<15>creature|mygraveyard) && token(Zombie,creature Zombie Horror,30/30,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 16 creatures) moveTo(exile) target(<16>creature|mygraveyard) && token(Zombie,creature Zombie Horror,32/32,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 17 creatures) moveTo(exile) target(<17>creature|mygraveyard) && token(Zombie,creature Zombie Horror,34/34,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 18 creatures) moveTo(exile) target(<18>creature|mygraveyard) && token(Zombie,creature Zombie Horror,36/36,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 19 creatures) moveTo(exile) target(<19>creature|mygraveyard) && token(Zombie,creature Zombie Horror,38/38,black) and!( tap(noevent) )!
auto={1}{B}:choice name(Exile 20 creatures) moveTo(exile) target(<20>creature|mygraveyard) && 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=@Corrosive Ooze blocks or becomes blocked by an equipped creaturedestroy all equipment attached that creature at end of combat
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=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=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=becomesmonarch 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=becomesmonarch 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=becomesmonarch 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=becomesmonarch 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=becomesmonarch 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=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 arent 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=@combat(attacking) source(this):may name(Goad creature) target(creature|opponentBattlefield) transforms((,newability[mustattack])) uynt
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=Crackling Drake
abilities=flying
auto=draw:1
anyzone=pginstantsorcery/4 cdaactive
#anyzone=peinstantsorcery/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
autohand={0}:restriction{can play land} name(Timbercrown Pathway) name(Timbercrown Pathway) flip(Timbercrown Pathway) forcetype(land)
auto={T}:add{R}
text={T}: Add {R}.
type=Land
[/card]
[card]
name=Cragganwick Cremator
other={2}{R}{R}{D(*[creature]|myhand)} name(Discard a creature)
auto=if paid(alternative) then damage:storedpower target(player,planeswalker)
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 cards power to target player or planeswalker.
mana={2}{R}{R}{D(*[-creature]|myhand)}
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=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=@combat(attacking) source(this):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=turn:100
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=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=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 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=becomesmonarch 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=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=Crown-Hunter Hireling
auto=becomesmonarch controller
auto=this(variable{omonarch}<1) cantattack
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=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
kicker=multi{2}{B}
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)~equalto~19 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=if type(creature,planeswalker|opponentbattlefield)~morethan~0 ability$!name(sacrifice) notatarget(creature,planeswalker|myBattlefield) sacrifice!$ opponent else life:-5 opponent
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=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=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) sacrifice notatarget(creature|mybattlefield) && draw:1 controller
auto=choice name(Discard a card):ability$!name(discard) target(*[creature]|myhand) reject!$ controller && 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
auto=scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=scry:3 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 {1}
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=choice name(Counter and...) fizzle target(*|stack) && all(this) transforms((,newability[choice name(Return Permanent) moveTo(ownerhand) target(*[-instant;-sorcery])],newability[choice name(Tap all Creatures) tap(noevent) all(creature|opponentbattlefield)],newability[choice name(Draw) draw:1 controller]))
auto=choice name(Return Permanent and...) moveTo(ownerhand) target(*[-instant;-sorcery]) && all(this) transforms((,newability[choice name(Counter) fizzle target(*|stack)],newability[choice name(Tap all Creatures) tap(noevent) all(creature|opponentbattlefield)],newability[choice name(Draw) draw:1 controller]))
auto=choice name(Tap all Creatures and...) tap(noevent) all(creature|opponentbattlefield) && all(this) transforms((,newability[choice name(Counter) fizzle target(*|stack)],newability[choice name(Return Permanent) moveTo(ownerhand) target(*[-instant;-sorcery])],newability[choice name(Draw) draw:1 controller]))
auto=choice name(Draw and...) draw:1 controller && all(this) transforms((,newability[choice name(Counter) fizzle target(*|stack)],newability[choice name(Return Permanent) moveTo(ownerhand) target(*[-instant;-sorcery])],newability[choice name(Tap all Creatures) tap(noevent) all(creature|opponentbattlefield)]))
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(-1,colorless)
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.First Strike}>=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={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=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=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 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=Curator of Mysteries
abilities=flying,cycling
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=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=canplayfromexile,adventure
other={G} name(Adventure)
auto=if paid(alternative) then token(-473141) && moveto(exile) all(this)
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=player
auto=@damaged(targetedplayer) from(*[instant;sorcery]|Stack,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(targetedplayer) from(*[creature;artifact;land;planeswalker]|battlefield,graveyard):damage:thatmuch all(trigger[to])
auto=@damaged(targetedplayer) from(enchantment[-Curse of Bloodletting]|battlefield,graveyard):damage:thatmuch all(trigger[to])
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=player
auto=@combat(attacking) source(creature|myBattlefield) restriction{once}: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 Disturbance
target=player
auto=@combat(attacking) source(creature|myBattlefield) restriction{once}:create(zombie:creature zombie:2/2:black)
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 Fool's Wisdom
abilities=madness
target=player
auto=@drawn(targetedplayer):may life:-2 opponent
auto=@drawn(targetedplayer):may life:2 controller
autoexile=restriction{discarded} pay({3}{B}) name(pay 3B to cast) activate name(pay 2G 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 Opulence
target=player
auto=@combat(attacking) source(creature|myBattlefield) restriction{once}: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 Verbosity
target=player
auto=@combat(attacking) source(creature|myBattlefield) restriction{once}:draw:1
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=player
auto=@combat(attacking) source(creature|myBattlefield)restriction{once}:life:2
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=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 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(Name a card from your hand) choice target(*|myhand) donothing && name(Game chooses a random card) if compare(cursedscrollresult)~equalto~1 then ability$!name(Deals 2 damages) name(Deals 2 damages) damage:2 target(player,creature,planeswalker)!$ 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=becomesmonarch 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=@combat(attacking) source(this):1/1 ueot
auto=@combat(attacking) source(this):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=Cyclopean Giant
auto=@movedTo(this|graveyard) from(battlefield):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=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=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[@combat(blocked,turnlimited) source(this):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}:target(creature) counter(1/1,-1) && transforms((,newability[target(another creature) counter(1/1,1)]))
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=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=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=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=@movedto(this|graveyard) from(battlefield):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 && discard(*|myhand)
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
auto=@sacrificed(Clue|mybattlefield):flip(Bearer of Overwhelming Truths)
text=When you sacrifice a Clue, transform Daring Sleuth.
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=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=@combat(attacking) source(this):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 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=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=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(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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=Dawnglade Regent
auto=becomesmonarch 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=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 the Returned
auto=@movedTo(enchantment|mystack):alterexperience:1 controller
auto={1}{W}{B}: token(Spirit,Creature Enchantment Spirit,[anyzone:type:alterexperience:mybattlefield/type:alterexperience:mybattlefield cdaactive],withe,black)
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 creatures 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=Daxoss 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=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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=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 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 its 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):_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
auto={1}{B}{T}{E(*|opponentgraveyard)} restriction{type(*|opponentgraveyard)~morethan~1}:moveto(exile) target(*|opponentgraveyard) && 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 revealend limit:1
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 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 Visit
target=creature
auto=destroy
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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'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=Deathbloom Thallid
auto=@movedTo(this|graveyard) from(battlefield):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=Deathgorge Scavenger
auto=may moveto(exile) target(*|graveyard)
auto=@combat(attacking) source(this):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=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=@movedTo(this|graveyard) from(battlefield):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=@combat(attacking) source(this):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=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
auto=transforms((,newability[pay[[{Draw:1 controller}]] name(Draw a card) donothing?moveTo(ownerHand) target(creature)])) oneshot
text=For each opponent, choose up to one target creature that player controls, then return that creature to its owners hand unless its controller has you draw a card.
mana={2}{U}
type=Instant
[/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=all(creature[squirrels]|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) transforms((,setpower=0,settoughness=4))
auto=teach(creature) defender
auto=teach(creature) loseabilities
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=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=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=Defense Grid
auto=restriction{during my turn}: lord(*|nonbattlezone) altercost(colorless,+3) opponent
auto=restriction{during opponent turn}: lord(*|nonbattlezone) altercost(colorless,+3) controller
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=Deliberate
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
auto=draw:1 controller
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=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=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=Demon Arc
abilities=flyng
type=Creature
subtype=Demon
power=5
toughness=5
color=black
[/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 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=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 owners graveyard.
mana={2}{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=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=_TREASURE_
text=Return target creature to its owner's hand. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
mana={2}{U}
type=Instant
[/card]
[card]
name=Deputized Protester
abilities=menace
auto=@combat(attacking) source(this):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=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=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=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=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
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
kicker=multi{R}{W}
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)~equalto~19 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 cant 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. Its 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 cant block this turn.
mana={2}{R}
type=Sorcery
[/card]
[card]
name=Detection Tower
auto={T}:add{C}
auto={1}{T}:lord(*[opponentshroud;controllershroud]|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=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 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=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=@combat(attacking) source(this):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=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=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=Devout Decree
target=creature[red,black],planeswalker[red,black]
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 @movedto(this|graveyard) from(battlefield):moveto(exile) && all(this) transforms((,newability[moveTo(ownerhand)]))
auto=soulbond @movedto(this|graveyard) from(battlefield):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=token(Devil,Creature Devil,4/4,red,unreath) with((,newability ((@movedto(this|graveyard) from(battlefield):token(Treasure,Artifact Treasure) and!( transforms((,newability[{T}{S}:Add{W}])(,newability[{T}{S}:Add{R}])(,newability[{T}{S}:Add{G}])(,newability[{T}{S}:Add{U}])(,newability[{T}{S}:Add{B}])) 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 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=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 players library. Put one back and the rest into that players graveyard.
mana={U}{B}
type=Instant
[/card]
[card]
name=Dimir Informant
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=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=@combat(attacking) source(this):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=@movedTo(this|graveyard) from(battlefield):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
auto=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 revealend limit:1
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(creature[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=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=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={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=Discordant Piper
auto=@movedTo(this|mygraveyard) from(Battlefield):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=myturnonly
aicode=ifnot paid(alternative) then surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)],newability[draw:1 controller])) ueot
auto=ifnot paid(alternative) then surveil && name(surveil) 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 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 && 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 owners 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=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=mustattack all(creature|opponentBattlefield) uynt
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=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 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=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=activate 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=Dockside Extortionist
auto=foreach(type:*[artifact,enchantment]:opponentbattlefield) token(435451)
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 Rin
type=Creature
subtype=Dog
power=1
toughness=1
color=white
[/card]
[card]
name=Domesticated Hydra
auto=this(cantargetcard(*[-monstrous]) {X}{G}{G}{G}:becomes(monstrous) forever && counter(1/1,X)
auto=aslongas(this[monstrous]|myBattlefield) trample
text={X}{G}{G}{G}: Monstrosity X. (If this creature isnt 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=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 players upkeep, that player sacrifices a nonland, nontoken permanent. If that player cant, 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
auto={L:2}:surveil && name(surveil) 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 revealend
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
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=@movedTo(this|graveyard) from(battlefield):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=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 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=@movedto(*[instant;sorcery]|myStack): castcard(copied noevent) target(*[instant;sorcery]|mystack)
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
other={2}{G} name(Dirty)
kicker={2}{G}
auto=if paid(alternative) then moveTo(myhand) target(*|mygraveyard)
auto=ifnot paid(alternative) then target(player) ability$!name(discard) target(<2>*|myhand) reject!$ targetedplayer
auto=kicker ifnot paid(alternative) then moveTo(myhand) target(*|mygraveyard)
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=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 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 creatures power." -- Equip {3}
mana={4}
type=Legendary Artifact
subtype=Equipment
[/card]
[card]
name=Dragon's Eye Savants
aicode=name(look) activate name(look) target(<ohandcount>*|opponenthand) donothing
facedown={3}
autofacedown={Reveal(<1>*[blue]|myHand)}:morph
autofaceup=target(opponent) name(target opponent) reveal:ohandcount revealzone(opponenthand) optionone name(look) target(<1>*|reveal) moveto(ownerhand) and!(all(*|reveal) moveto(ownerhand))! optiononeend revealend
text=MorphReveal 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 Dragons Eye Savants is turned face up, look at target opponents hand.
mana={1}{U}
type=Creature
subtype=Human Wizard
power=0
toughness=6
[/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=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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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=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=@combat(attacking) source(this):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=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 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}:all(this) moveTo(exile)
text=Enchant creature -- Enchanted creature cant attack or block. -- {2}{W}: Exile enchanted creature.
mana={2}{W}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Dreadhorde Arcanist
abilities=trample
auto=@combat(attacking) source(this):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=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 {1}
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 Eater
abilities=flash, flying
auto=moveTo(ownerHand) target(*[-land])
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus4plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus4plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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 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=@combat(attacking) source(this):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 opponents 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={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}:moveto(mybattlefield) && transforms((,unearth,haste)) asSorcery forever
auto=lord(sliver|mygraveyard) {2}:moveto(ownerbattlefield) and!( transforms((,unearth,haste)) 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=Drill Bit
target=player
auto=activate reject notatarget(*[-land]|targetedpersonshand) 
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=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 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=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 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 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=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=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=@movedto(this|mygraveyard) from(myBattlefield):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=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) becomes(evicttypes,evictpw/evictth) forever
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):_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]))
auto={1}{W}{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=Dutiful Servants
mana={3}{W}
type=Creature
subtype=Zombie
power=2
toughness=5
[/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 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={T}:add{R}
auto=aslongas(other land[mountain]|myBattlefield) tap(noevent) <3 oneshot
auto=if this(untapped) 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 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
auto=may scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=may 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=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=(other creature|myBattlefield) 3/3 && 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) target(creature,planeswalker) && scry:1 scrycore delayed dontshow donothing scrycoreend scryend
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=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=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=@combat(attacking) source(this):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):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=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=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=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 Cha
abilities=haste,treason
type=Creature
subtype=Elemental
power=3
toughness=3
color=red
[/card]
[card]
name=Elemental Hoo
abilities=flying
type=Creature
subtype=Elemental
power=4
toughness=4
color=white
[/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 Uprising
target=land|mybattlefield
auto=transforms(Land Creature Elemental,4/4,haste) with(newability[@combat(attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot]) ueot
text=Target land you control becomes a 4/4 Elemental creature with haste until end of turn. Its still a land. It must be blocked this turn if able.
mana={1}{G}
type=Instant
[/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=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 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=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=Elsha of the Infinite
abilities=prowess
auto=@movedTo(*[-creature]|mystack):1/1 ueot
abilities=showfromtoplibrary,canplayartifactlibrarytop,canplayinstantsorcerylibrarytop
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}) moveTo(mybattlefield) target(creature,planeswalker|mygraveyard) if type(creature|myGraveyard)~morethan~0 then all(this) counter(1/1,1) else counter(0/0.1.Loyalty) && 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) && 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 opponents graveyard.
mana={2}{B}
type=Enchantment
subtype=Saga
[/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) rolladie 6 winability lastrollresultminus1minusend/0 winabilityend loseability lastrollresultminus1minusend/0 loseabilityend rollend
auto=all(this) rolladie 6 winability 0/lastrollresultminus1minusend winabilityend loseability 0/lastrollresultminus1minusend loseabilityend rollend
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=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
anyzone=foreach(creature[attacking]|battlefield) changecost(colorless:-1) forcedalive
auto=aslongas(parents) rehook target(creature|mybattlefield) <1
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
other={1}{R}{R}{R} name(Adamant)
auto=if paid(alternative) then counter(1/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=canplayfromexile,adventure
other={R} name(Adventure)
auto=if paid(alternative) then target(artifact|battlefield) destroy
auto=if paid(alternative) then moveto(exile) all(this)
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=@combat(attacking) source(this):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=@combat(attacking) source(this):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=becomesmonarch 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=Emergence Zone
auto={T}:Add{C}
auto={1}{T}{S}:all(*|mycastingzone) 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=if compare(restriction{assorcery}~morethan~0) then 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[@combat(attacking) source(this):all(creature|opponentbattlefield) 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 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
autohand={0}:restriction{can play land} 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.
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}.
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 of Sunrise
abilities=first strike
auto=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 revealend limit:1
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
auto=@combatdamaged(player) from(this):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 revealend limit:1
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 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=Hound
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=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=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=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=creates
auto=trample ueot
auto=7/7 ueot
auto=transform((,newability[@combat(attacking) source(this): 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
auto=maxPlay(land)+1
auto=choice name(Target creature you control explores) name(Target creature you control explores) 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 revealend limit: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=Entourage of Trest
auto=becomesmonarch 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 creatures 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 its the first card you drew this turn.)
mana={X}{X}{B}{B}{B}
type=Sorcery
[/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 cant 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=if rebound then ability$!moveto(exile) all(Ephemerate|mystack)!$ controller
autoexile=@rebounded:may activate castcard(normal)
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(*[-Alhammarret's Archive;-Angel of Vitality]):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=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 isnt 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=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 cant 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. Etratas 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
autograveyard={1}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{1}{R},exile two) activate castcard(normal)
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=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=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 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=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 Estrids 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 owners control.
mana={2}{U}
type=Enchantment
[/card]
[card]
name=Etali, Primal Storm
auto=@combat(attacking) source(this):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=@combat(attacking) source(this):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 players 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=@combat(attacking) source(this):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=@combat(blocked,turnlimited) source(this):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=@combat(attacking) source(this):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 owners hand.
mana={4}{U}{U}
other={delve} name(Delve)
type=Creature
subtype=Elemental Whale
power=3
toughness=3
[/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=Eutropia the Twice-Favored
auto=@movedTo(enchantment|myBattlefield):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=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={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=@movedTo(land|myBattlefield):_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=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 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=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=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=Exiled Doomsayer
auto=lord(*[morph]|mycastingzone) altercost(colorless, +2)
auto=lord(*[morph]|opponentcastingzone) altercost(colorless, +2)
text=All morph costs cost {2} more. (This doesn't affect the cost to cast creature spells face down.)
mana={1}{W}
type=Creature
subtype=Human Cleric
power=1
toughness=2
[/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=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=@movedTo(this|myGraveyard) from(Battlefield):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 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
auto=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=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=Expose to Daylight
target=artifact,enchantment
auto=destroy
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=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
auto=damage:4 target(player,creature,planeswalker)
autostack=if type(*[instant;sorcery]|mygraveyard)~morethan~1 then nofizzle
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 cant be countered.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Exquisite Huntmaster
auto=@movedTo(this|graveyard) from(battlefield):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=Exuberant Wolfbear
auto=@combat(attacking) source(this):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=Eyeblight Cullers
auto=@movedTo(this|graveyard) from(battlefield):token(Elf Warrior,Creature Elf Warrior,1/1,green)*3
auto=@movedTo(this|graveyard) from(battlefield):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
auto={5}{U}:moveto(mybattlefield) target(*[-land]|opponentbattlefield) && moveto(opponentbattlefield) all(this)
auto=@each my upkeep: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=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:foreach(anyzone:alterexperience) counter(1/1,1) 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=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}:restriction{type(land|myBattlefield)~morethan~3} name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend
auto={T}{S}:restriction{type(land|myBattlefield)~lessthan~4} name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text={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=Facet Reader
auto={1}{T}:draw:1 controller && reject:1 controller
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=Fae of Wishes // Granted
abilities=canplayfromexile,flying,adventure
other={3}{U} name(Adventure)
auto=if paid(alternative) then reveal:type:*:mysideboard revealzone(mysideboard) optionone name(choose card) target(<1>*[-creature]|reveal) moveto(myhand) and!(all(other *|reveal) moveto(ownersideboard))! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownersideboard) and!(all(other *|reveal) moveto(ownersideboard))! optiontwoend revealend && moveto(exile) all(this)
auto={1}{U}{D(*|myhand)}{D(*|myhand)}: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) clone(creature[-token]|opponentBattlefield) with (transform[artifact]) then moveTo(exile all[other tokens creature]|myBattlefield)
text=Flying -- Whenever a nontoken creature enters the battlefield under an opponents control, create a token thats a copy of that creature except its 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=canplayfromexile,flying,adventure
other={1}{W} name(Adventure)
auto=if paid(alternative) then target(creature) transforms((,newability[flying],newability[2/1])) ueot
auto=if paid(alternative) then moveto(exile) all(this)
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
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=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:counter(1/1,1)])) ueot
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=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=Falconer Adept
auto=@combat(attacking) source(this):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=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 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=KickerSacrifice 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 Paladin
auto=doesnotuntap
auto=@lifeof(player) from(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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=@combat(attacking) source(this):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=Far // Away
other={2}{B} name(Away)
kicker={2}{B}
auto=if paid(alternative) then target(player) ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ targetedplayer
auto=ifnot paid(alternative) then moveto(ownerhand) target(creature)
auto=kicker ifnot paid(alternative) then target(player) ability$!name(sacrifice) 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=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=Fateful End
target=player,creature,plansewalker
auto=damage:3
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=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=@combat(attacking) source(this):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=@movedTo(enchantment|myBattlefield):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=Feast of Succession
auto=becomesmonarch 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(-473141)
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 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=Feisty Stegosaurus
auto=name(Choose creature and roll a die) name(Choose creature and roll a die) target(creature|opponentBattlefield) rolladie 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rollend
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=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 Pheasant
target=creature[flying]
auto=damage:5
auto=token(-473141)
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 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=@movedTo(this|graveyard) from(battlefield):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=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 Mummy
auto=@movedTo(this|graveyard) from(battlefield):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=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=Fibrous Entangler
abilities=vigilance
auto=@combat(attacking) source(this):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 of Ruin
auto={T}:Add{1}
auto={2}{T}{S}:destroy target(land[-basic]|opponentlbattlefield) && moveto(mybattlefield) target(basic|mylibrary) && ability$!moveto(mybattlefield) target(basic|mylibrary)!$ 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 {1}
auto=aslongas(land|myBattlefield) create(zombie:creature zombie:2/2:black) >7
auto=aslongas(land|myBattlefield) @movedTo(land|myBattlefield):create(zombie:creature zombie:2/2:black) >7
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=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=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(-473141)
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 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=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=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) haste
auto=this(X>=10) all(creature|myBattlefield) +x/+x
auto=moveTo(myBattlefield) target(creature[manacost<=X]|myLibrary,myGraveyard)
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=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 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=@combat(attacking) source(this):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=@movedTo(this|mygraveyard) from(battlefield):name(Damage any target) name(Damage any target) target(player,creature,planeswalker) dynamicability<!powerstrike!> oneshot
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=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=@combat(attacking) source(this):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=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
auto=life:-1
autograveyard={2}{B}:moveto(mybattlefield) && transforms((,unearth,haste)) asSorcery forever
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=Horror
power=5
toughness=4
[/card]
[card]
name=Fish Reef
auto=@movedTo(this|mygraveyard) from(myBattlefield):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=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=Fist of Suns
auto=lord(*|myrestrictedcastingzone) transforms((,newability[{W}{U}{B}{R}{G}:name(Pay with 5 colors mana) name(Pay with 5 colors mana) activate castcard(normal)]))
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=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 Spill
target=creature
auto=this(toughness=1) damage:1 && damage:3 targetController
auto=this(toughness=2) damage:2 && damage:2 targetController
auto=this(toughness=3) damage:3 && damage:1 targetController
auto=this(toughness>=4) damage:4
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=@combat(attacking) source(this):clone((other creature[attacking;tapped]) with(unearth,haste[attacking]))
text=Whenever Flamerush Rider attacks, create a token thats a copy of another target attacking creature and thats 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 its returned from the battlefield to its owners 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 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=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 spells 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=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=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=canplayfromexile,adventure
other={5}{G}{G} name(Adventure)
auto=if paid(alternative) then token(Bear,Creature Bear,2/2,green)*3 && moveto(exile) all(this)
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=Fleet Swallower
auto=@combat(attacking) source(this):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|mybattlefield
other={R}{G} name(Blood)
kicker={R}{G}
auto=if paid(alternative) then transforms((,newability[target(player,creature|opponentbattlefield) dynamicability<!powerstrike!>])) forever
auto=kicker ifnot paid(alternative) then transforms((,newability[target(player,creature|opponentbattlefield) dynamicability<!powerstrike!>])) forever
auto=ifnot paid(alternative) then counter(1/1,storedpower) target(creature)
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=Flicker of Fate
target=creature,enchantment|mybattlefield
auto=(blink)
text=Exile target creature or enchantment, then return it to the battlefield under its owners 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=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=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=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=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 cant block this combat.
mana={3}{R}
type=Creature
subtype=Cyclops
power=4
toughness=4
[/card]
[card]
name=Flusterstorm
abilities=storm
target=instant,sorcery|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=Flycatcher Giraffid
auto=this(counter{0/0.1.Vigilance}>=1) vigilance
auto=this(counter{0/0.1.Reach}>=1) reach
auto=choice name(Flying) counter(0/0,1,Vigilance)
auto=choice name(First Strike) 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=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 dont 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=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=@movedTo(this|graveyard) from(battlefield):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=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
auto=fizzleto(exile)
other={E(other *[blue]|myhand)} name(Exile a Blue Card from Hand)
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 Vigor
other={E(*[green]|myhand)} name(Exile a Green Card from Hand)
auto=destroy target(<upto:2>*[artifact,enchantment]|battlefield)
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
other={E(*[white]|myhand)}
abilities=flash
auto=all(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
other={B}{B}{B} name(Adamant)
auto=if paid(alternative) then token(-473141)
target=player
auto=draw:2
auto=life:-2
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(mysideboard) 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(mysideboard) 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(mysideboard) 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=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=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
[/card]
[card]
name=Fortifying Provisions
auto=lord(creature|myBattlefield) 0/1
auto=token(-473141)
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=Foulmire Knight // Profane Insight
abilities=canplayfromexile,deathtouch,flash,adventure
restriction=myturnonly
other={2}{B} name(Adventure)
auto=if paid(alternative) then draw:1 controller && life:-1 controller && moveto(exile) all(this)
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=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=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=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 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=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=@damaged(this):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]))
auto={1}{W}{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=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=@combat(blocked,turnlimited) source(this):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=@combat(attacking) source(this):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 Titan
auto=@targeted(this) from(opponent):transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot
auto=frozen target(*)
auto=@combat(attacking) source(this): frozen target (*)
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 doesnt untap during its controllers next untap step.
mana={4}{U}{U}
type=Creature
subtype=Giant
power=6
toughness=6
[/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
autograveyard={3}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{B},exile three) activate castcard(normal)
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=counter(0/0,1,Trample)
auto=transforms((,newability[this(counter{0/0.1.Trample}>=1) trample]))
text=Target creature gets +3/+3 until end of turn. Put a trample counter on it.
mana={2}{G}
type=Instant
[/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 {1}
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=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 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=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=@targeted(creature|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
auto=@targeted(creature|opponentstack) from(instant|myzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|myzones) fizzle
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=@combat(attacking) source(this): all(creature|opponentbattlefield) mustblock ueot
text=Gaeas 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 Gaeas Touch: Add {G}{G}.
mana={G}{G}
type=Enchantment
[/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=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=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=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}:reject controller && 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=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=@movedTo(this|graveyard) from(battlefield):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=@combat(attacking) source(this):all(other creature[attacking]) 1/0 ueot
suto=all(this) rolladie winability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend loseabilityend rollend
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) rolladie 6 winability damage:lastrollresult opponent winabilityend loseability damage:lastrollresult opponent loseabilityend rollend
auto=if type(planeswalker|battlefield)~morethan~0 then choice name(Damage planeswalker) target(planeswalker) rolladie 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rollend
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=canplayfromexile,flash,adventure
restriction=myturnonly
other={1}{G} name(Adventure)
auto=if paid(alternative) then target(creature|battlefield) 2/2 ueot
auto=if paid(alternative) then moveto(exile) all(this)
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
other={2}{G}{G}{G} name(Adamant)
auto=if paid(alternative) then counter(1/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):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=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=@movedto(this|graveyard) from(battlefield):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=@combat(attacking) source(this):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=@damaged(player,planeswalker) from(this):reveal:power optionone name(Get a creature or a Garruk) target(<upto:1>*[creature;Garruk]|reveal) moveto(myHand) optiononeend optiontwo name(put on bottom) 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=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 cant 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=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=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=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={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=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 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=@movedto(land|myBattlefield):name(Choose one) ability$!name(Choose one) choice name(Goad opponent creatures) mustattack all(creature|opponentBattlefield) uynt _ choice name(Goad your creatures) mustattack all(creature|myBattlefield) uynt!$ 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=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=@movedTo(this|graveyard) from(battlefield):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
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, Conclave Exile
auto=token(Rhino,Creature Rhino,4/4,green,trample)
auto=@combat(attacking) restriction{type(creature[token]|mybattlefield)~morethan~0}:ability$! name(populate) clone notatarget(creature[token]|mybattlefield) 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=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=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=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 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={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=Giant Killer // Chop Down
abilities=canplayfromexile,flash,adventure
restriction=myturnonly
other={2}{W} name(Adventure)
auto=if paid(alternative) then target(creature[power>=4]) destroy
auto=if paid(alternative) then moveto(exile) all(this)
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(-473141)*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 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
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 Skewer
auto={3}:equip
auto=teach(creature) 2/1
auto=teach(creature) @combatdamaged(creature) from(mytgt):token(-473141)
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(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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
auto=choice name(Don't replicate) ability$!name(Tap 1 permanent) name(Tap 1 permanent) target(*) tap(noevent)!$ controller
auto=choice name(Replicate 1 time) ability$!name(Tap 2 permanents) pay[[{U}]] name(Tap 2 permanents) target(<2>*) tap(noevent)!$ controller
auto=choice name(Replicate 2 times) ability$!name(Tap 3 permanents) pay[[{U}{U}]] name(Tap 3 permanents) target(<3>*) tap(noevent)!$ controller
auto=choice name(Replicate 3 times) ability$!name(Tap 4 permanents) pay[[{U}{U}{U}]] name(Tap 4 permanents) target(<4>*) tap(noevent)!$ controller
auto=choice name(Replicate 4 times) ability$!name(Tap 5 permanents) pay[[{U}{U}{U}{U}]] name(Tap 5 permanents) target(<5>*) tap(noevent)!$ controller
auto=choice name(Replicate 5 times) ability$!name(Tap 6 permanents) pay[[{U}{U}{U}{U}{U}]] name(Tap 6 permanents) target(<6>*) tap(noevent)!$ controller
auto=choice name(Replicate 6 times) ability$!name(Tap 7 permanents) pay[[{U}{U}{U}{U}{U}{U}]] name(Tap 7 permanents) target(<7>*) tap(noevent)!$ controller
auto=choice name(Replicate 7 times) ability$!name(Tap 8 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}]] name(Tap 8 permanents) target(<8>*) tap(noevent)!$ controller
auto=choice name(Replicate 8 times) ability$!name(Tap 9 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 9 permanents) target(<9>*) tap(noevent)!$ controller
auto=choice name(Replicate 9 times) ability$!name(Tap 10 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 10 permanents) target(<10>*) tap(noevent)!$ controller
auto=choice name(Replicate 10 times) ability$!name(Tap 11 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 11 permanents) target(<11>*) tap(noevent)!$ controller
auto=choice name(Replicate 11 times) ability$!name(Tap 12 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 12 permanents) target(<12>*) tap(noevent)!$ controller
auto=choice name(Replicate 12 times) ability$!name(Tap 13 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 13 permanents) target(<13>*) tap(noevent)!$ controller
auto=choice name(Replicate 13 times) ability$!name(Tap 14 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 14 permanents) target(<14>*) tap(noevent)!$ controller
auto=choice name(Replicate 14 times) ability$!name(Tap 15 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 15 permanents) target(<15>*) tap(noevent)!$ controller
auto=choice name(Replicate 15 times) ability$!name(Tap 16 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 16 permanents) target(<16>*) tap(noevent)!$ controller
auto=choice name(Replicate 16 times) ability$!name(Tap 17 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 17 permanents) target(<17>*) tap(noevent)!$ controller
auto=choice name(Replicate 17 times) ability$!name(Tap 18 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 18 permanents) target(<18>*) tap(noevent)!$ controller
auto=choice name(Replicate 18 times) ability$!name(Tap 19 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 19 permanents) target(<19>*) tap(noevent)!$ controller
auto=choice name(Replicate 19 times) ability$!name(Tap 20 permanents) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Tap 20 permanents) target(<20>*) tap(noevent)!$ 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 Cerodon
auto=@combat(attacking) source(this):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(-473141)
auto={1}{G}{T}:token(-473141)
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-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={T}:add{G}
auto=aslongas(other land[forest]|myBattlefield) tap(noevent) <3 oneshot
auto=if this(untapped) token(-473141) 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=Gishath, Sun's Avatar
abilities=vigilance, trample, haste
auto=@combatdamaged(player) from(this):
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
other={2}{U} name(Take)
kicker={2}{U}
auto=if paid (alternative) then foreach(counter{1/1.1}) draw:1 && removeallcounters(1/1)
auto=ifnot paid(alternative) then counter(1/1,3)
auto=kicker ifnot paid(alternative) then foreach(counter{1/1.1}) draw:1 && removeallcounters(1/1)
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=choice name(protection from white) {T}:target(creature|myBattlefield) protection from white
auto=choice name(protection from blue) {T}:target(creature|myBattlefield) protection from blue
auto=choice name(protection from black) {T}:target(creature|myBattlefield) protection from black
auto=choice name(protection from red) {T}:target(creature|myBattlefield) protection from red
auto=choice name(protection from green) {T}:target(creature|myBattlefield) protection from green
auto=choice name(protection from colorless) {T}: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 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
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 its not their turn, that player draws a card.
mana={2}{G}
type=Creature
subtype=Beast
power=2
toughness=4
[/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=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
autohand={0}:restriction{can play land} 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.
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}.
type=Land
[/card]
[card]
name=Gleaming Barrier
abilities=defender
auto=@movedTo(this|graveyard) from(battlefield):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=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
autograveyard={2}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{2}{U},exile five) activate castcard(normal)
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=Glint-Horn Buccaneer
abilities=haste
auto=@discard(controller):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=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=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=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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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={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(-473141)
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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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 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=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
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=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 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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=KickerSacrifice 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]) rolladie 6 winability damage:lastrollresult winabilityend loseability damage:lastrollresult loseabilityend rollend
auto=@damageof(player) from(this):all(this) rolladie 6 winability damage:lastrollresult controller winabilityend loseability damage:lastrollresult controller loseabilityend rollend
auto=@damagefoeof(player) from(this):all(this) rolladie 6 winability damage:lastrollresult opponent winabilityend loseability damage:lastrollresult opponent loseabilityend rollend
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=@combat(attacking) source(this):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 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 Locksmith
auto=@combat(attacking) source(this):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 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=@combat(attacking) source(this):may name(Goad creature) target(creature|opponentBattlefield) transforms((,newability[mustattack])) uynt
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 Test Pilot
abilities=flying
auto={T}:all(this) rolladie 6 winability counter(0/0,1,GoblinEffect) winabilityend loseability counter(0/0,1,GoblinEffect) loseabilityend rollend
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 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 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=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=God-Eternal Bontu
abilities=menace
auto=may name(Sacrifice permanents) target(<anyamount>other *|mybattlefield) sacrifice && draw:1 controller
auto=@movedto(this|graveyard) from(myBattlefield):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=@movedto(this|graveyard) from(myBattlefield):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=@movedto(this|graveyard) from(myBattlefield):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=@movedto(this|graveyard) from(myBattlefield):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=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 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 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 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=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=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=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=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
aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(<upto:1>*[land]|myLibrary)
auto=name(search land) reveal:plibrarycount optionone name(choose card) target(<upto:1>*[land]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto={2}{W}{U}{B}{R}{G}:moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos<=3]|mylibrary) castcard(normal)
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=@combat(attacking) source(this):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=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=@combat(attacking) source(this):all(creature[power>=4]|myBattlefield) 1/1 ueot
auto=@combat(attacking) source(this):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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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 moveto(myhand) notatarget(Virtus the Veiled|mylibrary) and!(shuffle)!
auto=@combat(attacking) source(this):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=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=@combat(attacking) source(this): 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=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
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=Gravebreaker Lamia
abilities=lifelink,hiddenface
auto=activate 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=@combat(attacking) source(this):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=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 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=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=Grazing Whiptail
abilities=reach
text=Reach
mana={2}{G}{G}
type=Creature
subtype=Dinosaur
power=3
toughness=4
[/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=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, Havoc Raiser
auto=@combatdamagefoeof(player) from(creature|mybattlefield) restriction{type(creature|opponentBattlefield)~morethan~0}:name(Goad creature) name(Goad creature) target(creature|opponentBattlefield) transforms((,newability[mustattack])) uynt
auto=@combatdamagefoeof(player) from(creature|mybattlefield) restriction{type(creature|opponentBattlefield)~equalto~0}:name(Exile top card) 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}:name(Goad creature) name(Goad creature) target(creature|myBattlefield) transforms((,newability[mustattack])) uynt
auto=@combatdamageof(player) from(creature|mybattlefield) restriction{type(creature|mybattlefield)~equalto~0}:name(Exile top card) 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=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=@combat(attacking) source(this):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=Greven, Predator Captain
abilities=menace
auto=life:lifelost/0
auto=@combat(attacking) source(this):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=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 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 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=@movedTo(this|mygraveyard) from(Battlefield):-1/-1 target(creature|opponentGraveyard) 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=Grimclimb Pathway
auto={T}:add{B}
text={T}: Add {B}.
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 & Deathtouch) counter(0/0,1,Menace) && counter(0/0,1,Deathtouch)
auto=choice name(Menace & Lifelink) counter(0/0,1,Deathtouch) && counter(0/0,1,Lifelink)
auto=choice name(Lifelink & Deathtouch) 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
auto=draw:1 controller
auto=if type(*|opponentGraveyard)~lessthan~10 then ability$!name(Choose one) choice name(Exile all cards from graveyard) all(*|mygraveyard) moveto(exile) _ choice name(Counter your spell) target(*|mystack) fizzle!$ opponent
auto=if type(*|opponentGraveyard)~morethan~9 then ability$!name(Choose one) choice name(Counter your spell) target(*|mystack) fizzle _ choice name(Exile all cards from graveyard) all(*|mygraveyard) moveto(exile)!$ opponent
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=Grotag Bug-Catcher
abilities=trample
auto=@combat(attacking) source(this):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) rolladie 6 winability lastrollresult/lastrollresult ueot winabilityend loseability lastrollresult/lastrollresult ueot loseabilityend rollend
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) rolladie 6 winability lastrollresult/lastrollresult ueot winabilityend loseability lastrollresult/lastrollresult ueot loseabilityend rollend
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=@combat(attacking) source(this):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=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=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=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=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=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
auto=may name(Exploit) sacrifice notatarget(creature|mybattlefield) && name(look) reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo name(put in graveyard) target(<4>*|reveal) moveto(graveyard) optiontwoend afterrevealed afterrevealedend 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=@combat(attacking) source(this):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=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): copy target(creature[~lessthan~storedpower]|myGraveyard) with(unearth,haste[attacking]) && moveTo(exile) targe(creature[~lessthan~storedpower]|myGraveyard)
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 thats a copy of that card and thats 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=type(land|mygraveyard)~morethan~9999
auto=lord(knight|mygraveyard) canPlayFromGraveyard
auto=@movedTo(this|graveyard) from(battlefield):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=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}: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=Hagra Broodpit
auto=tap(noevent)
auto={T}:add{B}
text=Hagra Broodpit enters the battlefield tapped. -- {T}: Add {B}.
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
anyzone=this(variable{type:land[basic]:opponenthand}<1) changecost(colorless:-1) forcedalive
autohand={0}:restriction{can play land} name(Hagra Broodpit) name(Hagra Broodpit) flip(Hagra Broodpit) forcetype(land)
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.
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=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
aicode=activate moveTo(myhand) target(Pako^ Arcane Retriever|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Pako^ Arcane Retriever|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Pako^ Arcane Retriever|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=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 of Heliod's Generosity
auto={T}:add {1}
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 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 Priest
auto=@lifeof(player) from(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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=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=Hammer Dropper
abilities=mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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) rolladie 6 winability lastrollresult/0 ueot winabilityend loseability lastrollresult/0 ueot loseabilityend rollend],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) rolladie 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rollend
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 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=Hans Eriksson
auto=@combat(attacking) source(this):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=Hard Cover
target=creature
auto=0/2
auto=teach(creature) {T}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever
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=Hardened Berserker
auto=@combat(attacking) source(this):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=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 by Force
kicker=multi{2}{R}
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],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],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],haste)) ueoteot
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],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],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],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],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],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],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],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],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],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],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],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],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],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],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],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],haste)) ueot
auto=if compare(kicked)~equalto~19 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],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=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=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(treason,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=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=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) 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(2/0 && 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 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=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=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=@combat(attacking) source(this):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=Kiri
power=2
toughness=2
[/card]
[card]
name=Heightened Reflexes
target=creature
auto=1/0 ueot
auto=counter(0/0,1,First Strike)
auto=transforms((,newability[this(counter{0/0.1.First Strike}>=1) first strike]))
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=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.First Strike}>=1) first strike
auto=choice name(Flying) counter(0/0,1,Flying)
auto=choice name(First Strike) counter(0/0,1,First Strike)
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 -- Heliods Punishment enters the battlefield with four task counters on it. -- Enchanted creature cant attack or block. It loses all abilities and has {T}: Remove a task counter from Heliods Punishment. Then if it has no task counters on it, destroy Heliods 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(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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 isnt 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=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=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=@combat(attacking) source(this):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) @each my combatbegins:clone(mytgt) with (haste,-legendary)
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
other={W}{W}{W} name(Adamant White)
other={U}{U}{U} name(Adamant Blue)
other={R}{R}{R} name(Adamant Red)
other={G}{G}{G} name(Adamant Green)
other={B}{B}{B} name(Adamant Black)
auto=if paid(alternative) then counter(1/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=Herald of Faith
abilities=flying
auto=@combat(attacking) source(this):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 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 Heralds 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 its 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=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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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(Human,Her)
auto=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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 cant 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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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=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=Hinder
target=*|stack
auto=choice name(Put on top) fizzleto(librarytop)
auto=choice name(Put on bottom) fizzleto(librarytop) and!( all(*[zpos=1]|opponentlibrary) bottomoflibrary )! 
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=*|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
auto=@each upkeep restriction{lastturn(*|stack)~lessthan~1}:flip(Hinterland Scourge)
text=At the beginning of each upkeep, if no spells were cast last turn, transform Hinterland Hermit.
mana={1}{R}
type=Creature
subtype=Human Werewolf
power=2
toughness=1
[/card]
[card]
name=Hinterland Scourge
auto=@each upkeep restriction{lastturn(*|stack)~morethan~1}:flip(Hinterland Hermit)
auto=@combat(attacking) source(this):all(creature|opponentbattlefield) 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.
type=Creature
subtype=Werewolf
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 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=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=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=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=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 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=@combat(attacking) source(this):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=@combat(attacking) source(this):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=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=Horizon Stone
auto=mypoolsave(red)
auto=mypoolsave(white)
auto=mypoolsave(black)
auto=mypoolsave(green)
auto=mypoolsave(blue)
auto=mypoolsave(artifact)
auto=mypoolsave(land)
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=target(creature[-human]|myBattlefield) transforms((,newability[counter(0/0,1,Trample)],newability[this(counter{0/0.1.Trample}>=1) trample]))
auto={1}{W}{T}:counter(1/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
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 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=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
kicker=multi{1}{U}
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) moveto(ownerexile) target(creature) 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) moveto(ownerexile) target(<upto:2>creature) 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) moveto(ownerexile) target(<upto:3>creature) 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) moveto(ownerexile) target(<upto:4>creature) 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) moveto(ownerexile) target(<upto:5>creature) 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) moveto(ownerexile) target(<upto:6>creature) 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) moveto(ownerexile) target(<upto:7>creature) 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) moveto(ownerexile) target(<upto:8>creature) 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) moveto(ownerexile) target(<upto:9>creature) 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) moveto(ownerexile) target(<upto:10>creature) 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) moveto(ownerexile) target(<upto:11>creature) 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) moveto(ownerexile) target(<upto:12>creature) 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) moveto(ownerexile) target(<upto:13>creature) 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) moveto(ownerexile) target(<upto:14>creature) 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) moveto(ownerexile) target(<upto:15>creature) 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) moveto(ownerexile) target(<upto:16>creature) 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) moveto(ownerexile) target(<upto:17>creature) 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) moveto(ownerexile) target(<upto:18>creature) 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) moveto(ownerexile) target(<upto:19>creature) and!(token(Sphinx,Creature Sphinx,4/4,blue,flying) targetcontroller)!
auto=if compare(kicked)~equalto~19 then name(choose 20 creatures) name(choose 20 creatures) moveto(ownerexile) target(<upto:20>creature) 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,myGraveyard) 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) freeze
auto={2}{B}{T}:surveil && name(surveil) 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 revealend
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
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=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=@combat(attacking) source(this):draw:1
auto=@combat(blocking) source(this):draw:1
auto=@combat(attacking) source(this):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=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=Human,Com
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,Els
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,Her
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,Ome
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,Rev
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,Sio
type=Creature
subtype=Human Soldier
power=1
toughness=1
color=white
[/card]
[card]
name=Human,The
type=Creature
subtype=Human Soldier
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=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=@damaged(this):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=Hunt Down
target=creature
auto=mustblock ueot
text=Target creature blocks target creature this turn if able.
mana={G}
type=Sorcery
[/card]
[card]
name=Hunted Nightmare
abilities=menace
auto=notatarget(creature[-human]) transforms((,newability[counter(0/0,1,Deathtouch)],newability[this(counter{0/0.1.Deathtouch}>=1) deathtouch])) 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=@movedTo(this|graveyard) from(battlefield):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=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={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=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 Hydras 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) rolladie 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rollend
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 Hound
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}:fizzle target(*|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}:fizzle target(*|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=Hypergenesis
color=green
restriction=turn:200
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=canplayfromexile,flying,flash,adventure
restriction=myturnonly
other={2}{U} name(Adventure)
auto=if paid(alternative) then target(*[manacost<=3]|stack) fizzle
auto=if paid(alternative) then moveto(exile) all(this)
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-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=Icehide Golem
other={i}
restriction=type(*|myHand)~morethan~9999
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=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=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=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={T}:add{W}
auto=aslongas(other land[plain]|myBattlefield) tap(noevent) <3 oneshot
auto=if this(untapped) 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=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=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 creatures 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=@combat(attacking) source(this):target(creature|myhand) transforms((,newability[phaseaction[endofturn once] moveTo(hand)],newability[ninjutsu])) forever
auto=@movedto(this|graveyard) from(myBattlefield):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
target=creature
auto=damage:X
other={X}{2}{R}{R} name(Kicker {2}{R})
auto=if paid(alternative) then damage:X targetcontroller
kicker={3}{U}
auto=kicker ifnot paid(alternative) then draw:X controller
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=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={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=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=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=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=@movedTo(this|graveyard) from(battlefield):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=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 creatures 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=@damaged(this):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=@movedTo(this|graveyard) from(battlefield):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=@combat(attacking) source(this):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) name(Put partner on your hand) moveto(myhand) target(*[Proud Mentor]|mylibrary)
auto=@combat(attacking) source(this):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=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:create(Faerie:creature Faerie:1/1:blue:flying)])) ueot
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=Impulsive Pilferer
auto=@movedTo(this|graveyard) from(battlefield):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=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=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 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=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=@combat(attacking) source(this):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 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 upkeepPay {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 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 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=@combat(attacking) source(this):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 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=@combat(attacking) source(this):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=Infinity Elemental
text=(This creature has INFINITE POWER.)
mana={4}{R}{R}{R}
type=Creature
subtype=Elemental
power=999999
toughness=5
[/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=Infuriate
auto=3/2 target(creature) ueot
text=Target creature gets +3/+2 until end of turn.
mana={R}
type=Instant
[/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=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=Inhumaniac
auto=@each my upkeep:rolladie 6 winability donothing winabilityend rollend
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[@movedto(this|graveyard) from(battlefield):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[@movedto(this|graveyard) from(battlefield):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=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
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
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
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={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(Put two +1/+1 counters) name(Put two +1/+1 counters) counter(1/1,2) target(creature)!$ controller
auto=if paid(kicker) then ability$!name(Gain life equal to power) name(Gain life equal to power) target(player) life:power:highest:*:targetedpersonsbattlefield!$ controller
auto=if paid(kicker) then name(Target creature fights) name(Target creature fights) target(creature|myBattlefield) transforms((,newability[target(creature|opponentBattlefield) dynamicability<!powerstrike eachother!>])) ueot
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}
auto=if paid(kicker) then ability$!name(Reveal) reveal:2 optionone name(Put On Top) target(<upto:2>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed name(Return 2 creatures to owner hand) moveTo(ownerHand) target(<upto:2>creature) afterrevealedend revealend !$ controller
auto=if paid(kicker) then ability$!name(Choose one) choice name(You create an X/X Illusion) name(You create an X/X Illusion) token(Illusion,Creature Illusion,phandcount/phandcount,blue) && draw:2 controller _ choice name(Opponent creates an X/X Illusion) name(Opponent creates an X/X Illusion) token(Illusion,Creature Illusion,ohandcount/ohandcount,blue) opponent && draw:2 controller!$ controller
auto=ifnot paid(kicker) then choice name(Return 2 creatures to owner hand) name(Return 2 creatures to owner hand) moveTo(ownerHand) target(<upto:2>creature)
auto=ifnot paid(kicker) then choice name(Scry 2 and draw 2 cards) name(Scry 2 and draw 2 cards) reveal:2 optionone name(Put On Top) target(<upto:2>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed transforms((,newability[draw:2 controller])) oneshot afterrevealedend revealend
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) 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) 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) 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(*|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=Inspire Awe
auto=preventAllcombatDamage(-creature[aura>=1],-Enchantment Creature) ueot
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 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 Unicorn
auto=@combat(attacking) source(this):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=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={R or W}
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=*[instant;sorcery]|stack
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=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=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,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=@drawof(player):transforms((,newability[@drawof(player) once:damage:3 target(player,creature,planeswalker)])) ueot
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 Iroass 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=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[@combat(attacking) source(this):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=@combat(attacking) source(this):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)
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}
auto={2}{T}:scry:1 scrycore delayed target(land[zpos<=1]|mylibrary) moveto(mybattlefield) and!(tap(noevent))! scrycoreend scryend restriction{type(land|opponentbattlefield)~morethan~1}
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=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
auto=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 revealend limit:1
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=Izoni, Thousand-Eyed
auto=foreach(creature|mygraveyard) create(insect:creature insect:1/1:black,green:)
auto={B}{G}{S(othercreature|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 then reject:2 target(*|myhand)
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
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
auto={T}:draw:1 controller && ability$!name(Discard a card) reject notatarget(*|myhand)!$ controller restriction{type(*|mygraveyard)~lessthan~4}
auto={T}:draw:1 controller && ability$!name(Discard a card) reject notatarget(*|myhand)!$ controller && moveto(exile) and!( moveto(mybattlefield) and!( haste && counter(0/0,5,Loyalty) && flip(Jace^ Telepath Unbound) )! )! restriction{type(*|mygraveyard)~morethan~3}
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.
mana={1}{U}
type=Legendary Creature
subtype=Human Wizard
power=0
toughness=2
[/card]
[card]
name=Jack-in-the-Mox
auto={T}:all(this) rolladie 6 winability counter(0/0,1,JackEffect) winabilityend loseability counter(0/0,1,JackEffect) loseabilityend rollend
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=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=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[blue;black;red;green;white]|mybattlefield)~morethan~0
auto=if type(creature[blue]|mybattlefield)~morethan~0 then choice name(Counter blue spell) target(*[blue]|stack) fizzle
auto=if type(creature[black]|mybattlefield)~morethan~0 then choice name(Counter black spell) target(*[black]|stack) fizzle
auto=if type(creature[red]|mybattlefield)~morethan~0 then choice name(Counter red spell) target(*[red]|stack) fizzle
auto=if type(creature[green]|mybattlefield)~morethan~0 then choice name(Counter green spell) target(*[green]|stack) fizzle
auto=if type(creature[white]|mybattlefield)~morethan~0 then choice 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=Jadelight Ranger
auto=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 revealend limit:1
auto=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 revealend limit:1
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 its 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=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=becomesmonarch opponent
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=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=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
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) transforms((,newability[mustattack])) uynt
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=Jeska's Will
auto=choice name(Add Red mana) foreach(*|opponenthand) add{R}
auto=choice name(Exile 3 cards) moveto(exile) and!( transforms((,canplayfromexile)) ueot )! all(*[zpos<=3]|mylibrary)
auto=if type(*[iscommander]|mybattlefield)~morethan~0 then choice name(Choose both) name(Choose both) moveto(exile) and!( transforms((,canplayfromexile])) ueot )! all(*[zpos<=3]|mylibrary) && 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=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's Familiar
abilities=flying
auto=lord(*[artifact;legendary;saga]|mystack|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, 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 youve 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 with 5 colors mana) name(Pay with 5 colors mana) activate castcard(normal)]))
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=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=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:token(Cat Jol)])) oneshot
auto={4}{G}{G}: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=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=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) rolladie 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rollend
auto=@each my upkeep:all(this) rolladie 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rollend
auto=@each my endofturn:all(this) rolladie 6 winability counter(1/1,-lastrollresult) winabilityend loseability counter(1/1,-lastrollresult) loseabilityend rollend
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=Juri, Master of the Revue
auto=@sacrificed(*|mybattlefield):counter(1/1) all(this)
auto=@movedTo(this|graveyard) from(Battlefield):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
autohand={0}:restriction{can play land} 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}.
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}.
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}.
type=Land
[/card]
[card]
name=Kabira Takedown
autohand={0}:restriction{can play land} 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.
mana={1}{W}
type=Instant
[/card]
[card]
name=Kadena's Silencer
autofaceup=fizzle all(*|stack) target(opponent)
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=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=Kalemne, Disciple of Iroas
abilities=double strike, vigilance
auto=@movedto(creature[manacost>=5]|mystack):alterexperience:1 controller
auto=foreach(anyzone:alterexperience) 1/1
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, Traitor of Ghet
abilities=lifelink
auto=@movedto(creature[token]|opponentbattlefield):all(trigger[to]) moveTo(exile) && token(Zombie,Creature Zombie,2/2,black)
auto={2}{B}{S(other creature[vampire;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=@combat(attacking) source(this):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 
abilities=flying,vigilance
auto=@combat(attacking) source(this):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 its an enchanted creature or enchantment creature, it also gains hexproof and indestructible until end of turn. (It cant be the target of spells or abilities your opponents control. Damage and effects that say destroy dont destroy it.)
mana={W}
type=Instant
[/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=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=Hound
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=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 creatures 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 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
autohand={0}:restriction{can play land} 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.
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}.
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}.
type=Land
[/card]
[card]
name=Kazuul's Fury
autohand={0}:restriction{can play land} 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.
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 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=Keensight Mentor
auto=newability[counter(0/0,1,Vigilance) && (vigilance)forever target(creature[-human]|myBattlefield)]
auto={1}{W}{T}:counter(1/1,1) all(creature[vigilance]|myBattlefield)
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=@targeted(*|mybattlefield) from(stak)
target=*|stak
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=becomesmonarch 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=Kefnet the Mindful
abilities=flying, indestructible
auto=aslongas(*|myhand) cantattack <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(-1,colorless)
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=@combat(attacking) source(this):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=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
anyzone=type:alterexperience:nonbattlezone/type:alterexperience:nonbattlezone cdaactive
auto={T}:damage:1 target(creature|opponentBattlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):alterexperience:1 controller
text=Vigilance, haste -- Kelsien, the Plague gets +1/+1 for each experience counter you have. -- {T}: Kelsien deals 1 damage to target creature you dont 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}:target(instant,sorcery|mygraveyard) tempflashback ueot myTurnOnly limit:1
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=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
autohand={0}:restriction{can play land} 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.)
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}.
type=Land
[/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=@combat(blocked,turnlimited) source(this):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=@combat(attacking) source(this):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 moveto(myhand) notatarget(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=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=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(treason,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=activatechooseatype all(creature[chosentype]|mybattlefield) transforms((,newability[target(creature[share!types!]|mylibrary) moveto(mybattlefield) and! shuffle )!])) oneshot activatechooseend
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 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
auto=@tappedformana(*[-land]|myBattlefield):ability$! choice add{1} _ choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller
aicode=activate target(creature[-human;zpos<=5]|mylibrary) moveto(mybattlefield)
auto={5}{G}{U}:name(look) reveal:5 optionone name(Get non-Human) target(creature[-human]|reveal) moveto(mybattlefield) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend
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 dont untap during their controllers 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
auto=choice name(Don't strive) ability$!name(return 1 enchantment) name(return 1 enchantment) target(*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 1) ability$!name(return 2 enchantments) pay[[{U}]] name(return 2 enchantments) target(<2>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 2) ability$!name(return 3 enchantments) pay[[{U}{U}]] name(return 3 enchantments) target(<3>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 3) ability$!name(return 4 enchantments) pay[[{U}{U}{U}]] name(return 4 enchantments)target(<4>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 4) ability$!name(return 5 enchantments) pay[[{U}{U}{U}{U}]] name(return 5 enchantments) target(<5>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 5) ability$!name(return 6 enchantments) pay[[{U}{U}{U}{U}{U}]] name(return 6 enchantments) target(<6>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 6) ability$!name(return 7 enchantments) pay[[{U}{U}{U}{U}{U}{U}]] name(return 7 enchantments) target(<7>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 7) ability$!name(return 8 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}]] name(return 8 enchantments) target(<8>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 8) ability$!name(return 9 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 9 enchantments) target(<9>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 9) ability$!name(return 10 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 10 enchantments) target(<10>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 10) ability$!name(return 11 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 11 enchantments) target(<11>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 11) ability$!name(return 12 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 12 enchantments) target(<12>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 12) ability$!name(return 13 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 13 enchantments) target(<13>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 13) ability$!name(return 14 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 14 enchantments)target(<14>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 14) ability$!name(return 15 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 15 enchantments) target(<15>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 15) ability$!name(return 16 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 16 enchantments) target(<16>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 16) ability$!name(return 17 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 17 enchantments) target(<17>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 17) ability$!name(return 18 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 18 enchantments) target(<18>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 18) ability$!name(return 19 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 19 enchantments) target(<19>*[enchantment]) moveto(ownerhand)!$ controller
auto=choice name(Strive 19) ability$!name(return 20 enchantments) pay[[{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(return 20 enchantments) target(<20>*[enchantment]) moveto(ownerhand)!$ controller
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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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=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:moveTo(exile) target(*[Land]|myGraveyard):Add{R} else 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=@movedTo(this|graveyard) from(battlefield):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 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=@movedTo(this|graveyard) from(battlefield):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=Knights of the Black Rose
auto=becomesmonarch 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=choice name(Choose 1 and 2) moveto(myhand) target(creature|mygraveyard) && ability$!notatarget(*|myhand) reject!$ opponent
auto=choice name(Choose 1 and 3) moveto(myhand) target(creature|mygraveyard) && destroy target(artifact) 
auto=choice name(Choose 1 and 4) moveto(myhand) target(creature|mygraveyard) && damage:2 opponent
auto=choice name(Choose 2 and 3) ability$!notatarget(*|myhand) reject!$ opponent && destroy target(artifact)
auto=choice name(Choose 2 and 4) ability$!notatarget(*|myhand) reject!$ opponent && damage:2 target(creature,player)
auto=choice name(Choose 3 and 4) destroy target(artifact) && damage:2 opponent
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=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=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=Korvold, Fae-Cursed King
abilities=flying
auto=sacrifice target(*|mybattlefield)
auto=@combat(attacking) source(this):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=@combat(attacking) source(this):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=@restriction=thisturn(*|stack)~equalto~2:draw:1
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) 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) rolladie 6 winability donothing winabilityend rollend
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=@combat(attacking) source(this):create(goblin:goblin creature:1/1:red)*power
auto=@combat(attacking) source(this):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(alternative) 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
autograveyard={G}{G}{U}{U}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}:name(Escape-{B}{B}{R}{R},exile five) activate castcard(alternative)
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=@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=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 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=lord(*[recent;creature]|Graveyard) transforms((,newability[tap(noevent)]))
auto=maxCast(*|Graveyard) 0
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=Hound
power=3
toughness=3
[/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=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
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}:moveto(ownerBattlefield) && flip(Gideon, Battle-Forged)
auto={2}{W}:all(this) 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.
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=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=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=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=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=Launch the Fleet
kicker=multi{1}
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(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[@combat(attacking) source(this):create(Soldier:Creature Soldier:1/1:white:battleready)])) ueot
auto=if compare(kicked)~equalto~19 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[@combat(attacking) source(this):create(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 players 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}.
type=Land
[/card]
[card]
name=Lavakin Brawler
auto=@combat(attacking) source(this):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
auto=moveto(mybattlefield)
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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 revealend
auto={X}:target(creature[manacost<=X]|mygraveyard) copy and!( transforms((Legendary)) forever )!
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 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=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=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
kicker=multi{U}{R}
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
auto=if compare(kicked)~equalto~19 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[flying],newability[first strike],newability[1/0])) ueot
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=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=@combat(attacking) source(this):(<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=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=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 Warboss
abilities=mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=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=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=@combat(attacking) source(this):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=@movedto(this|graveyard) from(battlefield):MoveTo(exile) target(*|opponentGraveyard)
text=When Leonin of the Lost Pride dies, exile target card from an opponents 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=Lesser Masticore
abilities=persist
target=creature
auto={4}:damage:1
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}{discard(*|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=Ley Weaver
abilities=partner
auto=may moveto(myhand) notatarget(lore weaver|mylibrary)
auto={T}:untap <2>target(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 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=_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=@targeted(creature|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
auto=@targeted(creature|opponentstack) from(instant|myzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|myzones) fizzle
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=@combat(attacking) source(this):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=@movedto(this|graveyard) from(battlefield):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=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. Theyre 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 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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
auto=@movedTo(this|graveyard) from(battlefield):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=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 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
auto=@movedTo(other creature[-token]|graveyard) from(myBattlefield):moveto(ownerBattlefield) && flip(Liliana, Defiant Necromancer) && ability$!name(Create Zombie) token(Zombie,Creature Zombie,2/2,black)!$ controller
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.
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}:target(creature[zombie]) regenerate
auto=@movedTo(creature|graveyard) from(opponentbattlefield):pay({1}{B}) all(trigger[from]) moveto(mybattlefield) and!( transforms((Zombie)) 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=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 {?} 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=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=@movedTo(this|graveyard) from(battlefield):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=@combat(attacking) source(this):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[@combat(attacking) source(this):all(creature|opponentbattlefield) mustblock ueot])) ueot
auto=@movedTo(this|graveyard) from(battlefield):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(alternative) then counter(1/1,1)
autograveyard={4}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{4}{G},three) activate castcard(alternative)
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=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) rolladie 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rollend],newability[{T}:name(Damage opponent) name(Damage opponent) damage:1 opponent && all(this) rolladie 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rollend],newability[{T}:name(Damage controller) name(Damage controller) damage:1 controller && all(this) rolladie 5 winability untap winabilityend loseability if compare(lastrollresult)~equalto~6 then untap loseabilityend rollend]))
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=@combat(attacking) source(this):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=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
other={1}{B}{B}{B} name(Adamant)
auto=if paid(alternative) then counter(1/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=canplayfromexile,vigilance,adventure
other={2}{W} name(Adventure)
auto=if paid(alternative) then token(Knight,creature Knight,2/2,white,vigilance) && moveto(exile) all(this)
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-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=Lookout's Dispersal
target=*|stack
auto=name(counter spell) target(*|stack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) forever
autohand=aslongas(pirate|mybattlefield) altercost(colorless,-1)
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=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=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={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 moveto(myhand) notatarget(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=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
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 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>other 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=canplayfromexile,adventure
other={G} name(Adventure)
auto=if paid(alternative) then create(Human:creature Human:1/1:white) && moveto(exile) all(this)
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 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=Lucky Clover
auto=@movedto(*[adventure]|mystack) from(mylibrary):all(trigger[to]) castcard(copied noevent)
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=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=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]|myGraveyard) from(myBattlefield):all(trigger[to]) moveTo(myBattlefield) && transforms((,newability[counter(0/0,1,Flying],newability[this(counter{0/0.1.Flying}>=1) flying]))
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=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=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=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=Macabre Mockery
target=creature|opponentGraveyard
auto=moveto(myBattlefield)
auto=transforms((,treason,+2/+0,haste)) forever
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=Hound
power=2
toughness=2
[/card]
[card]
name=Mad Ratter
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:create(Rat:creature Rat:1/1:black)])) ueot
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) rolladie 6 winability counter(0/0,1,MadEffect) winabilityend loseability counter(0/0,1,MadEffect) loseabilityend rollend
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=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=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=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 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=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={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=@combat(attacking) source(this):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=Makeshift Battalion
auto=@combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}: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}.
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
autohand={0}:restriction{can play land} name(Makindi Stampede) name(Makindi Stampede) flip(Makindi Stampede) forcetype(land)
auto=all(creature|myBattlefield) 2/2 ueot
text=Creatures you control get +2/+2 until end of turn.
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}.
type=Land
[/card]
[card]
name=Malakir Rebirth
autohand={0}:restriction{can play land} 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."
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 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=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
auto=if compare(manacost)~equalto~1 then @next my secondmain:add{1}
auto=if compare(manacost)~equalto~2 then @next my secondmain:add{2}
auto=if compare(manacost)~equalto~3 then @next my secondmain:add{3}
auto=if compare(manacost)~equalto~4 then @next my secondmain:add{4}
auto=if compare(manacost)~equalto~5 then @next my secondmain:add{5}
auto=if compare(manacost)~equalto~6 then @next my secondmain:add{6}
auto=if compare(manacost)~equalto~7 then @next my secondmain:add{7}
auto=if compare(manacost)~equalto~8 then @next my secondmain:add{8}
auto=if compare(manacost)~equalto~9 then @next my secondmain:add{9}
auto=if compare(manacost)~equalto~10 then @next my secondmain:add{10}
auto=if compare(manacost)~equalto~11 then @next my secondmain:add{11}
auto=if compare(manacost)~equalto~12 then @next my secondmain:add{12}
auto=if compare(manacost)~equalto~13 then @next my secondmain:add{13}
auto=if compare(manacost)~equalto~14 then @next my secondmain:add{14}
auto=if compare(manacost)~equalto~15 then @next my secondmain:add{15}
auto=if compare(manacost)~equalto~16 then @next my secondmain:add{16}
auto=if compare(manacost)~equalto~17 then @next my secondmain:add{17}
auto=if compare(manacost)~equalto~18 then @next my secondmain:add{18}
auto=if compare(manacost)~equalto~19 then @next my secondmain:add{19}
auto=if compare(manacost)~equalto~20 then @next my secondmain:add{20}
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
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=@tappedformana(*|myBattlefield):all(trigger) transforms((,newability[produceextra:selectmana])) oneshot
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=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=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=Manticore Eternal
abilities=mustattack
auto=@combat(blocked,turnlimited) source(this):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=@drawof(player):transforms((,newability[@drawof(player) restriction{once}:equip 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 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(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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 && discard(*|myhand)
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=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=becomesmonarch 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
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=Martial Impetus
target=creature
auto=mustattack
auto=1/1
auto=@combat(attacking) source(this):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 thats 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=@movedTo(this|graveyard) from(battlefield):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
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=@movedto(this|graveyard) from(battlefield):ability$!sacrifice notatarget(enchantment|mybattlefield)!$ opponent
auto=@movedto(*[-land]|graveyard) from(battlefield):ability$!sacrifice notatarget(*[-land,share!types!]|mybattlefield)!$ opponent
text=Whenever Martyrs 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=Mask Est
abilities=totemarmor
target=*
type=Enchantment
subtype=Aura
color=white
[/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=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 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=@combat(attacking) source(this):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 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=equip target(creature|myBattlefield)
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):_ASCEND_
auto=@movedto(other creature|mygraveyard) from(battlefield) restriction{type(*[city's_blessing]|mybattlefield)~morethan~0}: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=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 {1}
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=Mazes End enters the battlefield tapped. -- {T}:Add {C}. -- {3},{T},Return Mazes End to its owners 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
auto={T}{C(0/0,1,Page):scry:1 scrycore delayed dontshow donothing scrycoreend scryend && aslongas(Mazemind Tome[counter{0/0.4.Page}]|myBattlefield) life:4 controller && aslongas(Mazemind Tome[counter{0/0.4.Page}]|myBattlefield) moveTo(myExile) all(this)
auto={2}{T}{C(0/0,1,Page)}:draw:1 controller && aslongas(Mazemind Tome[counter{0/0.4.Page}]|myBattlefield) life:4 controller && aslongas(Mazemind Tome[counter{0/0.4.Page}]|myBattlefield) moveTo(myExile) all(this)
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=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's Prophecy
auto=counter(0/0,1,Lore)
auto=@each my firstmain:counter(0/0,1,Lore)
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=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=Memory Drain
target=*|stack
auto=fizzle
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 players 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
target=opponent
aicode=activate reject notatarget(*[-land]|targetedpersonshand)
auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(choose discards) notatarget(<1>*[-creature;-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend && may moveTo(targetedpersonsgraveyard) target(*[Adventure]) from(targetedpersonsexile)
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=@combat(attacking) source(this):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=Mephitic Vapors
auto=all(creature) -1/-1
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=canplayfromexile,flash,adventure
restriction=myturnonly
other={R} name(Adventure)
auto=if paid(alternative) then may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$ && moveto(exile) all(this)
auto={2}{R}{D(*|myhand)}: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=@combat(blocked,turnlimited) source(this):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=Merfolk Branchwalker
auto=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 revealend limit:1
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
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=canplayfromexile,adventure
other={U} name(Adventure)
auto=if paid(alternative) then target(player) deplete:4
auto=if paid(alternative) then moveto(exile) all(this)
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=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=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=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=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 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=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={9999}:equip
other={2}{G} name(Mutate)
auto=transforms((,newability[@mutated(this):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) target(basic[fresh]|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 {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=Militant Angel
abilities=flying, lifelink
auto=if (this[attacking]|mybattlefield)~morethan~0 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=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,treason)
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 owners graveyard. -- {3}, {T}: Create a token thats 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=rehook target(creature|myBattlefield)
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 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=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={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=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=@movedTo(this|graveyard) from(battlefield):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=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=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=aslongas(this[tapped]) lord(creature[-attacking]|opponentbattlefield) cantattack
auto=aslongas(this[tapped]) lord(creature[-attacking]|opponentbattlefield) cantpwattack
auto=@combat(attacking) source(this):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 thats a copy of that creature and thats 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(([{1}:becomes [clone target(creature[chosentype]|myBattlefield)] && transforms(artifact)])) chooseend ueot
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 its 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=Miscast
target=*[instant,sorcery]|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
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:damage:1 target(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=Mishra's Self-Replicator
auto=@movedTo(*[artifact;legendary;saga]|mystack):may pay({1}):clone
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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=@combat(attacking) source(this):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=Mistmoon Griffin
abilities=flying
auto=@movedto(this|mygraveyard) from(myBattlefield):moveto(myexile) all(this)
auto=@movedto(this|mygraveyard) from(myBattlefield):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=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=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
autograveyard={2}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{2}{B},exile two) activate castcard(normal)
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=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 Echoes
auto=chooseatype transforms((,newability[@movedTo(creature[chosentype,-token]|myBattlefield)}:all(trigger[to]) clone with(treason,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 thats 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=*[instant;sorcery]|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 {1}
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.First Strike}>=1) first strike
auto=@combat(attacking) source(this):this(counter{0/0.1.First Strike}<1) counter(0/0,1,First Strike)
auto=@combat(attacking) source(this):this(counter{0/0.1.First Strike}>0) 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=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=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-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=Hound
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=Moraug, Fury of Akoum
auto=@combat(attacking) source(creature|myBattlefield):1/0 ueot
auto=@movedTo(land|myBattlefield):nextphasealter(add,combatphaseswithmain,controller,after<this>)
auto=@movedTo(land|myBattlefield):transforms((,newability[@each my combatbegins:untap all(creature|myBattlefield)])) oneshot
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=Morophon, the Boundless
abilities=changeling
auto=chooseatype lord(other creature[chosentype]|mybattlefield) 1/1 && lord(*[chosentype]|mycastingzone) altercost(white, -1) forever && lord(*[chosentype]|mycastingzone) altercost(green, -1) forever && lord(*[chosentype]|mycastingzone) altercost(red, -1) forever && lord(*[chosentype]|mycastingzone) altercost(blue, -1) forever && lord(*[chosentype]|mycastingzone) altercost(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=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=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) rolladie 6 winability counter(1/1,lastrollresult) winabilityend loseability counter(1/1,lastrollresult) loseabilityend rollend
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=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=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
type=Token Legendary Creature
subtype=Hound
power=3
toughness=3
[/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=Hound
power=3
toughness=3
[/card]
[card]
name=Mox Amber
auto=aslongas(creature[white&legendary]) {T}:Add{W}
auto=aslongas(planeswalker[white]) {T}:Add{W}
auto=aslongas(creature[blue&legendary]) {T}:Add{U}
auto=aslongas(planeswalker[blue]) {T}:Add{U}
auto=aslongas(creature[black&legendary]) {T}:Add{B}
auto=aslongas(planeswalker[black]) {T}:Add{B}
auto=aslongas(creature[red&legendary]) {T}:Add{R}
auto=aslongas(planeswalker[red]) {T}:Add{R}
auto=aslongas(creature[green&legendary]) {T}:Add{G}
auto=aslongas(planeswalker[green]) {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}
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=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=canplayfromexile,flash,lifelink,adventure
restriction=myturnonly
other={1}{B}{B} name(Adventure)
auto=if paid(alternative) then target(creature,planeswalker) destroy
auto=if paid(alternative) then life:-2 controller
auto=if paid(alternative) then moveto(exile) all(this)
auto=@movedTo(graveyard) from(this|battlefield):all(trigger[from]) 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=Murkwater Pathway
auto={T}:add{B}
text={T}: Add {B}.
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=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 moveto(mybattlefield) target(<anyamount>goblin[manacost<=5;zpos<=6]|mylibrary)
auto=reveal:6 optionone target(<anyamount>goblin[manacost<=5]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!( activate castcard(normal) )! 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=@combat(attacking) source(this):all(this) foreach(other goblin[attacking]|myBattlefield) 1/1 ueot
mana={4}{R}{R}
type=Legendary Creature
subtype=Goblin Noble
power=4
toughness=4
[/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=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=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=lord(creature[adventure]|myBattlefield) counter(1/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=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 && target(creature) moveto(ownerhand) && 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 && target(creature) moveto(ownerhand)
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 && target(<2>creature) moveto(ownerhand)
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
auto={T}{L:1}:moveto(exile) all(*[zpos=1]|mylibrary)
aicode=activate name(look) donothing
auto={0}:name(Look) reveal:1 optionone name(look) target(<1>*[artifact,-land,-white,-red,-blue,-green,-black]|reveal) moveto(mylibrary) optiononeend optiontwo name(put it back) all(*|reveal) moveto(mylibrary) optiontwoend revealend
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 Repeal
target=Enchantment
auto=bottomoflibrary
text=Put target enchantment on the bottom of its owners library
mana={G}
type=Instant
[/card]
[card]
name=Mystic Sanctuary
auto={T}:add{U}
auto=aslongas(other land[island]|myBattlefield) tap(noevent) <3 oneshot
auto=if this(untapped) may (instant,sorcery|mygraveyard) moveTo(myLibrary) 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 Skyfish
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}: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
abilities=hiddenface
aicode=activate moveto(myGraveyard) target(*|mylibrary)
other={U}{B}{G} name(Spend U and B)
auto=if paid(alternative) then (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(myHand) target(<upto:2>artifact,enchantment,land,creature,planeswalker|myGraveyard)
auto=ifnot paid(alternative) then moveTo(myHand) target(<upto:2>artifact,enchantment,land,creature,planeswalker|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]
other={R}{G}{U}{U} name(Spend B and G)
auto=ifnot paid(alternative) then clone
auto=if paid(alternative) then clone and!( transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike eachother!>])) ueot )!
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
other={G}{W}{B} name(Spend G and W)
auto=if paid(alternative) then destroy target(*[-land]|battlefield)
auto=ifnot paid(alternative) 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
other={W}{U}{R}{R} name(Spend W and U)
auto=ifnot paid(alternative) then thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,planewsalker) damage:1!$ controller
auto=if paid(alternative) then thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,planewsalker) damage:1 && cantattack uynt && cantblock 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=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[@movedTo(land|myBattlefield):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 its 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=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=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=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
auto=choice name(Don't strive) ability$!name(choose 1 creature) name(choose 1 creature) target(*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 1) ability$!name(choose 2 creatures) pay[[{2}{G}]] name(choose 2 creatures) target(<2>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 2) ability$!name(choose 3 creatures) pay[[{4}{G}{G}]] name(choose 3 creatures) target(<3>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 3) ability$!name(choose 4 creatures) pay[[{6}{G}{G}{G}]] name(choose 4 creatures)target(<4>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 4) ability$!name(choose 5 creatures) pay[[{8}{G}{G}{G}{G}]] name(choose 5 creatures) target(<5>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 5) ability$!name(choose 6 creatures) pay[[{10}{G}{G}{G}{G}{G}]] name(choose 6 creatures) target(<6>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 6) ability$!name(choose 7 creatures) pay[[{12}{G}{G}{G}{G}{G}{G}]] name(choose 7 creatures) target(<7>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 7) ability$!name(choose 8 creatures) pay[[{14}{G}{G}{G}{G}{G}{G}{G}]] name(choose 8 creatures) target(<8>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 8) ability$!name(choose 9 creatures) pay[[{16}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 9 creatures) target(<9>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 9) ability$!name(choose 10 creatures) pay[[{18}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 10 creatures) target(<10>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 10) ability$!name(choose 11 creatures) pay[[{20}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 11 creatures) target(<11>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 11) ability$!name(choose 12 creatures) pay[[{22}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 12 creatures) target(<12>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 12) ability$!name(choose 13 creatures) pay[[{24}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 13 creatures) target(<13>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 13) ability$!name(choose 14 creatures) pay[[{26}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 14 creatures)target(<14>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 14) ability$!name(choose 15 creatures) pay[[{28}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 15 creatures) target(<15>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 15) ability$!name(choose 16 creatures) pay[[{30}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 16 creatures) target(<16>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 16) ability$!name(choose 17 creatures) pay[[{32}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 17 creatures) target(<17>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 17) ability$!name(choose 18 creatures) pay[[{34}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 18 creatures) target(<18>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 18) ability$!name(choose 19 creatures) pay[[{36}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 19 creatures) target(<19>*[creature]) counter(1/1)!$ controller
auto=choice name(Strive 19) ability$!name(choose 20 creatures) pay[[{38}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}{G}]] name(choose 20 creatures) target(<20>*[creature]) counter(1/1)!$ controller
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=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
other={2}{B}{W} name(Kicker W)
auto=if paid(alternative) then counter(1/1)
auto=if paid(alternative) then transforms((,newability[lifelink])) forever
kicker={1}{G}
auto=kicker ifnot paid(alternative) then counter(1/1,2)
auto=kicker ifnot paid(alternative) then transforms((,newability[trample])) 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=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=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={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=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=foreach(creature|mygraveyard) -X/-X
auto=exiledeath
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=Needletooth Raptor
auto=@damaged(this):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
autohand={0}:restriction{can play land} name(Pillarverge Pathway) name(Pillarverge Pathway) flip(Pillarverge Pathway) forcetype(land)
auto={T}:add{R}
text={T}: Add {R}.
type=Land
[/card]
[card]
name=Nef-Crop Entangler
abilities=trample
auto=@exerted(this):1/2 ueot
auto=@combat(attacking) source(this):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=@combat(blocked,turnlimited) source(this):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=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=@combat(blocking,blocked) source(this) from(creature):draw:1 opponent
text=All creatures able to block Nessian Boar do so. -- Whenever Nessian Boar becomes blocked by a creature, that creatures 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=@movedTo(enchantment|myBattlefield):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 wasnt 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=Nesting Dragon
abilities=flying
auto=@movedTo(land|myBattlefield):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=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={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=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=Nevinyrral, Urborg Tyrant
auto=cantbetargetof(*[artifact;creature;enchantment])
auto=foreach(creature[fresh]|graveyard) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!
auto=@movedto(this|graveyard) from(battlefield):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$!notatarget(land|mylibrary) moveto(ownerhand) && tap!$ opponent
auto=name(search basic lands) reveal:plibrarycount optionone name(choose card) target(<upto:prex>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=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=@movedTo(enchantment|myBattlefield):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=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
auto=ability$!name(discard) reject notatarget(*|myhand)!$ opponent
auto={4}{U}{B}{R}:moveto(ownerBattlefield) && flip(Nicol Bolas, the Arisen) 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.
mana={1}{U}{B}{R}
type=Legendary Creature
subtype=Elder Dragon
power=4
toughness=4
[/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=@combat(attacking) source(this):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 thats a copy of that creature, except its 1/1 and its 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
other={4}{B}{R} name(Kicker 2R)
auto=if paid(alternative) then destroy target(land)
kicker={2}{U}
auto=kicker ifnot paid(alternative) then target(<upto:2>creature[-black]) moveto(ownerhand)
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
auto=@combat(attacking) source(this):surveil && name(surveil) 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 revealend
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
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=Nikara, Lair Scavenger
abilities=menace,partner
auto=may 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=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=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})
auto=@discarded(this):target(*|opponentstack) fizzle
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=@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=@combat(attacking) source(this):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=cantlose && lifeset:5 && 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
aicode=activate target(forest[basic]|mylibrary) moveto(myhand)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>forest[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@movedto(land|mybattlefield) restriction{type(land|mybattlefield)~morethan~6}:all(this) moveto(ownerBattlefield) && flip(Nissa, Sage Animist)
text=When Nissa, Vastwood Seer enters the battlefield, you may search your library for a basic Forest card, reveal it, put it into your hand, then shuffle your library. -- Whenever a land enters the battlefield under your control, if you control seven or more lands, exile Nissa, then return her to the battlefield transformed under her owner's control.
mana={2}{G}
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)
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=Noble Benefactor
auto=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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
auto=moveto(exile) all(this)
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 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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 revealend
auto=damage:2
auto=draw:2
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=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 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=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=@movedTo(land|mybattlefield):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=Kumena's Awakening
auto=_ASCEND_
auto=@movedTo(*|myBattlefield):_ASCEND_
auto=@each my upkeep:draw:1 controller
auto=@each my upkeep restriction{type(*[city's_blessing]|mybattlefield)~equalto~0}: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=Numbing Jellyfish
auto=all(this) rolladie 6 winability deplete:lastrollresult opponent winabilityend loseability deplete:lastrollresult opponent loseabilityend rollend
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=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 Nyleas 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.  Nyleas 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(ownerbattlefield) 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(mybattlefield) 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 isnt a creature. -- Creature spells you cast cost {1} less to cast. -- {2}{G}: Reveal the top card of your library. If its 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=@tappedformana (land[-basic]|myBattlefield):add{C}{C}{C}
auto=@tappedformana (land[forest]|myBattlefield):add{G}{G}{G}
auto=@tappedformana (land[island]|myBattlefield):add{U}{U}{U}
auto=@tappedformana (land[mountain]|myBattlefield):add{R}{R}{R}
auto=@tappedformana (land[plains]|myBattlefield):add{W}{W}{W}
auto=@tappedformana (land[swamp]|myBattlefield):add{B}{B}{B}
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
auto={T}:all(creature|mybattlefield) 1/1 ueot
text={T}: Creatures you control get +1/+1 until end of turn.
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 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=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=@movedto(land|myBattlefield):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=Octoprophet
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[@combat(attacking) source(this):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, 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=Ogre Errant
auto=@combat(attacking) source(this):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=@combat(attacking) source(this):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 && fizzle target(*|stack)
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) 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=@combat(attacking) source(this):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=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=Oloro, Ageless Ascetic
auto=@each my upkeep:life:2 controller
auto=@lifeof(player) from(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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)
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
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 moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search a land) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
auto={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
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend && draw: 1 controller
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(Human,Ome)*2 && life:2 controller
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 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)
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=@movedTo(land|myBattlefield):counter(1/1) target(elemental|myBattlefield)
auto=@movedTo(land|myBattlefield):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
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
auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~lessthan~2}:castcard(this) ueot oneshot
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
other={1}{G}{G}{G} name(Adamant)
auto=ifnot paid(alternative) then moveto(myHand) target(*|myGraveyard) && moveto(myLibrary) target(*|myGraveyard) && moveto(exile) all(this)
auto=if paid(alternative) then moveto(myHand) target(<upto:2>*|mygraveyard) && moveto(exile) all(this)
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
autohand={0}:restriction{can play land} name(Ondu Skyruins) name(Ondu Skyruins) flip(Ondu Skyruins) forcetype(land)
auto=destroy all(*[-land])
text=Destroy all nonland permanents.
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}.
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 its 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):transforms((removetypes)) forever && transforms((Soldier Creature,setpower=2,settoughness=4)) forever
auto={0}: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=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R}])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G}])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U}])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B}])) forever
auto=@movedto(*[iscommander]|mybattlefield) from(mycommandzone):all(trigger[to]) counter(1/1,pnumofcommandcast) limit:1
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]|opponentstack):transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,newability[protection from blue)) forever
auto=@movedTo(creature[white]|opponentstack):transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,newability[protection from white)) forever
auto=@movedTo(creature[green]|opponentstack):transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,newability[protection from green)) forever
auto=@movedTo(creature[black]|opponentstack):transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,newability[protection from black)) forever
auto=@movedTo(creature[red]|opponentstack):transforms((removetypes)) forever && transforms((Giant Creature,setpower=4,settoughness=4,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=Opportunistic Dragon
abilities=flying
auto=choice target(human,artifact|opponentBattlefield) moveto(mybattlefield) && transforms((,newability[loseabilities && cantattack cantpwattack cantblock]forsrc))
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=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 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=@combat(attacking) source(this):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):_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[{T}{S}: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=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=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=upcost[{R};next upkeep] sacrifice
auto=@movedTo(this|graveyard) from(battlefield):ability$!name(Choose one) choice name(Damage player) damage:2 target(player) _ choice name(Damage planeswalker) damage:2 target(planeswalker)!$ controller
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=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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=@movedto(this|mygraveyard) from(mybattlefield):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=canplayfromexile,flying,cantblock,adventure
other={1}{B} name(Adventure)
auto=if paid(alternative) then target(creature|mygraveyard) moveto(myhand)
auto=if paid(alternative) then moveto(exile) all(this)
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=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=@combat(attacking) source(this):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=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 cant 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=@movedTo(this|graveyard) from(battlefield):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 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 Racketeers
auto=@combatdamaged(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent
auto=@movedTo(this|graveyard) from(battlefield):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=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=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={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=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=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
other={1}{G}{G}{G} name(Adamant)
target=creature|myBattlefield
auto=counter(1/1,1)
auto=if paid(alternative) then 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=*[instant;sorcery]|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 Armasaur
auto=@damaged(this):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=Overgrowth Elemental
auto=target(another 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=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=Overwhelmed Apprentice
auto=deplete:2 opponent
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=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=Ox of Agonas
auto=reject all(*|myhand) && draw:3 controller
auto=if paid(alternative) then counter(1/1,1)
autograveyard={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-{R}{R},exile eight) activate castcard(alternative)
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=@combat(attacking) source(this):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=Hound
power=2
toughness=2
[/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=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) rolladie 6 winability lastrollresult/0 ueot winabilityend loseability lastrollresult/0 ueot loseabilityend rollend
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 Painters Servant enters the battlefield, choose a color. -- All cards that arent 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
aicode=activate moveTo(myhand) target(Haldan^ Avid Arcanist|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Haldan^ Avid Arcanist|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Haldan^ Avid Arcanist|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=@combat(attacking) source(this):NOTCODED
text=Partner with Haldan, Avid Arcanist -- Haste -- Whenever Pako, Arcane Retriever attacks, exile the top card of each players 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 Hound
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=becomesmonarch controller
auto=moveto(opponentexile) target(creature|opponentbattlefield)
auto=@becomesmonarchfoeof(player) once:moveto(ownerbattlefield) target(creature|opponentexile)
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=becomesmonarch 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 of Atonement
auto=@each upkeep restriction{lastturn(life)~morethan~0}:counter(1/1,1)
auto=@movedTo(this|graveyard) from(battlefield):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=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=@damaged(this):-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=Parasitic Impetus
target=creature
auto=mustattack
auto=2/2
auto=@combat(attacking) source(this):life:-2 controller && life:2 opponent
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=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={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=@combat(attacking) source(this):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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=@movedto(this|graveyard) from(mybattlefield):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)
auto=if type(*[red]|myzones)~morethan~0 then transforms((,newability[{T}:add{R} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[white]|myzones)~morethan~0 then transforms((,newability[{T}:add{W} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend}])) forever
auto=if type(*[green]|myzones)~morethan~0 then transforms((,newability[{T}:add{G} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[blue]|myzones)~morethan~0 then transforms((,newability[{T}:add{U} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[black]|myzones)~morethan~0 then transforms((,newability[{T}:add{B} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
auto=if type(*[-black;-red;-white;-blue;-green]|myzones)~morethan~0 then transforms((,newability[{T}:add{C} && scry:1 scrycore delayed dontshow donothing scrycoreend scryend])) forever
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
auto=@movedTo(creature|myBattlefield):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 revealend limit:1
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=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=@combat(attacking) source(this):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 cant 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=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(*|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=@combat(attacking) source(this):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}.
type=Land
[/card]
[card]
name=Pelakka Predation
autohand={0}:restriction{can play land} 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.
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=Perilous Voyage
target=*[-land]|opponentBattlefield
auto=moveto(ownerhand)
auto=if targeted(*[manacost<=2]) then _SCRY_(2)
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=@combat(attacking) source(this):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=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=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=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=Phalanx Formation
auto=choice name(Don't strive) ability$!name(choose 1 creature) name(choose 1 creature) target(*[creature]) double strike ueot!$ controller
auto=choice name(Strive 1) ability$!name(choose 2 creatures) pay[[{1}{W}]] name(choose 2 creatures) target(<2>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 2) ability$!name(choose 3 creatures) pay[[{2}{W}{W}]] name(choose 3 creatures) target(<3>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 3) ability$!name(choose 4 creatures) pay[[{3}{W}{W}{W}]] name(choose 4 creatures)target(<4>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 4) ability$!name(choose 5 creatures) pay[[{4}{W}{W}{W}{W}]] name(choose 5 creatures) target(<5>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 5) ability$!name(choose 6 creatures) pay[[{5}{W}{W}{W}{W}{W}]] name(choose 6 creatures) target(<6>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 6) ability$!name(choose 7 creatures) pay[[{6}{W}{W}{W}{W}{W}{W}]] name(choose 7 creatures) target(<7>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 7) ability$!name(choose 8 creatures) pay[[{7}{W}{W}{W}{W}{W}{W}{W}]] name(choose 8 creatures) target(<8>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 8) ability$!name(choose 9 creatures) pay[[{8}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 9 creatures) target(<9>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 9) ability$!name(choose 10 creatures) pay[[{9}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 10 creatures) target(<10>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 10) ability$!name(choose 11 creatures) pay[[{10}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 11 creatures) target(<11>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 11) ability$!name(choose 12 creatures) pay[[{11}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 12 creatures) target(<12>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 12) ability$!name(choose 13 creatures) pay[[{12}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 13 creatures) target(<13>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 13) ability$!name(choose 14 creatures) pay[[{13}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 14 creatures)target(<14>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 14) ability$!name(choose 15 creatures) pay[[{14}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 15 creatures) target(<15>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 15) ability$!name(choose 16 creatures) pay[[{15}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 16 creatures) target(<16>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 16) ability$!name(choose 17 creatures) pay[[{16}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 17 creatures) target(<17>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 17) ability$!name(choose 18 creatures) pay[[{17}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 18 creatures) target(<18>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 18) ability$!name(choose 19 creatures) pay[[{18}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 19 creatures) target(<19>*[creature]) double strike ueot!$ controller
auto=choice name(Strive 19) ability$!name(choose 20 creatures) pay[[{19}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}{W}]] name(choose 20 creatures) target(<20>*[creature]) double strike ueot!$ controller
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 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 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=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(alternative) then counter(1/1,2)
auto=if paid(alternative) then ability$!name(sacrifice non-gorgon) notatarget(creature[-Gorgon]|mybattlefield) sacrifice!$ opponent
autograveyard={5}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{5}{B},exile three) activate castcard(alternative)
text=Escape{5}{B}, Exile three other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) -- Pharikas 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=@combat(attacking) source(this):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 dont 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
autograveyard={2}{R}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{2}{R}{R},exile three) activate castcard(alternative)
auto=if paid(alternative) 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]|mybattlefield)} 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 copy NotATarget(creature,artifact) transform(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 its 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 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 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=@movedTo(this|graveyard) from(battlefield):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=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=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=Pillarverge Pathway
auto={T}:add{W}
text={T}: Add {W}.
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=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=@movedTo(enchantment|myBattlefield):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=aslongas(parents) rehook target(pirate|mybattlefield) <1
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(*|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=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=Pitiless Gorgon
abilities=deathtouch
text=Deathtouch
mana={1}{BG}{BG}
type=Creature
subtype=Gorgon
power=2
toughness=2
[/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 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 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=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=Plaguecrafter
auto=restriction{type(creature|myBattlefield)~morethan~0}:ability$!sacrifice notatarget(creature|mybattlefield)!$ controller
auto=restriction{type(creature|opponentBattlefield)~morethan~0}:ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent
auto=restriction{type(creature|myBattlefield)~lessthan~1}:transforms((,newability[target(*|myhand) reject])) controller
auto=restriction{type(creature|opponentBattlefield)~lessthan~1}:ability$!name(discard) 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=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=Planebound Accomplice
auto={R}:may moveto(myBattlefield) target(planeswalker|myHand) && treason
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=Planewide Celebration
auto=ability$! choice Create(citizen:Citizen creature:2/2:white:blue:black:red:green) _ choice moveTo(ownerHand) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice _PROLIFERATE_ _choice life:4 !$ controller && ability$! choice Create(citizen:Citizen creature:2/2:white:blue:black:red:green) _ choice moveTo(ownerHand) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice _PROLIFERATE_ _choice life:4 !$ controller && ability$! choice Create(citizen:Citizen creature:2/2:white:blue:black:red:green) _ choice moveTo(ownerHand) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice _PROLIFERATE_ _choice life:4 !$ controller && ability$! choice Create(citizen:Citizen creature:2/2:white:blue:black:red:green) _ choice moveTo(ownerHand) target(*[-instant;-sorcery]|mygraveyard) moveto(ownerhand) _ choice _PROLIFERATE_ _choice life:4 !$ 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=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=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=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=Pollenbright Druid
auto=choice counter(1/1) target(creature)
auto=choice _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(alternative) then counter(1/1,6)
auto={1}{B}{G}:name(Fight) transforms((,newability[target(other creature) dynamicability<!powerstrike eachother!>])) oneshot
autograveyard={4}{B}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{4}{B}{G},exile six) activate castcard(alternative)
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=Polyraptor
auto=@damaged(this):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=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={9999}:equip
other={2}{R} name(Mutate)
auto=transforms((,newability[name(damage target) {T}:name(damage target) thisforeach(mutations) damage:1 target(player,creature,planeswalker)]))
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=Portal of Sanctuary
target=creature|battlefield
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) && transforms((,treson,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=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) rolladie 1 winability sacrifice winabilityend loseability counter(1/1) loseabilityend rollend
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={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 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=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=sacrifice notatarget(<thirduptype:creature:mybattlefield>creature|mybattlefield)
auto=ability$! sacrifice notatarget(<thirduptype:creature:opponentbattlefield>creature|mybattlefield) !$ opponent
auto=sacrifice notatarget(<thirduptype:land:mybattlefield>land|mybattlefield)
auto=ability$! sacrifice notatarget(<thirduptype:land:opponentbattlefield>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=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=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=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
auto={3}:moveto(exile) all(*[zpos=1]|mylibrary)
aicode=activate name(look) donothing
auto={0}:name(Look) reveal:1 optionone name(look) target(<1>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put it back) all(*|reveal) moveto(mylibrary) optiontwoend revealend
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
auto=if compare(restriction{assorcery}~morethan~0) then scry:3 scrycore delayed dontshow donothing scrycoreend scryend else 
auto=draw:3
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=lure
auto=transforms((,newability[@combat(attacking) source(this):all(creature|opponentbattlefield) mustblock ueot])) forever
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=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
target=artifact,creature,planeswalker
auto=counter(1/1,-5)
auto=counter(0/0,-5,loyalty)
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
auto=if paid(alternative) then destroy target(creature[legendary])
auto=ifnot paid(alternative) then destroy target(creature)
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 revealend
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=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 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 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 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=aslongas(Elemental|myhand) tap(noevent) <1 oneshot
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
target=player
auto=choice name(Choose 1 and 2) life:7 targetedplayer && target(player) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard)
auto=choice name(Choose 1 and 3) life:7 targetedplayer && Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=choice name(Choose 2 and 3) moveTo(ownerlibrary) and!(shuffle)! all(*|targetedpersonsgraveyard) && Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>creature|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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 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=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=Primordial Wurm
mana={4}{G}{G}
type=Creature
subtype=Wurm
power=7
toughness=6
[/card]
[card]
name=Prismatic Vista
auto={L:1}{T}{S}:notatarget(land[basic]|mylibrary) moveto(mybattlefield)
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)
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=Profit // Loss
other={2}{B} name(Loss)
auto=if paid(alternative) then all(creature|opponentbattlefield) -1/-1 ueot
kicker={2}{B}
auto=kicker ifnot paid(alternative) 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 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=Prophet of the Peak
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=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=@movedTo(this|graveyard) from(battlefield):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
other={1}{U} name(Serve)
auto=if paid(alternative) then target(creature) -6/0 ueot
kicker={1}{U}
auto=kicker ifnot paid(alternative) 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=becomesmonarch 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 moveto(myhand) notatarget(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[@combat(blocked,turnlimited) source(this):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
abilities=leyline
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=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 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=@targeted(creature|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
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=@draw: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
auto=mustattack
auto=2/2
auto=@combat(attacking) source(this):scry:2 scrycore delayed dontshow donothing scrycoreend scryend
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 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=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 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=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.  Purphoross 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}:may moveto(mybattlefield) target(creature,artifact|myhand) && transforms((,treason)) oneshot
text=Indestructible -- As long as your devotion to red is less than five, Purphoros isnt 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-Crystal Crab
auto=@movedTo(this|graveyard) from(battlefield): 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 moveto(mylibrary) target(*|mygraveyard) && shuffle controller
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=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=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
auto=choice name(Don't replicate) ability$!name(Damage 1 target) name(Damage 1 target) target(player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 1 time) ability$!name(Damage 2 targets) pay[[{1}{R}]] name(Damage 2 targets) target(<2>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 2 times) ability$!name(Damage 3 targets) pay[[{2}{R}{R}]] name(Damage 3 targets) target(<3>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 3 times) ability$!name(Damage 4 targets) pay[[{3}{R}{R}{R}]] name(Damage 4 targets) target(<4>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 4 times) ability$!name(Damage 5 targets) pay[[{4}{R}{R}{R}{R}]] name(Damage 5 targets) target(<5>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 5 times) ability$!name(Damage 6 targets) pay[[{5}{R}{R}{R}{R}{R}]] name(Damage 6 targets) target(<6>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 6 times) ability$!name(Damage 7 targets) pay[[{6}{R}{R}{R}{R}{R}{R}]] name(Damage 7 targets) target(<7>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 7 times) ability$!name(Damage 8 targets) pay[[{7}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 8 targets) target(<8>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 8 times) ability$!name(Damage 9 targets) pay[[{8}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 9 targets) target(<9>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 9 times) ability$!name(Damage 10 targets) pay[[{9}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 10 targets) target(<10>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 10 times) ability$!name(Damage 11 targets) pay[[{10}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 11 targets) target(<11>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 11 times) ability$!name(Damage 12 targets) pay[[{11}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 12 targets) target(<12>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 12 times) ability$!name(Damage 13 targets) pay[[{12}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 13 targets) target(<13>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 13 times) ability$!name(Damage 14 targets) pay[[{13}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 14 targets)target(<14>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 14 times) ability$!name(Damage 15 targets) pay[[{14}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 15 targets) target(<15>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 15 times) ability$!name(Damage 16 targets) pay[[{15}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 16 targets) target(<16>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 16 times) ability$!name(Damage 17 targets) pay[[{16}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 17 targets) target(<17>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 17 times) ability$!name(Damage 18 targets) pay[[{17}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 18 targets) target(<18>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 18 times) ability$!name(Damage 19 targets) pay[[{18}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 19 targets) target(<19>player,creature,planeswalker) damage:1!$ controller
auto=choice name(Replicate 19 times) ability$!name(Damage 20 targets) pay[[{19}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Damage 20 targets) target(<20>player,creature,planeswalker) damage:1!$ 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=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=Quakefoot Cyclops
auto=cantblocktarget(<upto:2>creature)
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=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=target(proliferation) 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=becomesmonarch 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=canplayfromexile,adventure
other={1}{U} name(Adventure)
auto=if paid(alternative) then target(creature|battlefield) freeze
auto=if paid(alternative) then moveto(exile) all(this)
auto=@combatdamaged(creature) from(this):all(trigger[to]) tap && all(trigger[to]) frozen
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
auto=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 revealend limit:1
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=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=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
auto=this(variable{controllerturn}>0) first strike
auto=canplaylandlibrarytop
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):_ASCEND_
auto=activatechooseacolor transforms((,newability[lord(creature[chosencolor]|mybattlefield) 1/1],newability[_CITY'S_BLESSING_ lord(creature[chosencolor]|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, 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) flash
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=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 dont 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=@combat(attacking) source(this):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' 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 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=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
other={2}{R}{U} name(Kicker blu mana}
auto=if paid(alternative) then counter(1/1) && flying
kicker={1}{W}
auto=kicker ifnot paid(alternative) then counter(1/1,2) && lifelink
auto=kicker if paid(alternative) then counter(1/1,3) && lifelink && flying
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 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 Roustabout
auto=@combat(blocked,turnlimited) source(this):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=@combat(attacking) source(this):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=@combat(attacking) source(this):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 for the Throne
auto=create(Human:creature Human:1/1:white)*2
other={W}{W}{W} name(Adamant)
auto=if paid(alternative) 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 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=Rampaging Brontodon
abilities=trample
auto=@combat(attacking) source(this):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=Ranger-Captain of Eos
auto={S}:maxCast(*[-creature])0 target(opponent)
auto=target(creature[manacost<=1]|mylibrary) moveto(mybattlefield)
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
power=3
toughness=3
[/card]
[card]
name=Ranging Raptors
auto=@damaged(this):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 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 graveyard) target(<3>*|reveal) 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=@damaged(this):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's Mace
auto=rehook target(creature|myBattlefield)
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=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=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=@damaged(this):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(othercreature|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 Slime
auto=cantbeblockedby(creature[power<=2])
auto=@movedto(creature|opponentGraveyard) from(opponentBattlefield):moveTo(exile) && counter(1/1,storedpower)
text=Ravenous Slime cant 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 creatures power on Ravenous Slime.
mana={2}{G}
type=Creature
subtype=Ooze
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=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=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=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
other={1}{W}{B} name(Willing)
auto=if paid(alternative) then all(creature|mybattlefield) transforms((,newability[lifelink ueot],newability[deathtouch ueot])) ueot
kicker={1}{W}{B}
auto=kicker ifnot paid(alternative) then all(creature|mybattlefield) transforms((,newability[lifelink ueot],newability[deathtouch ueot],newability[indestructible ueot],newability[untap])) ueot
auto=ifnot paid(alternative) then all(creature|mybattlefield) transforms((,newability[indestructible ueot],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 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 its 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(*|opponentcastingzone):all(trigger[from]) transforms((,newability[pay[[{D:1}]] name(Discard a card) donothing?fizzle])) forever
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=canplayfromexile,vigilance,adventure
other={3}{W}{W} name(Adventure)
auto=if paid(alternative) then destroy all(creature[-giant]) && moveto(exile) all(this)
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=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=canplayfromexile,adventure
other={3}{B} name(Adventure)
auto=if paid(alternative) then ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ opponent && moveto(exile) all(this)
auto=@combat(attacking) source(this):if type(*|opponenthand)~lessthan~3 then 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=Reason // Believe
auto=deplete:3 controller && transforms((,newability[may moveto(mylibrary) target(<upto:3>*|mygraveyard)])) ueot
autograveyard={4}{G}{E}:flipacoin winability moverandom(creature) from(mylibrary) to(mybattlefield) winabilityend loseability moverandom(*[-creature]) from(mylibrary) to(myhand) loseabilityend flipend assorcery
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=*|opponentstack
auto=fizzle
text=Counter target spell that targets a permanent you control.
mana={W}
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 Pangolin
auto=@combat(attacking) source(this):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=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=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=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=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=@combat(attacking) source(this):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=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=Reef Worm
auto=@movedTo(this|mygraveyard) from(myBattlefield):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=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=becomesmonarch 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={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 moveto(myhand) notatarget(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=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[@movedTo(this|graveyard) from(battlefield):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=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=@movedTo(this|mygraveyard) from(Battlefield):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=@movedTo(this|graveyard) from(battlefield):name(return relentless dead) pay({B}) moveTo(hand)
auto=@movedTo(this|graveyard) from(battlefield):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=rehook target(creature|myBattlefield)
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 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=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}:auto=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=Renatas 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 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=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=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=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=Rescind
abilities=cycling
target=*
auto=moveTo(ownerHand)
autohand=__CYCLING__({2})
text=Return target permanent to its owner's hand. -- Cycling 2 ( 2 , Discard this card: Draw a card.)
mana={1}{U}{U}
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=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=@combat(attacking) source(this):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=Hound
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):_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[@combat(attacking) source(this):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=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={R or W}{R or W}
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=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=@movedto(this|graveyard) from(mybattlefield):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=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 from Extinction
auto=choice moveto(myhand) target(creature|mygraveyard)
auto=choice moveto(myhand) target(<2>creature[share!types!]|mygraveyard)
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=destroy target(artifact)
auto=destroy target(enchantment)
auto=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=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=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=Reverent Hoplite
auto=token(Human,Rev)*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=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[firststrike])) ueot
auto=@combat(attacking) source(this):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) 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=@combat(attacking) source(this):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=@combat(attacking) source(this):all(other creature[attacking]) 1/0 ueot
auto=@combat(attacking) source(this):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=@targeted(creature|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
auto=@movedto(creature[-token]|mybattlefield):choice name(Gains riot) name(Gains riot) all(trigger[to]) transforms((,newability[choice name(Counter 1/1) counter(1/1.1)],newability[choice name(Haste) haste all(this)])) 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=Riddleform
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=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=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=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=@combat(attacking) source(this):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=Rimrock Knight // Boulder Rush
abilities=canplayfromexile,cantblock,flash,adventure
restriction=myturnonly
other={R} name(Adventure)
auto=if paid(alternative) then target(creature|battlefield) 2/0 ueot
auto=if paid(alternative) then moveto(exile) all(this)
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=Ripjaw Raptor
auto=@damaged(this):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 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=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 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
aicode=activate moveTo(myhand) target(<anyamount>land[basic]|myLibrary)
auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && name(search 1 land) reveal:plibrarycount optionone name(choose 1 land) target(<1>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~1 then choice ability$!name(X=2) target(<2>*|myhand) reject!$ controller && name(search 2 lands) reveal:plibrarycount optionone name(choose 2 lands) target(<2>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~2 then choice ability$!name(X=3) target(<3>*|myhand) reject!$ controller && name(search 3 lands) reveal:plibrarycount optionone name(choose 3 lands) target(<3>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~3 then choice ability$!name(X=4) target(<4>*|myhand) reject!$ controller && name(search 4 lands) reveal:plibrarycount optionone name(choose 4 lands) target(<4>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~4 then choice ability$!name(X=5) target(<5>*|myhand) reject!$ controller && name(search 5 lands) reveal:plibrarycount optionone name(choose 5 lands) target(<5>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~5 then choice ability$!name(X=6) target(<6>*|myhand) reject!$ controller && name(search 6 lands) reveal:plibrarycount optionone name(choose 6 lands) target(<6>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~6 then choice ability$!name(X=7) target(<7>*|myhand) reject!$ controller && name(search 7 lands) reveal:plibrarycount optionone name(choose 7 lands) target(<7>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~7 then choice ability$!name(X=8) target(<8>*|myhand) reject!$ controller && name(search 8 lands) reveal:plibrarycount optionone name(choose 8 lands) target(<8>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~8 then choice ability$!name(X=9) target(<9>*|myhand) reject!$ controller && name(search 9 lands) reveal:plibrarycount optionone name(choose 9 lands) target(<9>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~9 then choice ability$!name(X=10) target(<10>*|myhand) reject!$ controller && name(search 10 lands) reveal:plibrarycount optionone name(choose 10 lands) target(<10>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~10 then choice ability$!name(X=11) target(<11>*|myhand) reject!$ controller && name(search 11 lands) reveal:plibrarycount optionone name(choose 11 lands) target(<11>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~11 then choice ability$!name(X=12) target(<12>*|myhand) reject!$ controller && name(search 12 lands) reveal:plibrarycount optionone name(choose 12 lands) target(<12>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~12 then choice ability$!name(X=13) target(<13>*|myhand) reject!$ controller && name(search 13 lands) reveal:plibrarycount optionone name(choose 13 lands) target(<13>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~13 then choice ability$!name(X=14) target(<14>*|myhand) reject!$ controller && name(search 14 lands) reveal:plibrarycount optionone name(choose 14 lands) target(<14>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~14 then choice ability$!name(X=15) target(<15>*|myhand) reject!$ controller && name(search 15 lands) reveal:plibrarycount optionone name(choose 15 lands) target(<15>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~15 then choice ability$!name(X=16) target(<16>*|myhand) reject!$ controller && name(search 16 lands) reveal:plibrarycount optionone name(choose 16 lands) target(<16>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~16 then choice ability$!name(X=17) target(<17>*|myhand) reject!$ controller && name(search 17 lands) reveal:plibrarycount optionone name(choose 17 lands) target(<17>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~17 then choice ability$!name(X=18) target(<18>*|myhand) reject!$ controller && name(search 18 lands) reveal:plibrarycount optionone name(choose 18 lands) target(<18>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~18 then choice ability$!name(X=19) target(<19>*|myhand) reject!$ controller && name(search 19 lands) reveal:plibrarycount optionone name(choose 19 lands) target(<19>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
auto=if type(*|myHand)~morethan~19 then choice ability$!name(X=20) target(<20>*|myhand) reject!$ controller && name(search 20 lands) reveal:plibrarycount optionone name(choose 20 lands) target(<20>land[basic]|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend revealend
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 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
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
aicode=activate reject notatarget(*[-land]|opponenthand)
other={3}{B} name(Spend black mana)
auto=if paid(alternative) then reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
auto=ifnot paid(alternative) then target(creature|battlefield) moveto(ownerhand)
kicker={B}
auto=kicker ifnot paid(alternative) then reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
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}{U}
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
autohand={0}:restriction{can play land} name(Lavaglide Pathway) name(Lavaglide Pathway) flip(Lavaglide Pathway) forcetype(land)
auto={T}:add{U}
text={T}: Add {U}.
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 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__PROLIFERATE_
auto=_DIES__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=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=@combat(attacking) source(this):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=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=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
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=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 cant be countered. -- Sliver spells cant 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=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=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=canplayfromexile,adventure
other={G} name(Adventure)
auto=if paid(alternative) then transforms((,newability[activatechooseacolor add{chosencolor} activatechooseend])) forever asSorcery && moveto(exile) all(this)
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=rehook target(creature[-human]|myBattlefield)
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=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
kicker=multi{2}{R}
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)~equalto~19 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 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 && discard:2 controller
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=Rubble Reading
target=land
auto=destroy
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=@combat(attacking) source(this):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 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=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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 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 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
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 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=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=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={target(*[black]|myhand)}:morph
autofaceup=target(player) life:-2
text=Deathtouch -- MorphReveal 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=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 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=aslongas(creature[fresh]|mybattlefield) 2/2
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=@targeted(this) from(*[instant;sorcery;enchantment]|mycastingzone):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=@movedTo(enchantment|myBattlefield):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 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
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=@combat(attacking) source(this): may moveTo(ownerhand) target(creature[power<=this])
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 owners hand if its power is less than Sage-Eye Avengerss 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=choice clone target(artifact)
auto=choice clone target(creature) && transforms(artifact) forever
auto=choice clone target(artifact) then clone target(creature) && transforms(artifact) forever
text=Choose one or both   Create a token thats a copy of target artifact.  Create a token thats a copy of target creature, except its 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 youre 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 werent 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=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=ability$!name(Choose creature) target(creature|mybattlefield) moveto(opponentbattlefield)!$ opponent
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 {1}
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 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
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=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 Smasher
abilities=first strike,cycling
autohand=__CYCLING__({2}{R})
autohand=@cycled(this|myHand):transforms((,newability[counter(0/0,1,First Strike],newability[this(counter{0/0.1.First Strike}>=1) first strike target(creature|myBattlefield)]))
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 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 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 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=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=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=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=@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 Fun
type=Creature
subtype=Saproling
power=1
toughness=1
color=green
[/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 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=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=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[@combat(attacking) source(this):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)
autograveyard={2}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{2}{R},exile two) activate castcard(normal)
text=Create a 1/1 red Satyr creature token with This creature cant 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 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=@combat(attacking) source(this):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=@combat(attacking) source(this):token(-473141)
auto=@combat(blocking) source(this):token(-473141)
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=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={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=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=Scapeshift
auto={S<anyamount>(land|myBattlefield)}:ability$!moveto(myBattlefield) and!(tap(noevent))! notatarget(<anyamount>land|mylibrary)!$ controller && shuffle
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=rehook target(creature|myBattlefield)
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 opponents 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=Scion of the Swarm
abilities=flying
auto=@lifeof(player) from(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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=Scour All Possibilities
aicode=activate draw:1
auto=name(Scry) reveal:2 optionone name(Put On Top) target(<upto:2>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<2>*|reveal) bottomoflibrary optiontwoend afterrevealed transforms((,newability[draw:1 controller])) oneshot afterrevealedend revealend
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=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
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=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=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
autohand={0}:restriction{can play land} 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.
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}.
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={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=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 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=Searing Barrage
target=creature
other={2}{R}{R}{R} name(Adamant)
auto=damage:5
auto=if paid(alternative) 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 type(land[fresh]|mybattlefield)~lessthan~1 then damage:1 && damage:1 target(creature|targetedpersonsBattlefield)
auto=if type(land[fresh]|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=Season of Growth
auto=@movedto(creature|mybattlefield):scry:1 scrycore delayed dontshow donothing scrycoreend scryend
auto=@targeted(creature|myBattlefield) from(instant,sorcery|mystack):draw:1
auto=@targeted(creature|mybattlefield) from(*[instant;sorcery]|nonbattlezone,stack):draw:1
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=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=draw:2 &&2ability$! reject notatarget(<2>*|myhand) and!( if cantargetcard(*[-land]|*) then token(Elemental,creature Elemental,1/1,red) all(abilitycontroller) oneshot )! !$ targetedplayer
auto=ability$! reject notatarget(<2>*|myhand) reject and!(draw:1)!!$ 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=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=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 citys blessing for the rest of the game.) -- Draw two cards. If you have the citys blessing, draw three cards instead.
mana={1}{U}{U}
type=Sorcery
[/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=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
auto=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 revealend limit:1
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=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=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}.
type=Land
[/card]
[card]
name=Sejiri Shelter
autohand={0}:restriction{can play land} 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.
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$! name(populate) clone notatarget(creature[token]|mybattlefield) !$ 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 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 creatures 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=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
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 Totem
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 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 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's Eyes
target=creature
auto=vigilance
auto=1/1
autograveyard={W}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{W}, exile two) activate castcard(normal)
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=if compare(restriction{assorcery}~morethan~0) then 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=Seraph of the Scales
abilities=flying
auto={W}:vigilance
auto={B}:deathtouch
auto=@movedTo(this|graveyard) from(battlefield):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=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 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=@movedTo(this|myGraveyard) from(myBattlefield):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=@movedTo(enchantment|myBattlefield):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=@movedTo(enchantment|myBattlefield):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
kicker=multi{G}
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature) transforms((,newability[1/1 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}: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 ueot],newability[{T}:target(other creature) dynamicability<!powerstrike eachother!>])) ueot
auto=if compare(kicked)~equalto~19 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature) transforms((,newability[1/1 ueot],newability[{T}: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
aicode=activate moveTo(myhand) target(Brallin^ Skyshark Rider|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Brallin^ Skyshark Rider|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Brallin^ Skyshark Rider|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=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=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=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=Shadowspear
auto={2}:equip
auto=teach(creature) 1/1
auto=teach(creature) trample
auto=teach(creature) lifelink
auto=teach(creature) transforms((,newability[{1}:lord(*|opponentBattlefield) -indestructible ueot && -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=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=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[phaseaction[endofturn once] moveTo(exile)],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 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=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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 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=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=foreach(creature[power>=4]|mybattlefield) draw:1 opponent && destroy all(creature)
auto=foreach(creature[power>=4]|mybattlefield) draw:1 controller && destroy all(creature)
text=Each player who controls a creature with power 4 or greater draws a card. Then destroy all creatures.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Shattering Spree
auto=choice name(Don't Replicate) ability$!name(Destroy 1 artifact) name(Destroy 1 artifact) target(*[artifact]) destroy!$ controller
auto=choice name(Replicate 1 time) ability$!name(Destroy 2 artifacts) pay[[{R}]] name(Destroy 2 artifacts) target(<2>*[artifact]) destroy!$ controller
auto=choice name(Replicate 2 times) ability$!name(Destroy 3 artifacts) pay[[{R}{R}]] name(Destroy 3 artifacts) target(<3>*[artifact]) destroy!$ controller
auto=choice name(Replicate 3 times) ability$!name(Destroy 4 artifacts) pay[[{R}{R}{R}]] name(Destroy 4 artifacts)target(<4>*[artifact]) destroy!$ controller
auto=choice name(Replicate 4 times) ability$!name(Destroy 5 artifacts) pay[[{R}{R}{R}{R}]] name(Destroy 5 artifacts) target(<5>*[artifact]) destroy!$ controller
auto=choice name(Replicate 5 times) ability$!name(Destroy 6 artifacts) pay[[{R}{R}{R}{R}{R}]] name(Destroy 6 artifacts) target(<6>*[artifact]) destroy!$ controller
auto=choice name(Replicate 6 times) ability$!name(Destroy 7 artifacts) pay[[{R}{R}{R}{R}{R}{R}]] name(Destroy 7 artifacts) target(<7>*[artifact]) destroy!$ controller
auto=choice name(Replicate 7 times) ability$!name(Destroy 8 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 8 artifacts) target(<8>*[artifact]) destroy!$ controller
auto=choice name(Replicate 8 times) ability$!name(Destroy 9 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 9 artifacts) target(<9>*[artifact]) destroy!$ controller
auto=choice name(Replicate 9 times) ability$!name(Destroy 10 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 10 artifacts) target(<10>*[artifact]) destroy!$ controller
auto=choice name(Replicate 10 times) ability$!name(Destroy 11 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 11 artifacts) target(<11>*[artifact]) destroy!$ controller
auto=choice name(Replicate 11 times) ability$!name(Destroy 12 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 12 artifacts) target(<12>*[artifact]) destroy!$ controller
auto=choice name(Replicate 12 times) ability$!name(Destroy 13 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 13 artifacts) target(<13>*[artifact]) destroy!$ controller
auto=choice name(Replicate 13 times) ability$!name(Destroy 14 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 14 artifacts)target(<14>*[artifact]) destroy!$ controller
auto=choice name(Replicate 14 times) ability$!name(Destroy 15 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 15 artifacts) target(<15>*[artifact]) destroy!$ controller
auto=choice name(Replicate 15 times) ability$!name(Destroy 16 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 16 artifacts) target(<16>*[artifact]) destroy!$ controller
auto=choice name(Replicate 16 times) ability$!name(Destroy 17 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 17 artifacts) target(<17>*[artifact]) destroy!$ controller
auto=choice name(Replicate 17 times) ability$!name(Destroy 18 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 18 artifacts) target(<18>*[artifact]) destroy!$ controller
auto=choice name(Replicate 18 times) ability$!name(Destroy 19 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 19 artifacts) target(<19>*[artifact]) destroy!$ controller
auto=choice name(Replicate 19 times) ability$!name(Destroy 20 artifacts) pay[[{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}]] name(Destroy 20 artifacts) target(<20>*[artifact]) destroy!$ 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
autohand={0}:restriction{can play land} 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.
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}.
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
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 Flock // Usher to Safety
abilities=canplayfromexile,flash,adventure
restriction=myturnonly
other={W} name(Adventure)
auto=if paid(alternative) then target(*|myBattlefield) moveTo(ownerhand)
auto=if paid(alternative) then moveto(exile) all(this)
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=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=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 owners 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=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=rehook target(creature[knight]|mybattlefield)
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=mustattack
auto=2/2
auto=@combat(attacking) source(this):token(Treasure Shi)
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 thats 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 isnt 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 dont 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 && discard(*|myhand)
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=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 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=@movedTo(enchantment|myBattlefield):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=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=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=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=@combat(attacking) source(this):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
auto=@combat(attacking) source(this):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 cant 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=@combat(attacking) source(this):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=@combat(attacking) source(this):all(creature|mybattlefield) transforms((,newability[@combat(blocked,turnlimited) source(this):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=@combat(attacking) source(this):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 of Towers
kicker=multi{1}{R}
auto=if compare(kicked)~equalto~0 then name(choose 1 mountain) name(choose 1 creature) target(land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~1 then name(choose 2 mountains) name(choose 2 mountains) target(<upto:2>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~2 then name(choose 3 mountains) name(choose 3 mountains) target(<upto:3>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~3 then name(choose 4 mountains) name(choose 4 mountains) target(<upto:4>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~4 then name(choose 5 mountains) name(choose 5 mountains) target(<upto:5>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~5 then name(choose 6 mountains) name(choose 6 mountains) target(<upto:6>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~6 then name(choose 7 mountains) name(choose 7 mountains) target(<upto:7>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~7 then name(choose 8 mountains) name(choose 8 mountains) target(<upto:8>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~8 then name(choose 9 mountains) name(choose 9 mountains) target(<upto:9>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~9 then name(choose 10 mountains) name(choose 10 mountains) target(<upto:10>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~10 then name(choose 11 mountains) name(choose 11 mountains) target(<upto:11>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~11 then name(choose 12 mountains) name(choose 12 mountains) target(<upto:12>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~12 then name(choose 13 mountains) name(choose 13 mountains) target(<upto:13>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~13 then name(choose 14 mountains) name(choose 14 mountains) target(<upto:14>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~14 then name(choose 15 mountains) name(choose 15 mountains) target(<upto:15>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~15 then name(choose 16 mountains) name(choose 16 mountains) target(<upto:16>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~16 then name(choose 17 mountains) name(choose 17 mountains) target(<upto:17>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~17 then name(choose 18 mountains) name(choose 18 mountains) target(<upto:18>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~18 then name(choose 19 mountains) name(choose 19 mountains) target(<upto:19>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
auto=if compare(kicked)~equalto~19 then name(choose 20 mountains) name(choose 20 mountains) target(<upto:20>land[mountain]) transforms((Creature,setpower=3,settoughness=1)) forever
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=@damaged(this):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
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=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=Silas Renn, Seeker Adept
abilities=deathtouch,partner
auto=@combatdamaged(player) from(this):may name(cast card) castcard(normal) target(*[artifact]|mygraveyard)
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
kicker=multi{2}{B}
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)~equalto~19 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 notatarget(creature|mybattlefield) && transforms((,newability[target(creature|battlefield) haste])) ueot
auto=@movedto(other creature|graveyard) from(mybattlefield):counter(1/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=Silundi Isle
auto=tap(noevent)
auto={T}:add{U}
text=Silundi Isle enters the battlefield tapped. -- {T}: Add {U}.
type=Land
[/card]
[card]
name=Silundi Vision
autohand={0}:restriction{can play land} name(Silundi Isle) name(Silundi Isle) flip(Silundi Isle) forcetype(land)
aicode=activate target(instant,sorcery[zpos<=6]|mylibrary) moveto(myhand)
auto=name(Reveal 6 cards) reveal:6 optionone name(Get instant or sorcery) target(instant,sorcery|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<6>*|reveal) bottomoflibrary optiontwoend revealend
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.
mana={2}{U}
type=Instant
[/card]
[card]
name=Silvar, Devourer of the Free
abilities=hiddenface,menace,partner
aicode=activate moveTo(myhand) target(Trynn^ Champion of Freedom|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Trynn^ Champion of Freedom|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Trynn^ Champion of Freedom|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=Silverback Shaman
abilities=trample
auto=@movedTo(this|graveyard) from(battlefield):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=Silverclad Ferocidons
auto=@damaged(this) from(*|opponentstack,opponentbattlefield):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
other={1}{W}{W}{W} name(Adamant)
auto=all(creature|mybattlefield) counter(1/1,1)
auto=if paid(alternative) then all(creature|mybattlefield) vigilance
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=canplayfromexile,flash,adventure
restriction=myturnonly
other={2}{W} name(Adventure)
auto=if paid(alternative) then target(creature|battlefield) transform((,newability[2/2],newability[untap])) ueot
auto=if paid(alternative) then moveto(exile) all(this)
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=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=@combat(attacking) source(this):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=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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=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(*[zpos<=7]|mylibrary) moveto(ownerhand)
auto=reveal:7 optionone name(Look at the top four cards) target(enchantment[aura]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<7>*|reveal) bottomoflibrary optiontwoend revealend
auto=@targeted(creature|myBattlefield) from(aura):token(Human,Sio)
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=Siren Lookout
abilities=flying
auto=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 revealend limit:1
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 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 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(*|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'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=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=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=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=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 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=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 isnt monstrous, put four +1/+1 counters on it and it becomes monstrous.) -- As long as Skittering Crustacean is monstrous, it has hexproof. (It cant 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=target(land[basic]|mylibrary) moveto(myhand)
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 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 cant 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 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=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=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}.
type=Land
[/card]
[card]
name=Skyclave Cleric
autohand={0}:restriction{can play land} 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.
mana={1}{W}
type=Creature
subtype=Kor Cleric
power=1
toughness=3
[/card]
[card]
name=Skyclave Geopede
abilities=trample
auto=@movedTo(land|myBattlefield):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=rehook target(creature|myBattlefield)
auto=teach(creature) transforms((,newability[@movedTo(land|myBattlefield):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=@combat(attacking) source(this):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=becomesmonarch 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=@combat(attacking) source(this):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=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=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 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=Slaying Fire
target=creature,player,planeswalker
other={R}{R}{R} name(Adamant)
auto=if paid(alternative) then name(Deals 4 damages) name(Deals 4 damages) damage:4 target(player,creature,planeswalker)
auto=ifnot paid(alternative) then name(Deals 3 damages) name(Deals 3 damages) damage:3 target(player,creature,planeswalker)
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=tap
auto=frozen
autograveyard={2}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{2}{U},exile three) activate castcard(normal)
text=Tap target creature. It doesnt untap during its controllers 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):_ASCEND_
auto=_CITY'S_BLESSING_ transforms((,newability[cantattack],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=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=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 Spy (f)
auto=@combatdamagefoeof(player) from(this):all(this) rolladie 6 winability life:-lastrollresult opponent winabilityend loseability life:-lastrollresult opponent loseabilityend rollend
auto=@combatdamageof(player) from(this):all(this) rolladie 6 winability life:-lastrollresult controller winabilityend loseability life:-lastrollresult controller loseabilityend rollend
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=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=canplayfromexile,lifelink,adventure
other={B} name(Adventure)
auto=if paid(alternative) then life:type:creature[knight]:mybattlefieldminus1minusend controller && life:-type:creature[knight]:mybattlefieldminus1minusend opponent && moveto(exile) all(this)
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 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=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=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={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=@damaged(this):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=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=Snubhorn Sentry
auto=_ASCEND_
auto=@movedTo(*|myBattlefield):_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 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=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
kicker=multi{1}{G}
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)~equalto~19 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=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 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$! name(populate) clone notatarget(creature[token]|mybattlefield) !$ 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}.
type=Land
[/card]
[card]
name=Song-Mad Treachery
autohand={0}:restriction{can play land} 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.
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=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=choice name(Counter creature spell) target(*[creature]|stack) fizzle
auto=choice name(Return creature to hand) target(*[creature]|mygraveyard) moveto(myhand)
auto=choice name(Choose both) target(*[creature]|stack) fizzle && transforms((,newability[target(*[creature]|mygraveyard) moveto(myhand)])) 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) sacrifice notatarget(*[creature;planeswalker;manacost=convertedcost:highest:*: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 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 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 moveto(myhand) notatarget(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 moveto(myhand) notatarget(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(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 cant 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=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={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=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=target(creature|opponentbattlefield) moveto(mybattlefield)
auto=@movedTo(this|nonbattlezone) from(battlefield):target(creature|mybattlefield) moveto(opponentbattlefield)
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 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 and!( transforms((-legendary)) forever and!(counter(1/1))! )!
auto=choice name(Copy planeswalker) target(planeswalker|mybattlefield) copy and!( transforms((-legendary)) forever 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=@movedTo(this|graveyard) from(battlefield):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=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=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=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=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=Spell Crumple
target=*|opponentstack
auto=fizzleto(library) && target(*[zpos=1]|opponentlibrary) bottomoflibrary
auto=bottomoflibrary all(this)
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 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
auto=token(435451)
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=@targeted(creature[power>=5]|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
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=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=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=@combat(blocked,turnlimited) source(this):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 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'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 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
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 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 Insight
auto=if compare(restriction{assorcery}~morethan~0) then 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=Spikefield Cave
auto=tap(noevent)
auto={T}:add{R}
text=Spikefield Cave enters the battlefield tapped. -- {T}: Add {R}.
type=Land
[/card]
[card]
name=Spikefield Hazard
autohand={0}:restriction{can play land} 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.
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=@movedTo(this|graveyard) from(battlefield):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 Megalodon
abilities=opponentshroud
auto=@combat(attacking) source(this):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
aicode=activate transforms((,newability[choice all(*[zpos=1]|mylibrary) moveto(myExile) and!(deplete:4)!])) ueot
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):_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 of Malevolence
auto=@movedto(this|graveyard) from(battlefield):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 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 pay({R}) moveto(myhand) all(this)
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=if 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(*[creature;player])]))
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=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=@movedTo(land|myBattlefield):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):transforms((,newability[counter(0/0,1,Lifelink],newability[this(counter{0/0.1.Lifelink}>=1) lifelink target(creature|myBattlefield)]))
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=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 isnt monstrous, put three +1/+1 counters on it and it becomes monstrous.) -- When Splitting Slime becomes monstrous, create a token thats a copy of Splitting Slime. (The token has no counters and isnt 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=Spontaneous Flight
target=creature
auto=2/2 ueot
auto=counter(0/0,1,Flying)
auto=transforms((,newability[this(counter{0/0.1.Flying}>=1) flying]))
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=@damaged(this):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=@movedTo(this|mygraveyard) from(battlefield):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 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=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=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=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
autograveyard=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=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=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=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 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=@combat(attacking) source(this):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 cant 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=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=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 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 cant 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=becomesmonarch 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 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=@movedTo(this|graveyard) from(battlefield):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 Hellkite
abilities=flying
auto={2}:1/0 ueot
auto=@combatdamaged(player) from(this):phaseaction<postbattle> may {X}:destroy all(*[-land;manacost=X]) opponent limit:1
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) rolladie 6 winability donothing winabilityend loseability donothing loseabilityend rollend
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=@combat(attacking) source(this):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=Steelgaze Griffin
abilities=flying
auto=@drawof(player):transforms((,newability[@drawof(player) restriction{once}: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=Stern Dismissal
target=creature,enchantment
auto=moveTo(ownerHand)
text=Return target creature or enchantment an opponent controls to its owners 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 opponents 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=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[@combat(attacking) source(this):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=@movedTo(this|graveyard) from(mybattlefield):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=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=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=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=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=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):_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 Herald
abilities=haste
auto=activate castcard(normal) target(<anyamount>aura|myGraveyard) and!(transforms((,newability[treason],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 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 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 Strike
target=creature
auto=first strike
auto=+1/+0
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's Wrath
auto=damage:4 all(creature,planeswalker)
text=Storms Wrath deals 4 damage to each creature and each planeswalker.
mana={2}{R}{R}
type=Sorcery
[/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
other={2}{U}{W} name(Kicker white)
auto=if paid(alternative) then life:3 controller
kicker={2}{B}
auto=kicker ifnot paid(alternative) then bury target(creature[-black])
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
auto=@damaged(this) from(NoncombatDamage):all(trigger[to]) vigor
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
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=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
kicker=multi{2}{U}{U}
auto=if compare(kicked)~equalto~0 then ability$!name(Choose one) choice name(Target opponent) deplete:2 opponent && target(<upto:4>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:2 controller && target(<upto:4>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~1 then ability$!name(Choose one) choice name(Target opponent) deplete:4 opponent && target(<upto:8>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:4 controller && target(<upto:8>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~2 then ability$!name(Choose one) choice name(Target opponent) deplete:6 opponent && target(<upto:12>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:6 controller && target(<upto:12>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~3 then ability$!name(Choose one) choice name(Target opponent) deplete:8 opponent && target(<upto:16>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:8 controller && target(<upto:26>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~4 then ability$!name(Choose one) choice name(Target opponent) deplete:10 opponent && target(<upto:20>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:10 controller && target(<upto:20>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~5 then ability$!name(Choose one) choice name(Target opponent) deplete:12 opponent && target(<upto:24>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:12 controller && target(<upto:24>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~6 then ability$!name(Choose one) choice name(Target opponent) deplete:14 opponent && target(<upto:28>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:14 controller && target(<upto:28>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~7 then ability$!name(Choose one) choice name(Target opponent) deplete:16 opponent && target(<upto:32>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:16 controller && target(<upto:32>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~8 then ability$!name(Choose one) choice name(Target opponent) deplete:18 opponent && target(<upto:36>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:18 controller && target(<upto:36>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~9 then ability$!name(Choose one) choice name(Target opponent) deplete:20 opponent && target(<upto:40>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:20 controller && target(<upto:40>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~10 then ability$!name(Choose one) choice name(Target opponent) deplete:22 opponent && target(<upto:44>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:22 controller && target(<upto:44>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~11 then ability$!name(Choose one) choice name(Target opponent) deplete:24 opponent && target(<upto:48>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:24 controller && target(<upto:48>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~12 then ability$!name(Choose one) choice name(Target opponent) deplete:26 opponent && target(<upto:52>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:26 controller && target(<upto:52>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~13 then ability$!name(Choose one) choice name(Target opponent) deplete:28 opponent && target(<upto:56>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:28 controller && target(<upto:56>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~14 then ability$!name(Choose one) choice name(Target opponent) deplete:30 opponent && target(<upto:60>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:30 controller && target(<upto:60>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~15 then ability$!name(Choose one) choice name(Target opponent) deplete:32 opponent && target(<upto:64>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:32 controller && target(<upto:64>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~16 then ability$!name(Choose one) choice name(Target opponent) deplete:34 opponent && target(<upto:68>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:34 controller && target(<upto:68>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~17 then ability$!name(Choose one) choice name(Target opponent) deplete:36 opponent && target(<upto:72>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:36 controller && target(<upto:72>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~18 then ability$!name(Choose one) choice name(Target opponent) deplete:38 opponent && target(<upto:76>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:38 controller && target(<upto:76>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ controller
auto=if compare(kicked)~equalto~19 then ability$!name(Choose one) choice name(Target opponent) deplete:40 opponent && target(<upto:80>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! _ choice name(Target controller) deplete:40 controller && target(<upto:80>*|mygraveyard) moveTo(mylibrary) and!(shuffle controller)! !$ 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=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=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=Stumpsquall 
auto=counter(1/1,X)
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=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 Spinnerets
target=creature
auto=1/3 ueot
auto=counter(0/0,1,Reach)
auto=transforms((,newability[this(counter{0/0.1.Reach}>=1) reach],newability[untap(this)]))
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(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=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=if compare(restriction{assorcery}~morethan~0) then 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=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=@damaged(this):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 paid(alternative) then damage:7 target(<upto:3>player,creature,planeswalker)
auto=ifnot paid(alternative) then ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planewsalker) damage:2!$ controller
auto=ifnot paid(alternative) 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=@movedto(this|graveyard) from(battlefield):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=Sunhome Stalwart
abilities=first strike,mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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 Seeker
abilities=vigilance
auto=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 revealend limit:1
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
other={4}{W}{U} name(kicker Blue)
auto=if paid(alternative) then draw:2 controller
kicker={1}{G}
auto=kicker ifnot paid(alternative) then destroy target(creature[flying])
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
auto=counter(0/0,3,brick)
auto={2}{T}{counter(0/0,-1,brick)}:draw:1
auto={2}{T}: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=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=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. (Its 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 dont control.
mana={3}{R}
type=Creature
subtype=Badger Dinosaur
power=3
toughness=3
[/card]
[card]
name=Surrak Dragonclaw
abilities=flash,nofizzle
auto=@targeted(creature|mystack) from(instant|opponentzones):choice name(Creaure can't be countered) name(Creaure can't be countered) all(instant|opponentzones) fizzle
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=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=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=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=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=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=@combat(attacking) source(this):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=Sweet Oblivion
auto=deplete:4 target(player)
autograveyard={3}{U}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{U},exile four) activate castcard(normal)
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 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):notatarget(<anyamount>*[artifact;creature;enchantment;land;planeswalker;player]) 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-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 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=Sylvia Brightspear
abilities=double strike,partner
auto=lord(dragon|myBattlefield) haste double strike
auto=may moveto(myhand) notatarget(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=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=@movedTo(this|graveyard) from(battlefield):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=Syr Alin, the Lion's Claw
abilities=first strike
auto=@combat(attacking) source(this):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=@combat(attacking) source(this):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=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(another cleric[-token]|myGraveyard) from(Battlefield):may draw:1 controller && life:-1 controller
auto=@movedTo(another 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=@combat(attacking) source(this):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=@movedto(*[instant;sorcery]|mystack) restriction{lastturn(this[attacking]|myBattlefield)}: rebound
text=Instant, sorcery, and Dragon spells you control cant 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=Taj-Nar Swordsmith
aicode=activate moveTo(mybattlefield) target(equipment|mylibrary)
auto=name(May pay X for equipment) may pay[[{0}]]:name(search equipment) Reveal:type:[Equipment<=0]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=0]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=0]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{1}]]:name(search equipment) Reveal:type:[Equipment<=1]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=1]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=1]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{2}]]:name(search equipment) Reveal:type:[Equipment<=2]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=2]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=2]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{3}]]:name(search equipment) Reveal:type:[Equipment<=3]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=3]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=3]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{4}]]:name(search equipment) Reveal:type:[Equipment<=4]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=4]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=4]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{5}]]:name(search equipment) Reveal:type:[Equipment<=5]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=5]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=5]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{6}]]:name(search equipment) Reveal:type:[Equipment<=6]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=6]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=6]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{7}]]:name(search equipment) Reveal:type:[Equipment<=7]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=7]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=7]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{8}]]:name(search equipment) Reveal:type:[Equipment<=8]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=8]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=8]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{9}]]:name(search equipment) Reveal:type:[Equipment<=9]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=9]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=9]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{10}]]:name(search equipment) Reveal:type:[Equipment<=10]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=10]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=10]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{11}]]:name(search equipment) Reveal:type:[Equipment<=11]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=11]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=11]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{12}]]:name(search equipment) Reveal:type:[Equipment<=12]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=12]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=12]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{13}]]:name(search equipment) Reveal:type:[Equipment<=13]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=13]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=13]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{14}]]:name(search equipment) Reveal:type:[Equipment<=14]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=14]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=14]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{15}]]:name(search equipment) Reveal:type:[Equipment<=15]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=15]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=15]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{16}]]:name(search equipment) Reveal:type:[Equipment<=16]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=16]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=16]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{17}]]:name(search equipment) Reveal:type:[Equipment<=17]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=17]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=17]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{18}]]:name(search equipment) Reveal:type:[Equipment<=18]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=18]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=18]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{19}]]:name(search equipment) Reveal:type:[Equipment<=19]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=19]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=19]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
auto=name(May pay X for equipment) may pay[[{20}]]:name(search equipment) Reveal:type:[Equipment<=20]:mylibrary revealzone(mylibrary) optionone name(choose an equipment) target(<1>[equipment<=20]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(mybattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>[equipment<=20]|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=Talisman of Conviction
auto={T}:add {1}
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 {1}
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 {1}
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 {1}
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=@combat(attacking) source(this):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 draw:2 controller
auto=name(Scry) reveal:4 optionone name(Put On Top) target(<upto:4>*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed transforms((,newability[draw:2 controller])) oneshot afterrevealedend revealend
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=Tangleclaw Werewolf
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
autohand={0}:restriction{can play land} name(Tangled Vale) name(Tangled Vale) flip(Tangled Vale) forcetype(land)
auto={T}:add{G}
text={T}: Add {G}.
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}.
type=Land
[/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=@combat(attacking) source(this): untap target(creature|myBattlefield) && transforms((creature,setpower=4,settoughness=4,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=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=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(-473141)*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=@movedTo(this|graveyard) from(battlefield):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=@movedTo(land|myBattlefield):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=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=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=@combat(attacking) source(this):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 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 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=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 Thief
auto=cantbeblockedby(creature[auras>=1])
auto=cantbeblockedby(enchantment creature)
text=Temple Thief cant 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=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=Tempting Witch
auto=token(-473141)
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=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=Tendershoot Dryad
auto=_ASCEND_
auto=@movedTo(*|myBattlefield):_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
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=@combat(attacking) source(this):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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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 Scythecat
abilities=trample
auto=@movedTo(land|myBattlefield):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=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
target=*|stack
aicode=activate target(*[zpos<=X]|mylibrary) moveto(myhand)
auto=choice name(Look X cards) reveal:X optionone name(Get a Card) target(<2>*|reveal) moveto(myhand) optiononeend optiontwo target(<X>*|reveal) bottomoflibrary optiontwoend revealend
auto=choice name(Counter target spell) transforms((,newability[pay[[{value:storedxx}]] 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 Thassas 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 upkeep:target(creature|mybattlefield) moveto(exile) and!(moveto(mybattlefield))!
auto={3}{U}:tap target(creature)
text=Indestructible -- As long as your devotion to blue is less than five, Thassa isnt 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
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=aslongas(The Akroan War|mybattlefield) shackle target(creature)
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|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 Big Idea
auto={2}{BR}{BR}{T}:all(this) rolladie 6 winability token(Brainiac,Creature Brainiac,1/1,red)*lastrollresult winabilityend loseability token(Brainiac,Creature Brainiac,1/1,red)*lastrollresult loseabilityend rollend
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(myexile) target(<1>*|graveyard) && life:1 controller _ choice name(Exile 2 cards) moveto(myexile) 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 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 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 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 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(Human,The)
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 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=@combat(attacking) source(this):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 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=@movedTo(this|graveyard) from(battlefield):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 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)
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}) @movedto(*[instant;sorcery]|mystack):all(trigger[to]<1>) transforms((,newability[castcard(copied noevent)])) forever
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 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 Scarab God
auto={2}{U}{B}:target(creature|graveyard) clone and!( transforms((Zombie,setpower=4,settoughness=4,black)) forever )! && moveTo(exile)
auto=@each my upkeep:foreach(zombie|mybattlefield) life:-1 opponent
auto=@each my upkeep:reveal:type:zombie:mybattlefield optionone name(Scry) target(<60>*|reveal) moveto(mylibrary) optiononeend revealend
auto=@movedTo(this|graveyard) from(battlefield):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=@movedTo(this|graveyard) from(battlefield):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 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 dont control. (Each deals damage equal to its power to the other.)
mana={2}{R}
type=Enchantment
subtype=Saga
[/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=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=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=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=if paid(alternative) then choice name(Choose equipment artifact) target(artifact[equipment;manacost<=X]) moveTo(myBattlefield) and!(rehook)!
auto=if paid(alternative) then choice name(Choose non-equipment artifact) target(artifact[manacost<=X]) moveTo(myBattlefield)
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=becomesmonarch 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=@combat(attacking) source(this):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=Thornscape Battlemage
other={2}{G}{W} name(Kicker white)
auto=if paid(alternative) then destroy target(artifact)
kicker={R}
auto=kicker ifnot paid(alternative) then damage:2 target(creature,player)
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=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
aicode=activate reject notatarget(*[-land]|opponenthand)
auto=reveal:type:*:opponenthand revealzone(opponenthand) optionone name(choose discards) notatarget(<1>*[-land]|reveal) transforms((,newability[moveto(ownerhand) all(other *|reveal)],newability[moveto(ownerhand) and!(reject)!])) ueot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )!  optiontwoend revealend
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 revealend
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=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=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 may bottomoflibrary all(*[zpos=1]|mylibrary)
aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(land|*) then moveto(mybattlefield) tap(noevent))!
auto={4}:name(Scry 1) reveal:1 optionone name(Put On Top) target(*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<1>*|reveal) bottomoflibrary optiontwoend revealend && reveal:1 optionone target(land|reveal) moveto(mybattlefield) tap(noevent) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(myhand) optiontwoend revealend
text={4}: Scry 1, then reveal the top card of your library. If its 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=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 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}{S(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 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}:becomesmonarch 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=@targeted(*[manacosto>=5]|mystack) from(instant|opponentzones):choice name(Spell can't be countered) name(Spell can't be countered) all(instant|opponentzones) fizzle
text=Flash -- Flying -- Spells you cast with converted mana cost 5 or greater cost {1} less to cast and cant 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
auto=choice name(Don't replicate) ability$!name(Create 1 token) name(Create 1 token) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)!$ controller
auto=choice name(Replicate 1 time) ability$!name(Create 2 tokens) pay[[{2}{U}]] name(Create 2 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*2!$ controller
auto=choice name(Replicate 2 times) ability$!name(Create 3 tokens) pay[[{4}{U}{U}]] name(Create 3 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*3!$ controller
auto=choice name(Replicate 3 times) ability$!name(Create 4 tokens) pay[[{6}{U}{U}{U}]] name(Create 4 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*4!$ controller
auto=choice name(Replicate 4 times) ability$!name(Create 5 tokens) pay[[{8}{U}{U}{U}{U}]] name(Create 5 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*5!$ controller
auto=choice name(Replicate 5 times) ability$!name(Create 6 tokens) pay[[{10}{U}{U}{U}{U}{U}]] name(Create 6 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*6!$ controller
auto=choice name(Replicate 6 times) ability$!name(Create 7 tokens) pay[[{12}{U}{U}{U}{U}{U}{U}]] name(Create 7 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*7!$ controller
auto=choice name(Replicate 7 times) ability$!name(Create 8 tokens) pay[[{14}{U}{U}{U}{U}{U}{U}{U}]] name(Create 8 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*8!$ controller
auto=choice name(Replicate 8 times) ability$!name(Create 9 tokens) pay[[{16}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 9 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*9!$ controller
auto=choice name(Replicate 9 times) ability$!name(Create 10 tokens) pay[[{18}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 10 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*10!$ controller
auto=choice name(Replicate 10 times) ability$!name(Create 11 tokens) pay[[{20}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 11 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*11!$ controller
auto=choice name(Replicate 11 times) ability$!name(Create 12 tokens) pay[[{22}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 12 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*12!$ controller
auto=choice name(Replicate 12 times) ability$!name(Create 13 tokens) pay[[{24}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 13 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*13!$ controller
auto=choice name(Replicate 13 times) ability$!name(Create 14 tokens) pay[[{26}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 14 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*14!$ controller
auto=choice name(Replicate 14 times) ability$!name(Create 15 tokens) pay[[{28}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 15 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*15!$ controller
auto=choice name(Replicate 15 times) ability$!name(Create 16 tokens) pay[[{30}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 16 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*16!$ controller
auto=choice name(Replicate 16 times) ability$!name(Create 17 tokens) pay[[{32}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 17 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*17!$ controller
auto=choice name(Replicate 17 times) ability$!name(Create 18 tokens) pay[[{34}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 18 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*18!$ controller
auto=choice name(Replicate 18 times) ability$!name(Create 19 tokens) pay[[{36}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 19 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*19!$ controller
auto=choice name(Replicate 19 times) ability$!name(Create 20 tokens) pay[[{38}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Create 20 tokens) token(Weird,Creature Weird,3/3,blue,defender,flying,unearth)*20!$ 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=@combat(attacking) source(this):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 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
other={2}{R}{G} name(Kicker green)
auto=if paid(alternative) then destroy target(enchantment)
kicker={1}{B}
auto=kicker ifnot paid(alternative) then target(player) ability$!name(Discard 2 cards) reject notatarget(<2>*|myhand)!$ targetedplayer
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=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=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 cant cast spells during your turn.
mana={3}{U}
type=Creature
subtype=Fish
power=3
toughness=4
[/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=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=@combat(attacking) source(this):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=@combat(attacking) source(this):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}: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}.
type=Land
[/card]
[card]
name=Time Out
auto=target(*[-land]|battlefield) rolladie 6 winability moveto(ownerlibrary) and!(shuffle)! winabilityend loseability moveto(ownerlibrary) and!(shuffle)! loseabilityend rollend
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=notatarget(creature|myBattlefield) moveto(ownerhand)
auto=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=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):_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=@combat(blocked) source(this):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 cant attack.) -- Sacrifice Tinder Wall: Add {R}{R}. -- {R}, Sacrifice Tinder Wall: It deals 2 damage to target creature its 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=Tishana's Wayfinder
auto=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 revealend limit:1
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=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=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 players 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=Titania's Song
auto=lord(artifact[-creature]) transforms((creature,noactivatedability,newability[manacost/manacost]))
auto=@movedTo(this|myGraveyard) from(battlefield):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 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):transforms((,newability[counter(0/0,1,Trample],newability[this(counter{0/0.1.Trample}>=1) trample target(creature|myBattlefield)])))
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
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=@movedTo(this|graveyard) from(battlefield):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=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[@movedTo(this|graveyard) from(battlefield):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=@movedTo(land|myBattlefield):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
other={2}{R} name(Trouble)
auto=if paid(alternative) then ability$!name(Choose one) choice name(Damage opponent) damage:type:*:opponenthand opponent _ choice name(Damage controller) damage:type:*:myhand controller!$ controller
kicker={2}{R}
auto=kicked ifnot paid(alternative) then ability$!name(Choose one) choice name(Damage opponent) damage:type:*:opponenthand opponent _ choice name(Damage controller) damage:type:*:myhand controller!$ controller
auto=ifnot paid(alternative) then target(player) 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 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=Tomb Robber
abilities=menace
auto={1}{D(*|myhand)}:name(Explores) 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 revealend limit:1
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=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 of Legends
auto=counter(0/0,1,Page) all(this)
auto=@movedto(*[iscommander]|myBattlefield):conunter(0/0,1,Page) all(this)
auto=@combat(attacking) source(creature[iscommander]|myBattlefield):conunter(0/0,1,Page) all(this)
auto={1}{T}{C(0/0,-1,Page)}: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=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 moveto(myhand) notatarget(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=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=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 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=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=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=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[@combat(attacking) source(this):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
auto=scry:3 scrycore delayed dontshow donothing scrycoreend scryend
auto=reveal:1 optionone if type(*[land;creature]|reveal)~morethan~0 then draw:1 controller optiononeend optiontwo name(back to library) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend
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 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(-473141)
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
auto=draw:1 controller
kicker=multi{1}{U}
auto=if paid(kicker) then draw:kicked 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=@damaged(this):(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=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
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) && _TREASURE_*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 Shi
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 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=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=Treeshaker Chimera
abilities=lure
auto=@movedTo(this|mygraveyard) from(Battlefield):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=@combat(attacking) source(this):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=Trench Behemoth
auto={H(land|mybattlefield)}:name(Untap and gain hexproof) name(Untap and gain hexproof) transforms((,newability[untap],newability[opponentshroud])) ueot
auto=@movedTo(land|myBattlefield):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) 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=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=Triton Waverider
auto=@movedTo(enchantment|myBattlefield):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 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=@movedTo(this|graveyard) from(battlefield):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=@movedto(land|myBattlefield):moveto(exile) target(*[manacost<=3]|mygraveyard)
auto=@movedTo(this|graveyard) from(battlefield):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=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-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 cant 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=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
auto=@damaged(this):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=@combat(attacking) source(this):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={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=create(Elephant:creature Elephant:3/3:green)
auto=if rebound then ability$!moveto(exile) all(Trumpeting Herd|mystack)!$ controller
autoexile=@rebounded:may activate castcard(normal)
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=@combat(attacking) source(this):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=activate moveTo(myhand) target(Silvar^ Devourer of the Free|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Silvar^ Devourer of the Free|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Silvar^ Devourer of the Free|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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=canplayfromexile,adventure
other={3}{G} name(Adventure)
auto=if paid(alternative) then target(creature|battlefield) counter(1/1,2)
auto=if paid(alternative) then moveto(exile) all(this)
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=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
other={1}{R} name(Burn)
auto=if paid(alternative) then damage:2 target(player,creature)
kicker={1}{R}
auto=kicker ifnot paid(alternative) then ability$!name(Damage) damage:2 target(player,creature)!$ controller
auto=ifnot paid(alternative) then target(creature) loseabilities ueot && transforms((,setpower=0,settoughness=1)) ueot && transforms((Weird,red)) 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=*|stack
auto=fizzle
restriction=target(enchantment|myBattlefield)
text=Counter target spell that targets a permanent you control.
mana={U}
type=Instant
[/card]
[card]
name=Turn into a Pumpkin
other={1}{U}{U}{U} name(Adamant)
auto=if paid(alternative) then token(-473141)
target=*[-land]
auto=moveto(ownerhand)
auto=draw:1 controller
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=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
autohand={0}:restriction{can play land} name(Turntimber, Serpentine Wood) name(Turntimber, Serpentine Wood) flip(Turntimber, Serpentine Wood) forcetype(land)
auto=choice name(Look seven and put creature with manacost 3 or less) name(Look seven and put creature with manacost 3 or less) reveal:7 optionone name(Get Creature) target(creature[manacost<=3]|reveal) moveTo(myBattlefield) and!( counter(1/1,3) )! optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend restriction{type(creature[manacost<=3;zpos<=7]|myLibrary)~morethan~0} 
auto=choice name(Look seven and put creature with manacost 4 or more) name(Look seven and put creature with manacost 4 or more) reveal:7 optionone name(Get Creature) target(creature[manacost>=4]|reveal) moveTo(myBattlefield) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend restriction{type(creature[manacost>=4;zpos<=7]|myLibrary)~morethan~0}  
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.
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}.
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=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=@combat(attacking) source(this):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):_ASCEND_
auto=@each my upkeep restriction{type(*[city's_blessing]|mybattlefield)~morethan~0}:moveto(myhand) and!( transforms((,newability[damage:manacost opponent],newability[life:manacost controller])) ueot )! all(*[zpos=1]|mylibrary)
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(*[-Alhammarret's Archive;-Angel of Vitality;-Boon Reflection]):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
kicker=multi{2}{R}
auto=if compare(kicked)~equalto~0 then name(choose 1 creature) name(choose 1 creature) target(creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~1 then name(choose 2 creatures) name(choose 2 creatures) target(<upto:2>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~2 then name(choose 3 creatures) name(choose 3 creatures) target(<upto:3>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~3 then name(choose 4 creatures) name(choose 4 creatures) target(<upto:4>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~4 then name(choose 5 creatures) name(choose 5 creatures) target(<upto:5>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~5 then name(choose 6 creatures) name(choose 6 creatures) target(<upto:6>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~6 then name(choose 7 creatures) name(choose 7 creatures) target(<upto:7>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~7 then name(choose 8 creatures) name(choose 8 creatures) target(<upto:8>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~8 then name(choose 9 creatures) name(choose 9 creatures) target(<upto:9>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~9 then name(choose 10 creatures) name(choose 10 creatures) target(<upto:10>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~10 then name(choose 11 creatures) name(choose 11 creatures) target(<upto:11>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~11 then name(choose 12 creatures) name(choose 12 creatures) target(<upto:12>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~12 then name(choose 13 creatures) name(choose 13 creatures) target(<upto:13>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~13 then name(choose 14 creatures) name(choose 14 creatures) target(<upto:14>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~14 then name(choose 15 creatures) name(choose 15 creatures) target(<upto:15>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~15 then name(choose 16 creatures) name(choose 16 creatures) target(<upto:16>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~16 then name(choose 17 creatures) name(choose 17 creatures) target(<upto:17>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~17 then name(choose 18 creatures) name(choose 18 creatures) target(<upto:18>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~18 then name(choose 19 creatures) name(choose 19 creatures) target(<upto:19>creature|myBattlefield) clone with(treason,haste)
auto=if compare(kicked)~equalto~19 then name(choose 20 creatures) name(choose 20 creatures) target(<upto:20>creature|myBattlefield) clone with(treason,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=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=@combat(attacking) source(this):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=deplete:3 controller && may moveto(exile) target(creature,enchantment|myGraveyard) && token(Zombie,Creature Zombie,2/2,black)
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}) deplete:3 controller && may moveto(exile) target(creature,enchantment|myGraveyard) && token(Zombie,Creature Zombie,2/2,black)
auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) :life:type:zombie:mybattlefield controller && scry:type:zombie:mybattlefield scrycore delayed dontshow donothing scrycoreend scryend && 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=Tymarets 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=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
aicode=activate moveTo(myhand) target(Cazur^ Ruthless Stalker|mylibrary)
auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(Cazur^ Ruthless Stalker|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(Cazur^ Ruthless Stalker|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
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 cant 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 may target(<2>*|opponentexile) moveto(ownergraveyard) && ability$!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}.
type=Land
[/card]
[card]
name=Umara Wizard
autohand={0}:restriction{can play land} 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.
mana={4}{U}
type=Creature
subtype=Merfolk Wizard
power=4
toughness=3
[/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=Unbreakable Bond
target=creature|myGraveyard
auto=moveTo(myBattlefield)
auto=counter(0/0,1,Lifelink)
auto=transforms((,newability[this(counter{0/0.1.Lifelink}>=1) lifelink]))
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=if compare(restriction{assorcery}~morethan~0) then all(creature|myBattlefield) counter(1/1)
auto=if compare(restriction{assorcery}~morethan~0) then 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
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=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=Underworld Breach
auto=lord(*[-land]|myGraveyard) newability[{storedmanacost}{S(other *|myGraveyard)}{S(other *|myGraveyard)}{S(other *|myGraveyard)}:castcard(normal)]
auto=@each my endofturn:sacrifice(this)
text=Each nonland card in your graveyard has escape. The escape cost is equal to the cards 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=@movedto(this|mygraveyard) from(battlefield):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=Hound
power=6
toughness=6
[/card]
[card]
name=Underworld Charger
abilities=cantblock
autograveyard={4}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{4}{B},exile three) activate castcard(alternative)
auto=if paid(alternative) then counter(1/1,2)
text=Underworld Charger cant 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 Rage-Hound
abilities=mustattack
autograveyard={3}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{R},exile three) activate castcard(alternative)
auto=if paid(alternative) 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 Hound
power=3
toughness=1
[/card]
[card]
name=Underworld Sentinel
auto=@combat(attacking) source(this):target(creature|myGraveyard) moveTo(myexile) and!( counter(0/0,1,UnderworldExiled) )!
auto=@movedTo(this|mygraveyard) from(Battlefield):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=counter(1/1,1)
auto=counter(0/0,1,Lifelink)
auto=transforms((,newability[this(counter{0/0.1.Lifelink}>=1) lifelink]))
text=Put a +1/+1 counter and a lifelink counter on target creature.
mana={1}{B}
type=Instant
[/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=Unexpectedly Absent
target=*[-land]
auto=this(X=0) moveto(ownerlibrary)
auto=this(X=1) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=2) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=3) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=4) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=5) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=6) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=7) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=8) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=9) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
auto=this(X=10) moveto(ownerlibrary) && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller && ability$!moverandom(*) from(mylibrary) to(mylibrary)!$ controller
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
auto=moveTo(ownerHand)
aicode=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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
other={2}{U}{U}{U} name(Adamant)
auto=if paid(alternative) 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 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=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=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(*|opponentstack):target(*|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(*[-land]|stack) fizzleto(hand) 
text=Return target spell or creature to its owners 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=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=Unwind
target=*[-creature]|stack
auto=fizzle
auto=untap target(<upto:3>land)
text=Counter target noncreature spell. Untap up to three lands.
mana={2}{U}
type=Instant
[/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(alternative) then sacrifice
auto=life:3 controller && draw:1 controller
auto=may moveto(mybattlefield) target(land|myhand)
auto=@combat(attacking) source(this):life:3 controller && draw:1 controller
auto=@combat(attacking) source(this):may moveto(mybattlefield) target(land|myhand)
autograveyard={G}{G}{U}{U}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}{E(*|mygraveyard)}:name(Escape-{G}{G}{U}{U},exile five) activate castcard(alternative)
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 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 Science Fair Project
auto={2}:all(this) rolladie 6 winability counter(0/0,1,UrzaEffect) winabilityend loseability counter(0/0,1,UrzaEffect) loseabilityend rollend
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=Utility Knife
auto=rehook target(creature|myBattlefield)
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=Vacuumelt
auto=choice name(Don't replicate) ability$!name(Return 1 creature) name(Return 1 creature) target(<1>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 1 time) ability$!name(Return 2 creatures) pay[[{2}{U}]] name(Return 2 creatures) target(<2>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 2 times) ability$!name(Return 3 creatures) pay[[{4}{U}{U}]] name(Return 3 creatures) target(<3>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 3 times) ability$!name(Return 4 creatures) pay[[{6}{U}{U}{U}]] name(Return 4 creatures) target(<4>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 4 times) ability$!name(Return 5 creatures) pay[[{8}{U}{U}{U}{U}]] name(Return 5 creatures) target(<5>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 5 times) ability$!name(Return 6 creatures) pay[[{10}{U}{U}{U}{U}{U}]] name(Return 6 creatures) target(<6>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 6 times) ability$!name(Return 7 creatures) pay[[{12}{U}{U}{U}{U}{U}{U}]] name(Return 7 creatures) target(<7>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 7 times) ability$!name(Return 8 creatures) pay[[{14}{U}{U}{U}{U}{U}{U}{U}]] name(Return 8 creatures) target(<8>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 8 times) ability$!name(Return 9 creatures) pay[[{16}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 9 creatures) target(<9>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 9 times) ability$!name(Return 10 creatures) pay[[{18}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 10 creatures) target(<10>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 10 times) ability$!name(Return 11 creatures) pay[[{20}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 11 creatures) target(<11>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 11 times) ability$!name(Return 12 creatures) pay[[{22}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 12 creatures) target(<12>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 12 times) ability$!name(Return 13 creatures) pay[[{24}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 13 creatures) target(<13>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 13 times) ability$!name(Return 14 creatures) pay[[{26}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 14 creatures) target(<14>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 14 times) ability$!name(Return 15 creatures) pay[[{28}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 15 creatures) target(<15>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 15 times) ability$!name(Return 16 creatures) pay[[{30}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 16 creatures) target(<16>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 16 times) ability$!name(Return 17 creatures) pay[[{32}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 17 creatures) target(<17>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 17 times) ability$!name(Return 18 creatures) pay[[{34}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 18 creatures) target(<18>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 18 times) ability$!name(Return 19 creatures) pay[[{36}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 19 creatures) target(<19>creature) moveto(ownerhand)!$ controller
auto=choice name(Replicate 19 times) ability$!name(Return 20 creatures) pay[[{38}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}{U}]] name(Return 20 creatures) target(<20>creature) moveto(ownerhand)!$ 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 owners hand.
mana={2}{U}
type=Sorcery
[/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={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
autohand={0}:restriction{can play land} name(Valakut Stoneforge) name(Valakut Stoneforge) flip(Valakut Stoneforge) forcetype(land)
auto=name(Put cards and draw that many) name(Put cards and draw that many) all(*|myhand) transforms((,newability[draw:1],newability[bottomoflibrary])])) && draw:1
text=Put any number of cards from your hand on the bottom of your library, then draw that many cards plus one.
mana={2}{R}
type=Instant
[/card]
[card]
name=Valakut Exploration
auto=@movedTo(land|myBattlefield):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}.
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=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=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 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 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=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
other={1}{U}{U}{U} name(Adamant)
auto=if paid(alternative) then counter(1/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=@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=Vastwood Fortification
autohand={0}:restriction{can play land} 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.
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}.
type=Land
[/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=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=@combat(attacking) source(this):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 Mesmerist
auto=@combat(attacking) source(this):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=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=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=@movedTo(this|graveyard) from(battlefield):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=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=@movedto(this|graveyard) from(battlefield):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 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 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 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 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 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=restriction{type(land|opponentBattlefield)~morethan~type(land|myBattlefield)}: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=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=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 cant be countered. -- {R/G}: Target spell cant be countered.
mana={RG}{RG}
type=Creature
subtype=Goblin Shaman
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 spells 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 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=@combat(attacking) source(this):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=KickerSacrifice 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=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 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 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=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=@movedto(this|graveyard) from(battlefield):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=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'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=Virtus the Veiled
abilities=deathtouch,partner
auto=may moveto(myhand) notatarget(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=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 moveto(targetedpersonshand) target(<upto:7>*|targetedpersonslibrary)
auto=name(Look 5 cards) reveal:5 revealzone(targetedpersonslibrary) optionone name(Look cards) target(<5>*|reveal) moveto(ownerhand) optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(may shuffle)! )! optiontwoend 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=Vitality Hunter
abilities=lifelink
auto=this(cantargetcard(*[-monstrous]) {X}{W}{W}:becomes(monstrous) forever && newability[counter(0/0,1,Lifelink) && (lifelink)forever target(<upto:X>creature)]
text=Lifelink -- {X}{W}{W}: Monstrosity X. (If this creature isnt 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
auto=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=@combat(attacking) source(this):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):transforms((,newability[counter(0/0,1,Deathtouch)],newability[this(counter{0/0.1.Deathtouch}>=1) deathtouch])) target(creature|myBattlefield)]
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=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=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=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=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=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, 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=Vona's Hunger
auto=_ASCEND_
auto=if type(*[city's_blessing]|mybattlefield)~morethan~0 then ability$!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) 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=Voracious Greatshark
abilities=flash
auto=fizzle target(*[artifact,creature]|stak)
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
autograveyard={5}{G}{G}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{5}{G}{G},exile four) activate castcard(alternative)
auto=if paid(alternative) 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=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 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 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 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=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={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=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=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 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
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 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 Eye
abilities=flying
auto={0}:Reveal:type:*:opponenthand revealzone(opponenthand) revealtype(*|opponenthand) optionone target(*|reveal) moveto(opponenthand) optiononeend optiontwo name(Put Back) target(*|reveal) transforms((,newability[all(*|reveal) moveto(ownerhand)])) ueot optiontwoend revealend
text=Flying -- Players play with their hands revealed.
mana={2}{U}
type=Creature
subtype=Illusion
power=1
toughness=3
[/card]
[card]
name=Wandermare
auto=@movedto(creature[adventure]|mystack) from(mylibrary):counter(1/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=@movedTo(this|graveyard) from(battlefield):token(435451)*2
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}:target(creature) islandwalk ueot && transforms((,newability[@movedto(War Barge|graveyard) from(battlefield):bury all(this)])) forever
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={L:1}{3}{T}:name(1 color in your identity) name(1 color in your identity) draw:1 controller
auto={L:2}{3}{T}:name(2 colors in your identity) name(2 colors in your identity) draw:1 controller
auto={L:3}{3}{T}:name(3 colors in your identity) name(3 colors in your identity) draw:1 controller
auto={L:4}{3}{T}:name(4 colors in your identity) name(4 colors in your identity) draw:1 controller
auto={L:5}{3}{T}:name(5 colors in your identity) name(5 colors in your identity) 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=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 dont 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=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=Warkite Marauder
abilities=flying
auto=@combat(attacking) source(this):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=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=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
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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus2plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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={target(*[white]|myhand)}:morph
autofaceup=life:2 controller
text=Flying -- MorphReveal 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=@combat(attacking) source(this):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=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=Wavebreak Hippocamp
auto=@movedto(*|mystack) restriction{opponentturnonly,thisturn(*|mystack)~equalto~0}:draw:1 controller
text=Whenever you cast your first spell during each opponents turn, draw a card.
mana={2}{U}
type=Enchantment Creature
subtype=Horse Fish
power=2
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=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):_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
other={W} name(Tear)
auto=if paid(alternative) then destroy target(enchantment)
kicker={W}
auto=kicker ifnot paid(alternative) then destroy target(enchantment)
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=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=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=Whale Reef
auto=@movedTo(this|mygraveyard) from(myBattlefield):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=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 youre 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=surveil && name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=psurveiloffsetplus1plusend]|mylibrary) moverandom(*[zpos<=psurveiloffsetplus1plusend]) from(mylibrary) to(mylibrary)])) ueot
auto=surveil && name(surveil) 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 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=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=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 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 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=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=@combat(blocked) source(this):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 isnt 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=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=Willing Test Subject
abilities=reach
auto={6}:all(this) rolladie 6 winability donothing winabilityend loseability donothing loseabilityend rollend
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=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=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 Guard
abilities=flying
auto=@combat(attacking) source(this):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=newability[counter(0/0,1,Flying) && (flying)forever target(creature[-human]|myBattlefield)]
auto={2}{U}{T}:counter(1/1,1) all(creature[flying]|myBattlefield)
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=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 cant 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=@combat(attacking) source(this):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=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 Cottage
auto=aslongas(other land[swamp]|myBattlefield) tap(noevent) <3 oneshot
auto=if this(untapped) may (creature|mygraveyard) moveTo(myLibrary) 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(-473141)
auto={T}{S(creature[toughness>=4]|myBattlefield)}:token(-473141)*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
auto=scry:2 scrycore delayed dontshow donothing scrycoreend scryend
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=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
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'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
auto=This spell costs {1} less to cast if you controlWizard
target=*|stack
auto=fizzle
auto=Counter target spell
text=This spell costs {1} less to cast if you control a Wizard. -- Counter target spell.
other={U}{U} name(reduced by Wizard)
otherrestriction=type(Wizard|myBattlefield)
mana={1}{U}{U}
type=Instant
[/card]
[card]
name=Woe Strider
auto=token(Goat,Creature Goat,0/1,white)
auto={S(other creature|myBattlefield}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend
autograveyard={3}{B}{B}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:name(Escape-{3}{B}{B},exile four) activate castcard(alternative)
auto=if paid(alternative) 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 Bodyguard
abilities=mentor
auto=@combat(attacking) source(this) restriction{compare(p)~lessthan~1}:counter(1/1,1) target(other creature[attacking;power<=-1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~1}:counter(1/1,1) target(other creature[attacking;power<=0]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~2}:counter(1/1,1) target(other creature[attacking;power<=1]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~3}:counter(1/1,1) target(other creature[attacking;power<=2]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~4}:counter(1/1,1) target(other creature[attacking;power<=3]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~5}:counter(1/1,1) target(other creature[attacking;power<=4]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~6}:counter(1/1,1) target(other creature[attacking;power<=5]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~7}:counter(1/1,1) target(other creature[attacking;power<=6]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~8}:counter(1/1,1) target(other creature[attacking;power<=7]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~9}:counter(1/1,1) target(other creature[attacking;power<=8]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~10}:counter(1/1,1) target(other creature[attacking;power<=9]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~11}:counter(1/1,1) target(other creature[attacking;power<=10]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~12}:counter(1/1,1) target(other creature[attacking;power<=11]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~13}:counter(1/1,1) target(other creature[attacking;power<=12]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~14}:counter(1/1,1) target(other creature[attacking;power<=13]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~15}:counter(1/1,1) target(other creature[attacking;power<=14]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~16}:counter(1/1,1) target(other creature[attacking;power<=15]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~17}:counter(1/1,1) target(other creature[attacking;power<=16]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~18}:counter(1/1,1) target(other creature[attacking;power<=17]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~19}:counter(1/1,1) target(other creature[attacking;power<=18]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~equalto~20}:counter(1/1,1) target(other creature[attacking;power<=19]|myBattlefield)
auto=@combat(attacking) source(this) restriction{compare(p)~morethan~20}:counter(1/1,1) target(other creature[attacking;power<=20]|myBattlefield)
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=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=Woodland Champion
auto=@movedTo(*[token]|myBattlefield) counter(1/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 Mystic
auto={T}:Add {G}
text={T}: Add {G}.
mana={1}{G}
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/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 Shaper
auto=@combat(attacking) source(this):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=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=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 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=@movedTo(this|graveyard) from(battlefield):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=Wyleth, Soul of Steel
abilities=trample
auto=@combat(attacking) source(this):thisforeach(auras > 0) draw:1 controller
auto=@combat(attacking) source(this):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=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 cant attack its owner or planeswalkers its owner controls. -- {3}: Xantchas 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=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 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=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 humans
auto={L:1}{S(other creature|mybattlefield)}:target(creature) counter(-1/-1) && draw:1 controller
auto={B}{B}{discard(*|myhand)}:notatarget(<anyamount>*[artifact;creature;enchantment;land;planeswalker;player]) 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=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=@movedto(this|graveyard) from(mybattlefield):all(*|opponentbattlefield) frozen
auto=@movedto(this|graveyard) from(mybattlefield):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=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=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=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=Zara, Renegade Recruiter
abilities=flying
auto=@combat(attacking) source(this):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=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
abilities=trample
auto=if type(creature[(counter{1/1})]|mybattlefield)~morethan~0 then draw:1
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 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}:tap(noevent) restriction{thisturn(other creature|mybattlefield)~morethan~0} 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
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=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}.
type=Land
[/card]
[card]
name=Zof Consumption
autohand={0}:restriction{can play land} 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.
mana={4}{B}{B}
type=Sorcery
[/card]
[card]
name=Zombie Lil
type=Creature
subtype=Zombie
power=2
toughness=2
color=black
[/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]
