grade=borderline
[card]
name=Angelic Field Marshal
abilities=flying
#wagic doesnt have commander zone
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=Angel's Grace
abilities=split second
#the cantlose cannot seen by the gameobserver when used by emblem...
auto=emblem transforms((,newability[lord(*|opponentbattlefield) cantwin],newability[lord(*|mybattlefield) cantlose],newability[this(controllerlife >= 1) reduceto:1])) ueot
text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
mana={W}
type=Instant
[/card]
[card]
name=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=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=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=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 moveto(exile) and!( transforms((,newability[@rebounded:may activate castcard(normal)])) forever )!
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=Cemetery Puca
text=Whenever a creature is put into a graveyard from the battlefield, you may pay {1}. If you do, Cemetery Puca becomes a copy of that creature and gains this ability.
auto=@movedto(creature|graveyard) from(battlefield):all(trigger[from]) pay[[{1}]] copy
mana={1}{UB}{UB}
type=Creature
subtype=Shapeshifter
power=1
toughness=2
[/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=Consume Strength
#can target same creature
target=creature
auto=2/2 ueot
auto=target(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=Cryptoplasm
auto=@each my upkeep:may copy target(other creature|battlefield)
text=At the beginning of your upkeep, you may have Cryptoplasm become a copy of another target creature. If you do, Cryptoplasm gains this ability.
mana={1}{U}{U}
type=Creature
subtype=Shapeshifter
power=2
toughness=2
[/card]
[card]
name=Demon of Wailing Agonies
abilities=flying
#wagic doesnt have commander zone
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=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=Dimir Doppelganger
auto={1}{U}{B}:target(creature|graveyard) moveto(exile) and!(copy)!
text={1}{U}{B}: Exile target creature card from a graveyard. Dimir Doppelganger becomes a copy of that card and gains this ability.
mana={1}{U}{B}
type=Creature
subtype=Shapeshifter
power=0
toughness=2
[/card]
[card]
name=Eureka
auto=ability$! moveto(ownerbattlefield) notatarget(<anyamount>artifact,creature,enchantment,land,planeswalker|myhand) !$ controller
auto=ability$! moveto(ownerbattlefield) notatarget(<anyamount>artifact,creature,enchantment,land,planeswalker|myhand) !$ opponent
text=Starting with you, each player may put a permanent card from his or her 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=Exquisite Firecraft
#nofizzle don't work with aslongas
target=creature,player
auto=damage:4
auto=aslongas(*[instant;sorcery]|mygraveyard) nofizzle >1
text=Exquisite Firecraft deals 4 damage to target creature or player. -- Spell mastery  If there are two or more instant and/or sorcery cards in your graveyard, Exquisite Firecraft can't be countered by spells or abilities.
mana={1}{R}{R}
type=Sorcery
[/card]
[card]
name=Feral Hydra
type=Creature
subtype=Hydra Beast
mana={X}{G}
power=0
toughness=0
text=Feral Hydra enters the battlefield with X +1/+1 counters on it. -- {3}: Put a +1/+1 counter on Feral Hydra. Any player may play this ability
auto=counter(1/1,X)
auto={3}:counter(1/1)
#Not all player can use ability
[/card]
[card]
name=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=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=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=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
#need doubler damage ability...
abilities=flying,haste
auto=@damaged(controller):damage:thatmuch controller
auto=@damaged(this):damage:thatmuch all(this)
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=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=Grasp of Fate
auto=(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=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=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=Intellectual Offering
#wagic only supports single opponent
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=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=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=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=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=Metalworker
auto={T}:foreach(artifact|myhand) Add{2} controller
text={T}: Reveal any number of artifact cards in your hand. Add {2} to your mana pool for each card revealed this way.
mana={3}
type=Artifact Creature
subtype=Construct
power=1
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=Mogg Infestation
target=player
auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then makecardt(Goblin:Creature Goblin:1/1:red)*2 )!
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=Necropotence
#exile cards are faceup
auto=@movedTo(*|mygraveyard):all(trigger[to]) moveTo(exile)
auto=phasealter(remove,draw,controller)
auto={L:1}:name(exile) reveal:1 optionone all(*|reveal) transforms((,newability[moveto(exile)],newability[phaseaction[my endofturn once checkex] moveto(ownerhand)])) optiononeend revealend
text=Skip your draw step. -- Whenever you discard a card, exile that card from your graveyard. -- Pay 1 life: Exile the top card of your library face down. Put that card into your hand at the beginning of your next end step.
mana={B}{B}{B}
type=Enchantment
[/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=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(mystored) unblockable ueot!$ opponent
mana={1}{B}{B}
type=Creature
subtype=Ogre Warrior
power=3
toughness=1
[/card]
[card]
name=Oloro, Ageless Ascetic
auto=@each my upkeep:life:2 controller
auto=@lifeof(player):pay({1}) draw:1 controller && life:-1 opponent
#wagic doesn't have command zone
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=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=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=Raving Dead
abilities=deathtouch,mustattack
auto=@combatdamaged(player) from(this):life:-halfupopponentlifetotal 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=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=Recall
auto=name(discard) notatarget(<xx>*|myhand) transforms((,newability[reject],newability[moveto(ownerhand) notatarget(*|mygraveyard)]))
auto=moveto(exile) all(this)
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=Relentless Dead
auto=@movedTo(this|graveyard) from(battlefield):transforms((,newability[{B}:moveto(myhand)])) ueot
auto=@movedTo(this|graveyard) from(battlefield):transforms((,newability[{X}:moveto(myhand) target(zombie[manacost=X]|mygraveyard)])) ueot
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=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=Sandstone Oracle
abilities=flying
auto=foreach(*|opponenthand) if type(*|opponenthand)~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=Scapeshift
auto=choice notatarget(<anyamount>land|mybattlefield) sacrifice && ability$!moveto(mybattlefield) notatarget(land|mylibrary) and!( tap(noevent) )!!$ controller
text=Sacrifice any number of lands. Search your library for that many land cards, put them onto the battlefield tapped, then shuffle your library.
mana={2}{G}{G}
type=Sorcery
[/card]
[card]
name=Scent of Cinder
target=creature
auto=damage:type:*[red]:myhand
text=Reveal any number of red cards in your hand. Scent of Cinder deals X damage to target creature or player, 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=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=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=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=Skullwinder
abilities=deathtouch
auto=ability$!moveto(myhand) target(*|mygraveyard)!$ controller
auto=ability$!moveto(myhand) target(*|mygraveyard)!$ opponent
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 his or her graveyard to his or her hand.
mana={2}{G}
type=Creature
subtype=Snake
power=1
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=Stormsurge Kraken
abilities=opponentshroud
#wagic doesnt have commander zone
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=Surrak Dragonclaw
abilities=flash,nofizzle
#lord nofizzle doesn't seem to work
auto=lord(*|mystack) nofizzle
auto=lord(other creature|mybattlefield) trample
text=Flash -- Surrak Dragonclaw can't be countered. -- Creature spells you control can't be countered. -- Other creatures you control have trample.
mana={2}{G}{U}{R}
type=Legendary Creature
subtype=Human Warrior
power=6
toughness=6
[/card]
[card]
name=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=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=Thespian's Stage
auto={T}:Add{1}
auto={2}{T}:copy target(land|battlefield)
text={T}: Add {1} to your mana pool. -- {2}, {T}: Thespian's Stage becomes a copy of target land and gains this ability.
type=Land
[/card]
[card]
name=Thunderfoot Baloth
abilities=trample
#wagic doesnt have commander zone
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=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=Tyrant's Familiar
abilities=flying,haste
#wagic doesnt have commander zone
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=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=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=Unstable Shapeshifter
auto=@movedto(other creature|battlefield):all(trigger[from]) copy
text=Whenever another creature enters the battlefield, Unstable Shapeshifter becomes a copy of that creature and gains this ability.
mana={3}{U}
type=Creature
subtype=Shapeshifter
power=0
toughness=1
[/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=Villainous Wealth
#can't order stack
target=opponent
auto=reveal:castx revealzone(targetedpersonslibrary) optionone all(*|reveal) moveto(exile) and!( if cantargetcard(*[-land;manacost<=castx]|*) then transforms((,newability[may activate castcard(normal)]])) oneshot )! optiononeend revealend
text=Target opponent exiles the top X cards of his or her library. You may cast any number of nonland cards 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=Wolfcaller's Howl
#wagic supports one opponent only
auto=@each my upkeep restriction{type(*|opponenthand)~morethan~3}:token(Wolf,Creature Wolf,2/2,green)
text=At the beginning of your upkeep, put X 2/2 green Wolf creature tokens onto the battlefield, where X is the number of your opponents with four or more cards in hand.
mana={3}{G}
type=Enchantment
[/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=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]
