grade=borderline
## couldn't code: Saving Grace, Fraying Sanity, Supreme Will, Torment of Hailfire, Torment of Scarabs, Vile Manifestation, Sifter Wurm, Abandoned Sarcophagus, Avid Reclaimer

##experimental code: Neheb, the Eternal

[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=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=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 the God-Pharaoh
abilities=flying
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=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=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=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=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=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=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=Djeru's Renunciation
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=Dutiful Servants
mana={3}{W}
type=Creature
subtype=Zombie
power=2
toughness=5
[/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=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=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=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=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=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=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=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=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=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=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=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=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=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=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=Aven Reedstalker
abilities=flash, flying
text=Flash -- Flying
mana={3}{U}
type=Creature
subtype=Bird Warrior
power=2
toughness=3
[/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=Countervailing Winds
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=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=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=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=Hour of Eternity
target=<upto:prex>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=Imaginary Threats
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=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=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=Nimble Obstructionist
abilities=flash, flying
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=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=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=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=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=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=Spellweaver Eternal
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=Striped Riverwinder
abilities=opponentshroud
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=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=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=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=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=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=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=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=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=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=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=Carrion Screecher
abilities=flying
text=Flying
mana={3}{B}
type=Creature
subtype=Zombie Bird
power=3
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=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=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=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=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=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=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=Lurching Rotbeast
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=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=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=Moaning Wall
abilities=defender
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=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=Razaketh's Rite
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=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=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=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=Without Weakness
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=Wretched Camel
auto=@movedTo(this|graveyard) from(battlefield):may target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer
#aslongas(Desert|mybattlefield,myGraveyard)
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=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=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=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=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=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=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=Defiant Khenra
mana={1}{R}
type=Creature
subtype=Jackal Warrior
power=2
toughness=2
[/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=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=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=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=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=Granitic Titan
abilities=menace
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=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=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=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=if this(counter{0/0.1.doom}) then 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=if this(counter{0/0.2.doom}) then 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=Inferno Jet
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=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=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=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=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=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=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=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=Thorned Moloch
abilities=first strike
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=Wildfire Eternal
auto=@combat(notblocked) source(this):target(instant,sorcery|myhand) castcard(copied noevent)
auto=@combat(blocked,turnlimited) source(this):life:-4 opponent
text=Afflict 4 (Whenever this creature becomes blocked, defending player loses 4 life.) -- Whenever Wildfire Eternal attacks and isn't blocked, you may cast an instant or sorcery card from your hand without paying its mana cost.
mana={3}{R}
type=Creature
subtype=Zombie Jackal Cleric
power=1
toughness=4
[/card]

[card]
name=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=Beneath the Sands
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=Bitterbow Sharpshooters
abilities=vigilance, reach
text=Vigilance, reach
mana={4}{G}
type=Creature
subtype=Jackal Archer
power=4
toughness=4
[/card]

[card]
name=Devotee of Strength
auto={4}{G}:2/2 target(creature)
text={4}{G}: Target creature gets +2/+2 until end of turn.
mana={2}{G}
type=Creature
subtype=Naga Wizard
power=3
toughness=2
[/card]

[card]
name=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=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=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=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=Harrier Naga
mana={2}{G}
type=Creature
subtype=Naga Warrior
power=3
toughness=3
[/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=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=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=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=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=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=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=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=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=Rampaging Hippo
abilities=trample
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=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=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=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 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=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=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=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=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=Bloodwater Entity
abilities=flying
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=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=Nicol Bolas, God-Pharaoh
auto=counter(0/0,7,loyalty)
auto={C(0/0,2,Loyalty)}:moverandom(*[-land]) from(opponentlibrary) to(myhand) && altercost(colorless,blue,green,red,black,white,-15)
auto={C(0/0,1,Loyalty)}:ability$!moveto(exile) target(<2>*|myhand)!$ opponent
auto={C(0/0,-4,Loyalty)}:damage:7 target(creature,player)
auto={C(0/0,-12,Loyalty)}:moveto(exile) all(*[-land]|opponentbattlefield)
text=+2: Target opponent exiles cards from the top of his or her library until he or she exiles a nonland card. Until end of turn, you may cast that card without paying its mana cost. -- +1: Each opponent exiles two cards from his or her hand. -- -4: Nicol Bolas, God-Pharaoh deals 7 damage to target opponent or creature an opponent controls. -- -12: Exile each nonland permanent your opponents control.
mana={4}{U}{B}{R}
type=Legendary Planeswalker
subtype=Bolas
[/card]

[card]
name=Obelisk Spider
abilities=reach
auto=@combatdamaged(creature) from(this):counter(-1/-1,1) all(trigger[from])
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=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=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=Samut, the Tested
auto=counter(0/0,4,loyalty)
auto={C(0/0,1,Loyalty)}:target(<upto:1>creature) double strike ueot
auto={C(0/0,-2,Loyalty)}:name(split damage) damage:1 target(creature,player) && transforms((,newability[damage:1 target(creature,player)])) ueot
auto={C(0/0,-7,Loyalty)}:moveto(mybattlefield) target(<upto:2>*[creature;planeswalker]|mylibrary)
text=+1: Up to one target creature gains double strike until end of turn. -- -2: Samut, the Tested deals 2 damage divided as you choose among one or two target creatures and/or players. -- -7: Search your library for up to two creature and/or planeswalker cards, put them onto the battlefield, then shuffle your library.
mana={2}{R}{G}
type=Legendary Planeswalker
subtype=Samut
[/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=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=Farm
target=creature[attacking;blocking]
auto=destroy
autograveyard={3}{E}:draw:2 && transforms((,newability[target(<2>*|myhand) reject])) forever
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=Consign
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=Claim
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=Struggle
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=Appeal
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=Leave
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=Reason
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=Grind
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=Refuse
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=Driven
auto=all(creature|mybattlefeild) 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=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=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=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=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=Hollow One
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=Mirage Mirror
auto={2}:copy target(artifact,creature,enchantment,land) ueot
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=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=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=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=Desert of the Fervent
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
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
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
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
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=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=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=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=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=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=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=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=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=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=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=Nissa, Genesis Mage
auto=counter(0/0,5,loyalty)
auto={C(0/0,2,Loyalty)}:untap target(<upto:2>creature) && transforms((,newability[untap target(<upto:2>land)])) ueot
auto={C(0/0,-3,Loyalty)}:target(creature) 5/5 ueot
auto={C(0/0,-10,Loyalty)}:moverandom(<upto:4>land) from(mylibrary) to(mybattlefield) && moverandom(<upto:4>creature) from(mylibrary) to(mybattlefield)
text=+2: Untap up to two target creatures and up to two target lands. -- -3: Target creature gets +5/+5 until end of turn. -- -10: Look at the top ten cards of your library. You may put any number of creature and/or land cards from among them onto the battlefield. Put the rest on the bottom of your library in a random order.
mana={5}{G}{G}
type=Legendary Planeswalker
subtype=Nissa
[/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=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=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=Nicol Bolas, the Deceiver
auto=counter(0/0,5,loyalty)
auto={C(0/0,3,Loyalty)}:ability$!choice life:-3 controller choice sacrifice notatarget(*[-land]|mybattlefield) choice target(*|myhand) reject$! opponent
auto={C(0/0,-3,Loyalty)}:destroy target(creature) and!(draw:1)!
auto={C(0/0,-11,Loyalty)}:damage:7 opponent and!(draw:7)!
text=+3: Each opponent loses 3 life unless that player sacrifices a nonland permanent or discards a card. -- -3: Destroy target creature. Draw a card. -- -11: Nicol Bolas, the Deceiver deals 7 damage to each opponent. You draw seven cards.
mana={5}{U}{B}{R}
type=Legendary Planeswalker
subtype=Bolas
[/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=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=Visage of Bolas
auto=may moveto(myhand) target(Nicol Bolas, the Deceiver|mylibrary)
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]