From 3a11453aa5fac4484ba94ecba8f367b273a5fcda Mon Sep 17 00:00:00 2001 From: Eduardo MG Date: Sun, 16 Oct 2022 13:11:16 -0500 Subject: [PATCH] Bug fixes, more token creation macros A file being borderline really doesn't mean much, also, after some testing, the cards under 'crappy' could be playable Narfi, Betrayer King Cavalier of Dawn Imprisoned in the Moon Bull's Strength Bontu the Glorified could attack planeswalkers Fists of Flame Barbed-Back Wurm old rutstein Delraich restriction consuming aberration drowned secrets ancestral anger Flood Plain Bad River Grasslands Rocky Tar Pit Mountain Valley Basri Ket Colos Yearling march of the drowned --- .../mtg/bin/Res/sets/primitives/_macros.txt | 21 + .../bin/Res/sets/primitives/borderline.txt | 312 +++++++-------- .../mtg/bin/Res/sets/primitives/crappy.txt | 6 +- projects/mtg/bin/Res/sets/primitives/mtg.txt | 363 +++++++++--------- .../bin/Res/sets/primitives/planeswalkers.txt | 29 +- 5 files changed, 365 insertions(+), 366 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 879a06e7d..bd03ba1e2 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -166,8 +166,29 @@ $AUTO_DEFINE _CLASH_ Put here a code if compare the casting cost based on Errati # Angel Token #AUTO_DEFINE _ANGELTOKEN_ create(Angel:Creature Angel:4/4:white:flying) +# Beast Token +#AUTO_DEFINE _BEASTTOKEN_ create(Beast:Creature Beast:3/3:green) + +# Elephant Token +#AUTO_DEFINE _ELEPHANTTOKEN_ create(Elephant:Creature Elephant:3/3:green) + +# Goblin Token +#AUTO_DEFINE _GOBLINTOKEN_ create(Goblin:Creature Goblin:1/1:red) + +# Insect Token +#AUTO_DEFINE _INSECTTOKEN_ create(Insect:Creature Insect:1/1:green) + # Saproling Token #AUTO_DEFINE _SAPROLINGTOKEN_ create(Saproling:creature Saproling:1/1:green) +# Soldier Token +#AUTO_DEFINE _SOLDIERTOKEN_ create(soldier:creature soldier:1/1:white) + +# Spirit Token +#AUTO_DEFINE _SPIRITTOKEN_ create(Spirit:creature Spirit:1/1:white:flying) + +# Wolf Token +#AUTO_DEFINE _WOLFTOKEN_ create(Wolf:creature Wolf:2/2:green) + # Zombie Token #AUTO_DEFINE _ZOMBIETOKEN_ create(zombie:creature zombie:2/2:black) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 0ed278b9e..ae9d045da 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -1,4 +1,3 @@ -grade=borderline #Bordeline Primitives Pack for Wagic the Homebrew. #Please keep these card alphabetized, and try to have the "name=" line at the top of each card #I sorted this programatically - Vitty85 21-12-2021 @@ -1212,7 +1211,7 @@ type=Legendary Artifact name=Alharu, Solemn Ritualist abilities=partner auto=target(creature) counter(1/1) -auto=@movedto(creature[-token;counter{1/1}]|mygraveyard) from(mybattlefield):token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedto(creature[-token;counter{1/1}]|mygraveyard) from(mybattlefield):_SPIRITTOKEN_ text=When Alharu, Solemn Ritualist enters the battlefield, put a +1/+1 counter on each of up to two other target creatures. -- Whenever a nontoken creature you control with a +1/+1 counter on it dies, create a 1/1 white Spirit creature token with flying. -- Partner (You can have two commanders if both have partner.) mana={4}{W} type=Legendary Creature @@ -1665,7 +1664,7 @@ target=creature auto=trample ueot auto=1/0 ueot auto=foreach(Ancestral Anger|mygraveyard) 1/0 ueot -auto=draw:1 +auto=draw:1 controller text=Target creature gains trample and gets +X/+0 until end of turn, where X is 1 plus the number of cards named Ancestral Anger in your graveyard. -- Draw a card. mana={R} type=Sorcery @@ -1674,7 +1673,7 @@ type=Sorcery name=Ancestral Blade auto=teach(creature) 1/1 auto={1}:equip -auto=livingweapontoken(Soldier,Creature Soldier,1/1,white) +auto=livingweapon_SOLDIERTOKEN_ text=When Ancestral Blade enters the battlefield, create a 1/1 white Soldier creature token, then attach Ancestral Blade to it. -- Equipped creature gets +1/+1. -- Equip {1} ({1} : Attach to target creature you control. Equip only as a sorcery.) mana={1}{W} type=Artifact @@ -2370,7 +2369,7 @@ type=Sorcery [card] name=Aphemia, the Cacophony abilities=flying -auto=@each my endofturn:may moveto(exile) target(enchantment|myGraveyard) && token(Zombie,Creature Zombie,2/2,black) +auto=@each my endofturn:may moveto(exile) target(enchantment|myGraveyard) && _ZOMBIETOKEN_ text=Flying -- At the beginning of your end step, you may exile an enchantment card from your graveyard. If you do, create a 2/2 black Zombie creature token. mana={1}{B} type=Legendary Enchantment Creature @@ -3752,7 +3751,7 @@ type=Instant [card] name=Assault // Battery other={3}{G} name(Battery) -auto=if paid(alternative) then token(Elephant,Creature Elephant,3/3,green) +auto=if paid(alternative) then _ELEPHANTTOKEN_ auto=ifnot paid(alternative) then damage:2 target(creature,player) text=Assault deals 2 damage to target creature or player. // Put a 3/3 green Elephant creature token onto the battlefield. mana={R} @@ -4382,8 +4381,8 @@ type=Sorcery [/card] [card] name=Awaken the Erstwhile -auto=count(type:*:myhand) && all(*|myhand) reject && token(Zombie,Creature Zombie,2/2,black)*countedamount -auto=count(type:*:opponenthand) && all(*|opponenthand) reject && token(Zombie,Creature Zombie,2/2,black)*countedamount opponent +auto=count(type:*:myhand) && all(*|myhand) reject && _ZOMBIETOKEN_*countedamount +auto=count(type:*:opponenthand) && all(*|opponenthand) reject && _ZOMBIETOKEN_*countedamount opponent text=Each player discards all the cards in their hand, then creates that many 2/2 black Zombie creature tokens. mana={3}{B}{B} type=Sorcery @@ -5015,7 +5014,7 @@ type=Artifact [/card] [card] name=Barbed-Back Wurm -auto={B}:-1/-1 target(creature[green,blocking]) ueot +auto=@combat(blocked) source(this) from(creature[green]):transforms((,newability[{B}:target(creature[green;blocking]) -1/-1])) ueot text={B}: Target green creature blocking Barbed-Back Wurm gets -1/-1 until end of turn. mana={4}{B} type=Creature @@ -6338,7 +6337,7 @@ toughness=4 [card] name=Bishop of Wings auto=life:4 controller -auto=@movedTo(creature[angel]|graveyard) from(mybattlefield):create(Spirit:creature Spirit:1/1:white:flying) +auto=@movedTo(creature[angel]|graveyard) from(mybattlefield):_SPIRITTOKEN_ text=Whenever an Angel enters the battlefield under your control, you gain 4 life. -- Whenever an Angel you control dies, create a 1/1 white Spirit creature token with flying. mana={W}{W} type=Creature @@ -6606,10 +6605,10 @@ buyback={4}{R} autohand=__CYCLING__({1}{R}) autoexile=restriction{discarded} pay({R}) name(pay R to cast) activate name(pay R to cast) castcard(alternative)?name(put in graveyard) moveto(ownergraveyard) auto=damage:2 -auto=if paid(kicker) then token(Goblin,Creature Goblin,1/1,red) -auto=if paid(alternative) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red) -auto=if paid(flashback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red) -auto=if paid(buyback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) token(Goblin,Creature Goblin,1/1,red) +auto=if paid(kicker) then _GOBLINTOKEN_ +auto=if paid(alternative) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) _GOBLINTOKEN_ +auto=if paid(flashback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) _GOBLINTOKEN_ +auto=if paid(buyback) then may name(Pay also kicker) pay({2}{R}) name(Pay also kicker) _GOBLINTOKEN_ text=Madness {R}, cycling {1}{R}, kicker {2}{R}, flashback {3}{R}, buyback {4}{R} -- Blast from the Past deals 2 damage to target creature or player. -- If the kicker cost was paid, put a 1/1 red Goblin creature token into play. mana={2}{R} type=Instant @@ -7992,7 +7991,7 @@ toughness=4 [/card] [card] name=Bone Miser -auto=@discarded(creature|myhand):token(Zombie,Creature Zombie,2/2,black) +auto=@discarded(creature|myhand):_ZOMBIETOKEN_ auto=@discarded(land|myhand):add{B}{B} auto=@discarded(*[-land;-creature]|myhand):draw:1 text=Whenever you discard a creature card, create a 2/2 black Zombie creature token. -- Whenever you discard a land card, add {B}{B}. -- Whenever you discard a noncreature, nonland card, draw a card. @@ -8137,9 +8136,10 @@ type=Sorcery [/card] [card] name=Bontu the Glorified -abilities=menace,indestructible,cantattack,cantblock +abilities=menace,indestructible,cantattack,cantpwattack,cantblock aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveTo(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantattack ueot +auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantpwattack ueot auto=@movedto(creature|mygraveyard) from(mybattlefield):-cantblock ueot auto={1}{B}{S(other creature|mybattlefield)}:scry:1 scrycore delayed dontshow donothing scrycoreend scryend && life:-1 opponent && life:1 controller text=Menace, indestructible -- Bontu the Glorified can't attack or block unless a creature died under your control this turn. -- {1}{B}, Sacrifice another creature: Scry 1. Each opponent loses 1 life and you gain 1 life. @@ -8480,7 +8480,7 @@ type=Enchantment [/card] [card] name=Box of Free-Range Goblins -auto=rolld6 6 winability token(Goblin,Creature Goblin,1/1,red)*lastrollresult winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresult loseabilityend rolld6end +auto=rolld6 6 winability _GOBLINTOKEN_*lastrollresult winabilityend loseability _GOBLINTOKEN_*lastrollresult loseabilityend rolld6end text=Roll a six-sided die. Create a number of 1/1 red Goblin creature tokens equal to the result. mana={4}{R}{R} type=Sorcery @@ -9019,8 +9019,8 @@ abilities=hasdisturb restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) retrace={W}{U} name(Cast with disturb) -auto=name(Create Spirit) token(Spirit,Creature Spirit,1/1,white,flying) -auto=@targeted(this) from(aura|*):name(Create Spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=name(Create Spirit) _SPIRITTOKEN_ +auto=@targeted(this) from(aura|*):name(Create Spirit) _SPIRITTOKEN_ autostack=if paid(retrace) then flip(backside) forcetype(Enchantment Aura) and!( transforms((,newability[name(Attach to creature) retargetfromplay target(creature)],newability[teach(creature) transforms((,newability[@targeted(this) from(aura|*):name(Create Spirit) token(Spirit^Creature Spirit^1/1^white^flying)]))])) forever )! text=Whenever Brine Comber enters the battlefield or becomes the target of an Aura spell, create a 1/1 white Spirit creature token with flying. -- Disturb {W}{U} (You may cast this card from your graveyard transformed for its disturb cost.) // Brinebound Gift mana={1}{W}{U} @@ -9383,7 +9383,7 @@ toughness=3 [card] name=Bull's Strength target=creature -auto=transforms((,newability[2/2],newability[trample])) ueot +auto=transforms((,newability[2/2],newability[trample],newability[untap])) ueot text=Target creature gets +2/+2 and gains trample until end of turn. Untap it. mana={1}{G} type=Instant @@ -10207,7 +10207,7 @@ name=Captive Audience auto=moveto(opponentbattlefield) auto=@each my upkeep:this(counter{0/0.1.Choice}=0) lifeset:4 controller && counter(0/0,1,Choice) all(this) auto=@each my upkeep:this(counter{0/0.1.Choice}=1) all(*|myhand) reject && counter(0/0,1,Choice) all(this) -auto=@each my upkeep:this(counter{0/0.1.Choice}=2) token(Zombie,Creature Zombie,2/2,black)*5 opponent && counter(0/0,1,Choice) all(this) +auto=@each my upkeep:this(counter{0/0.1.Choice}=2) _ZOMBIETOKEN_*5 opponent && counter(0/0,1,Choice) all(this) text=Captive Audience enters the battlefield under the control of an opponent of your choice. -- At the beginning of your upkeep, choose one that hasn't been chosen -- Your life total becomes 4. -- Discard your hand. -- Each opponent creates five 2/2 black Zombie creature tokens. mana={5}{B}{R} type=Enchantment @@ -10789,8 +10789,7 @@ type=Enchantment name=Cavalier of Dawn abilities=vigilance auto=_DIES_moveTo(myhand) target(*[artifact;enchantment]|mygraveyard) -auto=choice name(Destroy your land) target(*[-land]|mybattlefield) destroy && token(Golem,Artifact Creature Golem,3/3) -auto=choice name(Destroy opponent's land) target(*[-land]|opponentbattlefield) destroy && token(Golem,Artifact Creature Golem,3/3) opponent +auto=may name(Destroy nonland permanent) target(*[-land]|battlefield) destroy && token(Golem,Artifact Creature Golem,3/3) targetController text=Vigilance -- When Cavalier of Dawn enters the battlefield, destroy up to one target nonland permanent. Its controller creates a 3/3 colorless Golem artifact creature token. -- When Cavalier of Dawn dies, return target artifact or enchantment card from your graveyard to your hand. mana={2}{W}{W}{W} type=Creature @@ -12101,7 +12100,7 @@ backside=Savage Packmate restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!) -auto={2}{R}{G}:name(Create Wolf) token(Wolf,Creature Wolf,2/2,green) +auto={2}{R}{G}:name(Create Wolf) _WOLFTOKEN_ text={2}{R}{G}: Create a 2/2 green Wolf creature token. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Savage Packmate mana={2}{R}{G} type=Creature @@ -12649,7 +12648,7 @@ toughness=3 [/card] [card] name=Clarion Spirit -auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~1}:_SPIRITTOKEN_ text=Whenever you cast your second spell each turn, create a 1/1 white Spirit creature token with flying. mana={1}{W} type=Creature @@ -14587,7 +14586,7 @@ type=Enchantment [card] name=Court of Grace auto=_MONARCH_CONTROLLER_ -auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:token(Spirit,Creature Spirit,1/1,white,flying) +auto=@each my upkeep restriction{compare(pmonarch)~equalto~0}:_SPIRITTOKEN_ auto=@each my upkeep restriction{compare(pmonarch)~equalto~1}:_ANGELTOKEN_ text=When Court of Grace enters the battlefield, you become the monarch. -- At the beginning of your upkeep, create a 1/1 white Spirit creature token with flying. If you're the monarch, create a 4/4 white Angel creature token with flying instead. mana={2}{W}{W} @@ -14740,7 +14739,7 @@ subtype=Aura [card] name=Cradle of the Accursed auto={T}:Add{1} -auto={3}{T}{S}:token(Zombie,creature Zombie,2/2,black) assorcery +auto={3}{T}{S}:_ZOMBIETOKEN_ assorcery text={T}: Add {1} to your mana pool. -- {3}, {T}, Sacrifice Cradle of the Accursed: Create a 2/2 black Zombie creature token. Activate this ability only any time you could cast a sorcery. type=Land subtype=Desert @@ -14924,7 +14923,7 @@ type=Land [card] name=Crawling Infestation auto=@each my upkeep:may name(Mill 2 cards) deplete:2 controller -auto=@movedto(creature|mygraveyard) restriction{compare(controllerturn)~morethan~0} turnlimited:name(Create insect) token(Insect Tok) +auto=@movedto(creature|mygraveyard) restriction{compare(controllerturn)~morethan~0} turnlimited:name(Create insect) _INSECTTOKEN_ text=At the beginning of your upkeep, you may mill two cards. (You may put the top two cards of your library into your graveyard.) -- Whenever one or more creature cards are put into your graveyard from anywhere during your turn, create a 1/1 green Insect creature token. This ability triggers only once each turn. mana={2}{G} type=Enchantment @@ -15516,7 +15515,7 @@ toughness=2 [/card] [card] name=Cult of the Waxing Moon -auto=@transformed(creature[-human]|myBattlefield):name(Create wolf) token(Wolf,Creature Wolf,2/2,green) +auto=@transformed(creature[-human]|myBattlefield):name(Create wolf) _WOLFTOKEN_ text=Whenever a permanent you control transforms into a non-Human creature, put a 2/2 green Wolf creature token onto the battlefield. mana={4}{G} type=Creature @@ -19410,7 +19409,7 @@ toughness=1 [/card] [card] name=Doomed Dissenter -auto=_DIES_token(Zombie,creature Zombie,2/2,black) +auto=_DIES__ZOMBIETOKEN_ text=When Doomed Dissenter dies, create a 2/2 black Zombie creature token. mana={1}{B} type=Creature @@ -20153,7 +20152,7 @@ toughness=3 [card] name=Dread Summons auto=deplete:X opponent && deplete:X controller -auto=@movedTo(creature|graveyard) from(library):all(trigger[to]) (token(Zombie,Creature Zombie,2/2,black) tap(noevent)) controller)! +auto=@movedTo(creature|graveyard) from(library):all(trigger[to]) (_ZOMBIETOKEN_ tap(noevent)) controller)! text=Each player puts the top X cards of their library into their graveyard. For each creature card put into a graveyard this way, you create a tapped 2/2 black Zombie creature token. mana={X}{B}{B} type=Sorcery @@ -20652,7 +20651,7 @@ type=Instant [/card] [card] name=Drowned Secrets -auto=@movedTo(blue|mystack):target(player deplete:2 +auto=@movedTo(*[blue]|mystack):deplete:2 target(player) text=Whenever you cast a blue spell, target player puts the top two cards of their library into their graveyard. mana={1}{U} type=Enchantment @@ -20704,7 +20703,7 @@ subtype=Class [/card] [card] name=Druid of Horns -auto=@targeted(this) from(Aura|mycastingzone):create(beast:creature beast:3/3:green:) +auto=@targeted(this) from(Aura|mycastingzone):_BEASTTOKEN_ text=Whenever you cast an Aura spell that targets Druid of Horns, create a 3/3 green Beast creature token. mana={3}{G} type=Creature @@ -21156,7 +21155,7 @@ subtype=Aura [/card] [card] name=Dying to Serve -auto=@discarded(*|myhand) turnlimited:name(Create zombie) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=@discarded(*|myhand) turnlimited:name(Create zombie) _ZOMBIETOKEN_ and!( tap(noevent) )! text=Whenever you discard one or more cards, create a tapped 2/2 black Zombie creature token. This ability triggers only once each turn. mana={2}{B} type=Enchantment @@ -21949,7 +21948,7 @@ subtype=Saga [card] name=Elturgard Ranger abilities=reach -auto=name(Create wolf) token(Wolf,Creature Wolf,2/2,green) +auto=name(Create wolf) _WOLFTOKEN_ text=Reach -- When Elturgard Ranger enters the battlefield, create a 2/2 green Wolf creature token. mana={4}{G} type=Creature @@ -22345,7 +22344,7 @@ type=Sorcery [card] name=Empty the Pits other={delve} name(Delve) -auto=token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!*xx +auto=_ZOMBIETOKEN_ and!( tap(noevent) )!*xx text=Delve (Each card you exile from your graveyard while casting this spell pays for {1}.) -- Put X 2/2 black Zombie creature tokens onto the battlefield tapped. mana={X}{X}{B}{B}{B}{B} type=Instant @@ -22716,7 +22715,7 @@ type=Sorcery [/card] [card] name=Entrapment Maneuver -auto=target(player) ability$!name(sacrifice attacker) notatarget(creature[attacking]|mybattlefield) sacrifice!$ targetedplayer then token(Soldier,Creature Soldier,1/1,white)*storedtoughness +auto=target(player) ability$!name(sacrifice attacker) notatarget(creature[attacking]|mybattlefield) sacrifice!$ targetedplayer then _SOLDIERTOKEN_*storedtoughness text=Target player sacrifices an attacking creature. You create X 1/1 white Soldier creature tokens, where X is that creature's toughness. mana={3}{W} type=Instant @@ -23206,7 +23205,7 @@ type=Instant name=Ethereal Investigator abilities=flying auto=name(Investigate) token(Clue) -auto=_SECOND_DRAW_name(Create spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=_SECOND_DRAW_name(Create spirit) _SPIRITTOKEN_ text=Flying -- When Ethereal Investigator enters the battlefield, investigate X times, where X is the number of opponents you have. (To investigate, create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you draw your second card each turn, create a 1/1 white Spirit creature token with flying. mana={3}{U} type=Creature @@ -25048,7 +25047,7 @@ type=Instant [/card] [card] name=Ferocious Pup -auto=create(wolf:creature wolf:2/2:green) +auto=_WOLFTOKEN_ text=When Ferocious Pup enters the battlefield, create a 2/2 green Wolf creature token. mana={2}{G} type=Creature @@ -25246,8 +25245,8 @@ type=Land name=Field of the Dead auto=tap(noevent) auto={T}:add{C} -auto=if type(land|myBattlefield)~morethan~6 then name(Create zombie) token(Zombie,Creature Zombie,2/2,black) -auto=@movedTo(other land|myBattlefield) restriction{type(land|myBattlefield)~morethan~6}:name(Create zombie) token(Zombie,Creature Zombie,2/2,black) +auto=if type(land|myBattlefield)~morethan~6 then name(Create zombie) _ZOMBIETOKEN_ +auto=@movedTo(other land|myBattlefield) restriction{type(land|myBattlefield)~morethan~6}:name(Create zombie) _ZOMBIETOKEN_ text=Field of the Dead enters the battlefield tapped. -- {T}: Add {1}. -- Whenever Field of the Dead or another land enters the battlefield under your control, if you control seven or more lands with different names, create a 2/2 black Zombie creature token. type=Land [/card] @@ -25968,7 +25967,7 @@ type=Instant [/card] [card] name=First Response -auto=@each upkeep restriction{lastturn(life)~morethan~0}:token(Soldier,Creature Soldier,1/1,white) +auto=@each upkeep restriction{lastturn(life)~morethan~0}:_SOLDIERTOKEN_ text=At the beginning of each upkeep, if you lost life last turn, put a 1/1 white Soldier creature token onto the battlefield. mana={3}{W} type=Enchantment @@ -26036,7 +26035,7 @@ type=Artifact [card] name=Fists of Flame target=creature -auto=draw:1 +auto=draw:1 controller auto=thisforeach(variable{pdrewcount}>0) 1/1 ueot && trample ueot text=Draw a card. Until end of turn, target creature gains trample and gets +1/+0 for each card you've drawn this turn. mana={1}{R} @@ -27944,7 +27943,7 @@ toughness=3 [card] name=Garbage Elemental (c) auto=_ATTACKING_all(other creature[attacking]) 1/0 ueot -auto=all(this) rolld6 winability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend winabilityend loseability token(Goblin,Creature Goblin,1/1,red)*lastrollresultminuslastrollchoiceminusend loseabilityend rolld6end +auto=all(this) rolld6 winability _GOBLINTOKEN_*lastrollresultminuslastrollchoiceminusend winabilityend loseability _GOBLINTOKEN_*lastrollresultminuslastrollchoiceminusend loseabilityend rolld6end text=Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.) -- When Garbage Elemental enters the battlefield, roll two six-sided dice. Create a number of 1/1 red Goblin creature tokens equal to the difference between those results. mana={4}{R} type=Creature @@ -28464,7 +28463,7 @@ toughness=1 name=Generous Gift target=*|battlefield auto=destroy -auto=token(Elephant,Creature Elephant,3/3,green) targetController +auto=_ELEPHANTTOKEN_ targetController text=Destroy target permanent. Its controller creates a 3/3 green Elephant creature token. mana={2}{W} type=Instant @@ -30099,7 +30098,7 @@ toughness=2 [/card] [card] name=Goblin Gang Leader -auto=token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 text=When Goblin Gang Leader enters the battlefield, create two 1/1 red Goblin creature tokens. mana={2}{R}{R} type=Creature @@ -30109,15 +30108,15 @@ toughness=2 [/card] [card] name=Goblin Gathering -auto=foreach(Goblin Gathering|mygraveyard) create(Goblin:creature Goblin:1/1:red:) -auto=create(Goblin:creature Goblin:1/1:red:)*2 +auto=foreach(Goblin Gathering|mygraveyard) _GOBLINTOKEN_ +auto=_GOBLINTOKEN_*2 text=Create a number of 1/1 red Goblin creature tokens equal to two plus the number of cards named Goblin Gathering in your graveyard. mana={2}{R} type=Sorcery [/card] [card] name=Goblin Goliath -auto=token(Goblin,Creature Goblin,1/1,red) +auto=_GOBLINTOKEN_ auto={3}{R}{T}:name(Double damage) transforms((,newability[@damagefoeof(player) from(*[-Goblin Goliath]|*):damage:thatmuch opponent],newability[@combatdamagefoeof(player) from(this):damage:thatmuch opponent])) ueot text=When Goblin Goliath enters the battlefield, create a number of 1/1 red Goblin creature tokens equal to the number of opponents you have. -- {3}{R}, {T}: If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead. mana={4}{R}{R} @@ -30138,7 +30137,7 @@ toughness=2 [/card] [card] name=Goblin Instigator -auto=token(Goblin,Creature Goblin,1/1,red) +auto=_GOBLINTOKEN_ text=When Goblin Instigator enters the battlefield, create a 1/1 red Goblin creature token. mana={1}{R} type=Creature @@ -30168,28 +30167,20 @@ power=2 toughness=1 [/card] [card] -name=Goblin Los -type=Creature -subtype=Goblin -power=1 -toughness=1 -color=red -[/card] -[card] name=Goblin Morningstar auto={1}{R}:equip auto=teach(creature) 1/0 auto=teach(creature) trample auto=aslongas(parents) transforms((,newability[name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end])) oneshot <1 -auto=@dierolled(this) result(1) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(2) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(3) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(4) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(5) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(6) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(7) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(8) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) -auto=@dierolled(this) result(9) from(controller):name(Create goblin) token(Goblin,Creature Goblin,1/1,red) +auto=@dierolled(this) result(1) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(2) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(3) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(4) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(5) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(6) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(7) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(8) from(controller):name(Create goblin) _GOBLINTOKEN_ +auto=@dierolled(this) result(9) from(controller):name(Create goblin) _GOBLINTOKEN_ auto=@dierolled(this) result(10) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red) auto=@dierolled(this) result(11) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red) auto=@dierolled(this) result(12) from(controller):name(Create goblin and attach) livingweapontoken(Goblin,Creature Goblin,1/1,red) @@ -30328,8 +30319,8 @@ type=Sorcery [card] name=Goblin War Party other={5}{R}{R} name(Entwine) -auto=if paid(alternative) then create(Goblin:Creature Goblin:1/1:red)*3 && all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot -auto=ifnot paid(alternative) then transforms((,newability[choice create(Goblin:Creature Goblin:1/1:red)*3],newability[choice all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot])) +auto=if paid(alternative) then _GOBLINTOKEN_*3 && all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot +auto=ifnot paid(alternative) then transforms((,newability[choice _GOBLINTOKEN_*3],newability[choice all(creature|mybattlefield) 1/1 ueot && all(creature|mybattlefield) haste ueot])) text=Choose one -- Create three 1/1 red Goblin creature tokens. -- Creatures you control get +1/+1 and gain haste until end of turn. -- Entwine {2}{R} (Choose both if you pay the entwine cost.) mana={3}{R} type=Sorcery @@ -32724,7 +32715,7 @@ type=Enchantment [card] name=Hanged Executioner abilities=flying -auto=create(Spirit:creature Spirit:1/1:white:flying) +auto=_SPIRITTOKEN_ auto={3}{W}{E}:moveTo(exile) target(creature) text=Flying -- When Hanged Executioner enters the battlefield, create a 1/1 white Spirit creature token with flying. -- {3}{W}, Exile Hanged Executioner: Exile target creature. mana={2}{W} @@ -33125,7 +33116,7 @@ type=Legendary Enchantment [/card] [card] name=Haunted Library -auto=@movedto(creature|graveyard) from(opponentbattlefield):may name(Pay and create spirit) pay({1}) name(Pay and create spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedto(creature|graveyard) from(opponentbattlefield):may name(Pay and create spirit) pay({1}) name(Pay and create spirit) _SPIRITTOKEN_ text=Whenever a creature an opponent controls dies, you may pay {1}. If you do, create a 1/1 white Spirit creature token with flying. mana={1}{W} type=Enchantment @@ -33267,7 +33258,7 @@ type=Sorcery [/card] [card] name=Headless Rider -auto=@movedto(zombie[token]|graveyard) from(mybattlefield):name(Create Zombie) token(Zombie,Creature Zombie,2/2,black) +auto=@movedto(zombie[token]|graveyard) from(mybattlefield):name(Create Zombie) _ZOMBIETOKEN_ text=Wheenver Headless Rider or another nontoken Zombie you control dies, create a 2/2 black Zombie creature token. mana={2}{B} type=Creature @@ -33961,7 +33952,7 @@ type=Legendary Artifact name=Heroic Reinforcements auto=lord(other creature|myBattlefield) +1/+1 auto=lord(other creature|myBattlefield) haste -auto=create(Soldier:creature Soldier:1/1:white:)*2 +auto=_SOLDIERTOKEN_*2 text=Create two 1/1 white Soldier creature tokens. Until end of turn, creatures you control get +1/+1 and gain haste. (They can attack and {T} this turn.) mana={2}{R}{W} type=Sorcery @@ -33981,7 +33972,7 @@ toughness=3 [card] name=Heron-Blessed Geist abilities=flying -autograveyard=this(variable{type:enchantment:mybattlefield}>0) {3}{W}{E}:name(Create spirit) token(Spirit,Creature Spirit,1/1,white,flying)*2 asSorcery +autograveyard=this(variable{type:enchantment:mybattlefield}>0) {3}{W}{E}:name(Create spirit) _SPIRITTOKEN_*2 asSorcery text=Flying -- {3}{W}, Exile Heron-Blessed Geist from your graveyard: Create two 1/1 white Spirit creature tokens with flying. Activate only if you control an enchantment and only as a sorcery. mana={4}{W} type=Creature @@ -34285,7 +34276,7 @@ type=Land [card] name=Hiveheart Shaman auto=_ATTACKING_may name(Search basic land) transforms((,newability[if type(plains[basic]|mybattlefield)~equalto~0 then choice name(Search Plains) name(Search Plains) target(plains[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!],newability[if type(mountain[basic]|mybattlefield)~equalto~0 then choice name(Search Mountain) name(Search Mountain) target(mountain[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!],newability[if type(swamp[basic]|mybattlefield)~equalto~0 then choice name(Search Swamp) name(Search Swamp) target(swamp[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!],newability[if type(forest[basic]|mybattlefield)~equalto~0 then choice name(Search Forest) name(Search Forest) target(forest[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!],newability[if type(island[basic]|mybattlefield)~equalto~0 then choice name(Search Island) name(Search Island) target(island[basic]|mylibrary) moveto(mybattlefield) and!( shuffle )!])) oneshot -auto={5}{G}:name(Create Insect) token(Insect Tok) and!( counter(1/1,pbasiclandtypes) )! asSorcery +auto={5}{G}:name(Create Insect) _INSECTTOKEN_ and!( counter(1/1,pbasiclandtypes) )! asSorcery text=Whenever Hiveheart Shaman attacks, you may search your library for a basic land card that doesn't share a land type with any land you control, put that card onto the battlefield, then shuffle. -- {5}{G}: Create a 1/1 green Insect creature token. Put X +1/+1 counters on it, where X is the number of basic land types among lands you control. Activate only as a sorcery. mana={3}{G} type=Creature @@ -34470,7 +34461,7 @@ toughness=6 [card] name=Hollowhenge Overlord abilities=flash -auto=@each my upkeep:name(Create wolf) foreach(creature[wolf;werewolf]|mybattlefield) token(Wolf,Creature Wolf,2/2,green) +auto=@each my upkeep:name(Create wolf) foreach(creature[wolf;werewolf]|mybattlefield) _WOLFTOKEN_ text=Flash -- At the beginning of your upkeep, for each creature you control that's a Wolf or a Werewolf, create a 2/2 green Wolf creature token. mana={4}{G}{G} type=Creature @@ -34989,7 +34980,7 @@ subtype=Aura [card] name=Howling Giant abilities=reach -auto=create(Wolf:creature Wolf:2/2:green)*2 +auto=_WOLFTOKEN_*2 text=Reach (This creature can block creatures with flying.) -- When Howling Giant enters the battlefield, create two 2/2 green Wolf creature tokens. mana={5}{G}{G} type=Creature @@ -35013,7 +35004,7 @@ toughness=3 [card] name=Howling Moon auto=@each my combatbegins:name(Wolf or Werewolf gets 2/2) target(*[wolf;werewolf]|mybattlefield) 2/2 ueot -auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:name(Create Wolf) token(Wolf,Creature Wolf,2/2,green) +auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:name(Create Wolf) _WOLFTOKEN_ text=At the beginning of combat on your turn, target Wolf or Werewolf you control gets +2/+2 until end of turn. -- Whenever an opponent casts their second spell each turn, create a 2/2 green Wolf creature token. mana={2}{G} type=Enchantment @@ -36340,9 +36331,9 @@ toughness=1 [/card] [card] name=Imprisoned in the Moon -target=*|battlefield -auto=teach(creature) loseabilities -auto=teach(creature) transforms((removetypes,newability[becomes(Land)],newability[{T}:add{1}])) forever +target=*[creature;land;planeswalker]|battlefield +auto=loseabilities +auto=transforms((removetypes,newability[becomes(Land)],newability[{T}:add{1}])) forever text=Enchant creature, land, or planeswalker -- Enchanted permanent is a colorless land with "{T}: Add {C} to your mana pool" and loses all other card types and abilities. mana={2}{U} type=Enchantment @@ -36837,8 +36828,8 @@ backside=Infested Werewolf restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!) -auto=token(Insect Tok) -auto=_ATTACKING_name(Create Insects) token(Insect Tok) +auto=_INSECTTOKEN_ +auto=_ATTACKING_name(Create Insects) _INSECTTOKEN_ text=Whenever Infestation Expert enters the battlefield or attacks, create a 1/1 green Insect creature token. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Infested Werewolf mana={4}{G} type=Creature @@ -36851,8 +36842,8 @@ name=Infested Werewolf abilities=nightbound backside=Infestation Expert auto=if type(*[day;night]|battlefield)~equalto~0 then if type(*[nonight]|battlefield)~equalto~0 then name(It becomes night) name(It becomes night) name(It becomes night) activate castcard(noevent named!:Night:!) -auto=token(Insect Tok)*2 -auto=_ATTACKING_name(Create Insects) token(Insect Tok)*2 +auto=_INSECTTOKEN_*2 +auto=_ATTACKING_name(Create Insects) _INSECTTOKEN_*2 text=Whenever Infested Werewolf enters the battlefield or attacks, create two 1/1 green Insect creature token. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Infestation Expert type=Creature subtype=Werewolf @@ -37187,14 +37178,6 @@ toughness=1 color=green [/card] [card] -name=Insect Tok -type=Creature -subtype=Insect -power=1 -toughness=1 -color=green -[/card] -[card] name=Insidious Dreams aicode=activate moveTo(myLibrary) target(*|myLibrary) auto=if type(*|myHand)~morethan~0 then choice ability$!name(X=1) target(*|myhand) reject!$ controller && name(search 1 card) reveal:plibrarycount optionone name(choose 1 card) target(<1>*|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) and!(shuffle)! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) afterrevealedend revealend @@ -37672,7 +37655,7 @@ toughness=4 [/card] [card] name=Iridescent Hornbeetle -auto=@counteradded(1/1) from(creature|myBattlefield) restriction{myTurnOnly}:all(this) transforms((,newability[phaseaction[endofturn sourceinplay once] create(Insect:Creature Insect:1/1:green)])) ueot +auto=@counteradded(1/1) from(creature|myBattlefield) restriction{myTurnOnly}:all(this) transforms((,newability[phaseaction[endofturn sourceinplay once] _INSECTTOKEN_])) ueot text=At the beginning of your end step, create a 1/1 green Insect creature token for each +1/+1 counter you've put on creatures under your control this turn. mana={4}{G} type=Creature @@ -37744,7 +37727,7 @@ toughness=4 [card] name=Ironroot Warlord anyzone=type:creature:myBattlefield/5 cdaactive -auto={3}{G}{W}:token(Soldier,Creature Soldier,1/1,white) +auto={3}{G}{W}:_SOLDIERTOKEN_ text=Ironroot Warlord's power is equal to the number of creatures you control. -- {3}{G}{W}: Create a 1/1 white Soldier creature token. mana={1}{G}{W} type=Creature @@ -37870,7 +37853,7 @@ type=Conspiracy [card] name=Itlimoc, Cradle of the Sun auto={T}:Add{G} -auto={T}:foreach(creature|mybattlefield) add{G} +auto={T}:name(Add G for each creature you control) foreach(creature|mybattlefield) add{G} text=(Transforms from Growing Rites of Itlimoc.) -- {T}: Add {G} to your mana pool. -- {T}: Add {G} to your mana pool for each creature you control. type=Legendary Land [/card] @@ -38954,7 +38937,7 @@ toughness=5 [card] name=Kalitas, Traitor of Ghet abilities=lifelink -auto=@movedto(creature[-token]|opponentgraveyard):all(trigger[to]) moveTo(exile) && token(Zombie,Creature Zombie,2/2,black) +auto=@movedto(creature[-token]|opponentgraveyard):all(trigger[to]) moveTo(exile) && _ZOMBIETOKEN_ auto={2}{B}{S(other vampire|myBattlefield)}:name(Sacrifice vampire) counter(1/1,2) auto={2}{B}{S(other zombie|myBattlefield)}:name(Sacrifice zombie) counter(1/1,2) text=Lifelink -- If a nontoken creature an opponent controls would die, instead exile that card and put a 2/2 black Zombie creature token onto the battlefield. -- {2}{B}, Sacrifice another Vampire or Zombie: Put two +1/+1 counters on Kalitas, Traitor of Ghet. @@ -39497,7 +39480,7 @@ toughness=4 [/card] [card] name=Keeper of the Accord -auto=@each opponent endofturn restriction{type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield)}:token(Soldier,Creature Soldier,1/1,white) +auto=@each opponent endofturn restriction{type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield)}:_SOLDIERTOKEN_ auto=@each opponent endofturn restriction{type(land|opponentbattlefield)~morethan~type(land|mybattlefield)}:may name(search basic plains) reveal:plibrarycount optionone name(choose basic plains) target(plains[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend text=At the beginning of each opponent's end step, if that player controls more creatures than you, create a 1/1 white Soldier creature token. -- At the beginning of each opponent's end step, if that player controls more lands than you, you may search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle your library. mana={3}{W} @@ -41150,7 +41133,7 @@ toughness=3 [card] name=Kykar, Wind's Fury abilities=flying -auto=@movedTo(*[-creature]|mystack):create(Spirit:creature Spirit:1/1:white:flying) +auto=@movedTo(*[-creature]|mystack):_SPIRITTOKEN_ auto={S(Spirit|myBattlefield)}:add{R} text=Flying -- Whenever you cast a noncreature spell, create a 1/1 white Spirit creature token with flying. -- Sacrifice a Spirit: Add {R}. mana={1}{U}{R}{W} @@ -42029,7 +42012,7 @@ toughness=4 [/card] [card] name=Lena, Selfless Champion -auto=foreach(creature[-token]|mybattlefield) create(soldier:creature soldier:1/1:white:) +auto=foreach(creature[-token]|mybattlefield) _SOLDIERTOKEN_ auto={S}:auto=all(other creature[power<=2]|myBattlefield) indestructible ueot text=When Lena, Selfless Champion enters the battlefield, create a 1/1 white Soldier creature token for each nontoken creature you control. -- Sacrifice Lena: Creatures you control with power less than Lena's power gain indestructible until end of turn. mana={4}{W}{W} @@ -42628,7 +42611,7 @@ type=Sorcery [card] name=Liliana's Mastery auto=lord(zombie|mybattlefield) 1/1 -auto=token(Zombie,creature Zombie,2/2,black)*2 +auto=_ZOMBIETOKEN_*2 text=Zombies you control get +1/+1. -- When Liliana's Mastery enters the battlefield, create two 2/2 black Zombie creature tokens. mana={3}{B}{B} type=Enchantment @@ -43461,7 +43444,7 @@ name=Lost Mine of Phandelver restriction=never autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cave Entrance) name(Cave Entrance) scry:1 scrycore delayed dontshow donothing scrycoreend scryend!$ controller -autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend token(Goblin Los) and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend _GOBLINTOKEN_ and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntgoblinliar)~morethan~0}:ability$!name(Storeroom or Dark Pool) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Storeroom) name(Storeroom) target(creature|battlefield) counter(1/1)],newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend opponent])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntminetunnels)~morethan~0}:ability$!name(Dark Pool or Fungi Cavern) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend controller opponent],newability[if type(creature|battlefield)~morethan~0 then choice name(Fungi Cavern) name(Fungi Cavern) target(creature|battlefield) transforms((,newability[-4/0])) uynt])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:choice name(Dungeon completed) all(Lost Mine of Phandelver|mycommandzone) completedungeon:1 controller @@ -44255,7 +44238,7 @@ toughness=2 [/card] [card] name=Magus of the Bridge -auto=@movedTo(creature[-token]|mygraveyard) from(battlefield):token(Zombie,Creature Zombie,2/2,black) +auto=@movedTo(creature[-token]|mygraveyard) from(battlefield):_ZOMBIETOKEN_ auto=@movedTo(creature[-token]|opponentgraveyard) from(battlefield):all(this) moveto(exile) text=Whenever a nontoken creature is put into your graveyard from the battlefield, create a 2/2 black Zombie creature token. -- When a creature is put into an opponent's graveyard from the battlefield, exile Magus of the Bridge. mana={B}{B}{B} @@ -44735,7 +44718,7 @@ subtype=Aura name=Mantle of the Wolf target=creature auto=4/4 -auto=@movedto(this|graveyard):token(Wolf,Creature Wolf,2/2,green)*2 +auto=@movedto(this|graveyard):_WOLFTOKEN_*2 text=Enchant creature -- Enchanted creature gets +4/+4. -- When Mantle of the Wolf is put into a graveyard from the battlefield, create two 2/2 green Wolf creature tokens. mana={3}{G} type=Enchantment @@ -44849,6 +44832,7 @@ type=Sorcery name=March of the Drowned auto=choice name(return creature) moveto(myhand) target(creature|mygraveyard) auto=choice name(return pirates) moveto(myhand) target(<2>pirate|mygraveyard) +restriction=type(creature|mygraveyard)~morethan~0 text=Choose one -- Return target creature card from your graveyard to your hand. -- Return two target Pirate cards from your graveyard to your hand. mana={B} type=Sorcery @@ -45517,7 +45501,7 @@ type=Land [card] name=Memorial to Glory auto=tap(noevent) -auto={3}{W}{T}{S}:create(soldier:creature soldier:1/1:white:)*2 +auto={3}{W}{T}{S}:_SOLDIERTOKEN_*2 auto={T}:Add{W} text=Memorial to Glory enters the battlefield tapped. -- {T}: Add {W}. -- {3}{W}, {T}, Sacrifice Memorial to Glory: Create two 1/1 white Soldier creature tokens. type=Land @@ -46155,8 +46139,8 @@ toughness=3 name=Millicent, Restless Revenant abilities=flying anyzone=foreach(spirit|myBattlefield) changecost(colorless:-1) forcedalive -auto=@damaged(player) from(spirit[-token]|myBattlefield):name(Create Spirit) token(Spirit,Creature Spirit,1/1,white,flying) -auto=@movedto(spirit[-token]|graveyard) from(myBattlefield):name(Create Spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=@damaged(player) from(spirit[-token]|myBattlefield):name(Create Spirit) _SPIRITTOKEN_ +auto=@movedto(spirit[-token]|graveyard) from(myBattlefield):name(Create Spirit) _SPIRITTOKEN_ text=This spell costs {1} less to cast for each Spirit you control. -- Flying -- Whenever Millicent, Restless Revenant or another nontoken Spirit you control dies or deals damage to a player, create a 1/1 white Spirit creature token with flying. mana={5}{W}{U} type=Legendary Creature @@ -46845,7 +46829,7 @@ type=Enchantment [card] name=Mogg Infestation target=player -auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then create(Goblin:Creature Goblin:1/1:red)*2 targetedpersonsbattlefield)! +auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then _GOBLINTOKEN_*2 targetedpersonsbattlefield)! mana={3}{R}{R} type=Sorcery text=Destroy all creatures target player controls. For each creature that died this way, put two 1/1 red Goblin creature tokens onto the battlefield under that player's control. @@ -48100,7 +48084,7 @@ toughness=1 [/card] [card] name=Narfi, Betrayer King -auto=lord(other creature[zombie;snow]|mybattlefield) 1/1 +auto=lord(other *[zombie;snow]|mybattlefield) 1/1 autograveyard={i}{i}{i}:moveto(mybattlefield) and!( tap(noevent) )! text=Other snow and Zombie creatures you control get +1/+1. -- {S}i}{S}i}{S}i} : Return Narfi, Betrayer King from your graveyard to the battlefield tapped. ({S}i} can be paid with one mana from a snow source.) mana={3}{U}{B} @@ -48389,7 +48373,7 @@ type=Sorcery [/card] [card] name=Necromentia -auto=chooseanameopp name(Search that cards) target(*[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( token(Zombie,Creature Zombie,2/2,black) opponent and!( shuffle opponent )! )! chooseend nonbasicland +auto=chooseanameopp name(Search that cards) target(*[chosenname]|opponentgraveyard,opponentlibrary,opponenthand) moveto(exile) and!( _ZOMBIETOKEN_ opponent and!( shuffle opponent )! )! chooseend nonbasicland text=Choose a card name other than a basic land card name. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. That player shuffles their library, then creates a 2/2 black Zombie creature token for each card exiled from their hand this way. mana={1}{B}{B} type=Sorcery @@ -48451,15 +48435,15 @@ subtype=Lesson [card] name=Necrotic Hex auto=ability$!name(sacrifice six creatures) sacrifice notatarget(<6>creature|mybattlefield)!$ opponent -auto=if type(creature|mybattlefield)~equalto~1 then target(creature|mybattlefield) sacrifice and!( thisforeach(variable{6}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~2 then target(<2>creature|mybattlefield) sacrifice and!( thisforeach(variable{3}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~3 then target(<3>creature|mybattlefield) sacrifice and!( thisforeach(variable{2}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~4 then target(<4>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~4 then thisforeach(variable{2}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=if type(creature|mybattlefield)~equalto~5 then target(<5>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~5 then token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=if type(creature|mybattlefield)~morethan~5 then target(<6>creature|mybattlefield) sacrifice and!( token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! -auto=if type(creature|mybattlefield)~equalto~0 then ability$!thisforeach(variable{6}) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! !$ controller +auto=if type(creature|mybattlefield)~equalto~1 then target(creature|mybattlefield) sacrifice and!( thisforeach(variable{6}) _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~2 then target(<2>creature|mybattlefield) sacrifice and!( thisforeach(variable{3}) _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~3 then target(<3>creature|mybattlefield) sacrifice and!( thisforeach(variable{2}) _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~4 then target(<4>creature|mybattlefield) sacrifice and!( _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~4 then thisforeach(variable{2}) _ZOMBIETOKEN_ and!( tap(noevent) )! +auto=if type(creature|mybattlefield)~equalto~5 then target(<5>creature|mybattlefield) sacrifice and!( _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~5 then _ZOMBIETOKEN_ and!( tap(noevent) )! +auto=if type(creature|mybattlefield)~morethan~5 then target(<6>creature|mybattlefield) sacrifice and!( _ZOMBIETOKEN_ and!( tap(noevent) )! )! +auto=if type(creature|mybattlefield)~equalto~0 then ability$!thisforeach(variable{6}) _ZOMBIETOKEN_ and!( tap(noevent) )! !$ controller text=Each player sacrifices six creatures. You create six tapped 2/2 black Zombie creature tokens. mana={6}{B} type=Sorcery @@ -48785,7 +48769,7 @@ restriction=type(*[creature;planeswalker]|battlefield)~morethan~0 otherrestriction=type(*|graveyard)~morethan~0 flashback={3}{B} name(Return) auto=ifnot paid(flashback) then target(*[creature;planeswalker]|battlefield) destroy -auto=if paid(flashback) then target(*|graveyard) moveto(exile) && token(Zombie,creature Zombie,2/2,black) +auto=if paid(flashback) then target(*|graveyard) moveto(exile) && _ZOMBIETOKEN_ text=Destroy target creature or planeswalker. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Exile target card from a graveyard. Create a 2/2 black Zombie creature token. mana={1}{B}{B} type=Sorcery @@ -48833,7 +48817,7 @@ toughness=0 [card] name=Nevinyrral, Urborg Tyrant auto=cantbetargetof(*[artifact;creature;enchantment]) -auto=foreach(creature[fresh]|graveyard) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=foreach(creature[fresh]|graveyard) _ZOMBIETOKEN_ and!( tap(noevent) )! auto=_DIES_pay({1}) name(destroy all artifacts, creatures, and enchantments) destroy all(artifact,creature,enchantment) text=Hexproof from artifacts, creatures, and enchantments -- When Nevinyrral, Urborg Tyrant enters the battlefield, create a tapped 2/2 black Zombie creature token for each creature that died this turn. -- When Nevinyrral dies, you may pay {1} . When you do, destroy all artifacts, creatures, and enchantments. mana={3}{W}{U}{B} @@ -49062,7 +49046,7 @@ name=Nightpack Ambusher abilities=flash auto=lord(other wolves|myBattlefield) 1/1 auto=lord(other werewolves|myBattlefield) 1/1 -auto=@each my endofturn restriction{thisturn(*|mystack)~lessthan~1}:create(wolf:creature wolf:2/2:green) +auto=@each my endofturn restriction{thisturn(*|mystack)~lessthan~1}:_WOLFTOKEN_ text=Flash -- Other Wolves and Werewolves you control get +1/+1. -- At the beginning of your end step, if you didn't cast a spell this turn, create a 2/2 green Wolf creature token. mana={2}{G}{G} type=Creature @@ -49659,7 +49643,7 @@ type=Land [card] name=Nurturing Presence target=creature -auto=name(Create spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=name(Create spirit) _SPIRITTOKEN_ auto=teach(creature) transforms((,newability[@movedto(creature|mybattlefield):name(Gets 1/1) 1/1 ueot])) text=Enchant creature -- Enchanted creature has "Whenever a creature enters the battlefield under your control, this creature gets +1/+1 until end of turn." -- When Nurturing Presence enters the battlefield, create a 1/1 white Spirit creature token with flying. mana={1}{W} @@ -50418,8 +50402,8 @@ toughness=7 [/card] [card] name=Old Rutstein -auto=name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then token(Insect Tok)],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! -auto=@each my upkeep:name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then token(Insect Tok)],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! +auto=name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! +auto=@each my upkeep:name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! text=When Old Rutstein enters the battlefield or at the beginning of your upkeep, mill a card. If a land card is milled this way, create a Treasure token. If a creature card is milled this way, create a 1/1 green Insect creature token. If a noncreature, nonland card is milled this way, create a Blood token. mana={1}{B}{G} type=Legendary Creature @@ -52317,7 +52301,7 @@ type=Sorcery name=Pashalik Mons auto=@movedto(other creature[goblin]|graveyard) from(mybattlefield):damage:1 target(creature,player) auto=_DIES_damage:1 target(player,creature,planeswalker) -auto={3}{R}{S(creature[goblin]|myBattlefield)}:token(Goblin,Creature Goblin,1/1,red)*2 +auto={3}{R}{S(creature[goblin]|myBattlefield)}:_GOBLINTOKEN_*2 text=Whenever Pashalik Mons or another Goblin you control dies, Pashalik Mons deals 1 damage to any target. -- {3}{R}, Sacrifice a Goblin: Create two 1/1 red Goblin creature tokens. mana={2}{R} type=Legendary Creature @@ -54227,7 +54211,7 @@ toughness=5 name=Prava of the Steel Legion abilities=partner auto=this(variable{controllerturn}>0) lord(creature[token]|mybattlefield) 1/4 -auto={3}{W}:token(Soldier,Creature Soldier,1/1,white) +auto={3}{W}:_SOLDIERTOKEN_ text=As long as it's your turn, creature tokens you control get +1/+4. -- {3}{W}: Create a 1/1 white Soldier creature token. -- Partner (You can have two commanders if both have partner.) mana={2}{W} type=Legendary Creature @@ -54474,7 +54458,7 @@ toughness=2 [/card] [card] name=Priest of the Blessed Graf -auto=@each my endofturn restriction{compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield)}:name(Create spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=@each my endofturn restriction{compare(type:land:opponentbattlefield)~morethan~compare(type:land:mybattlefield)}:name(Create spirit) _SPIRITTOKEN_ text=At the beginning of your end step, create X 1/1 white Spirit creature tokens with flying, where X is the number of opponents who control more lands than you. mana={2}{W} type=Creature @@ -56692,8 +56676,8 @@ subtype=Desert name=Ranar the Ever-Watchful abilities=flying,vigilance auto={0}:name(Choose foretell card) target(*[foretell]|myhand) transforms((,newability[{0}:name(Pay 0 and exile face-down) name(Pay 0 and exile face-down) doforetell myturnonly])) ueot limit:1 -auto=@movedto(*|myexile) from(myhand):token(Spirit,Creature Spirit,1/1,white,flying) -auto=@movedto(*[-instant;-sorcery]|myexile) from(mybattlefield):token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedto(*|myexile) from(myhand):_SPIRITTOKEN_ +auto=@movedto(*[-instant;-sorcery]|myexile) from(mybattlefield):_SPIRITTOKEN_ text=Flying, vigilance -- The first card you foretell each turn costs {0} to foretell. -- Whenever you exile one or more cards from your hand and/or permanents from the battlefield, create a 1/1 white Spirit creature token with flying. mana={2}{W}{U} type=Legendary Creature @@ -56704,7 +56688,7 @@ toughness=3 [card] name=Ranger Class auto=counter(0/0,1,Level) -auto=name(Create Wolf) token(Wolf,Creature Wolf,2/2,green) +auto=name(Create Wolf) _WOLFTOKEN_ auto=this(variable{hascntlevel}=1) {1}{G}:name(Level 2) counter(0/0,1,Level) asSorcery auto=@each my blockers restriction{compare(hascntlevel)~morethan~1}:name(Put 1/1 counter) target(creature[attacking]|battlefield) counter(1/1) auto=this(variable{hascntlevel}=2) {3}{G}:name(Level 3) counter(0/0,1,Level) asSorcery @@ -57489,7 +57473,7 @@ type=Sorcery [card] name=Recruit the Worthy buyback={3} -auto=create(soldier:creature soldier:1/1:white) +auto=_SOLDIERTOKEN_ text=Buyback {3} (You may pay an additional 3 as you cast this spell. If you do, put this card into your hand as it resolves.) -- Create a 1/1 white Soldier creature token. mana={W} type=Instant @@ -62514,7 +62498,7 @@ toughness=2 [/card] [card] name=Scute Swarm -auto=_LANDFALL_If type(land|myBattlefield)~morethan~5 then clone all(this) else token(Insect,Creature Insect,1/1,green) +auto=_LANDFALL_If type(land|myBattlefield)~morethan~5 then clone all(this) else _INSECTTOKEN_ text=Landfall - Whenever a land enters the battlefield under your control, create a 1/1 green Insect creature token. If you control six or more lands, create a token that's a copy of Scute Swarm instead. mana={2}{G} type=Creature @@ -63042,7 +63026,7 @@ type=Sorcery [card] name=Seize the Soul target=creature[-black;-white] -auto=destroy and!( token(Spirit,Creature Spirit,1/1,white,flying) controller )! +auto=destroy and!( _SPIRITTOKEN_ controller )! auto=if type(creature|mybattlefield)~morethan~0 then name(Exile and haunt a creature) all(this|mystack) moveto(myexile) and!( transforms((,newability[name(Haunt a creature) target(creature) haunt and!( counter(0/0.1.SeizeHaunted) )!],newability[@movedto(creature[isprey&counter{0/0.1.SeizeHaunted}]|graveyard) from(battlefield) once:name(Destroy creature) target(creature[-black;-white]|battlefield) destroy and!( token(Spirit^Creature Spirit^1/1^white^flying) controller )!])) forever )! text=Destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield. -- Haunt (When this spell card is put into a graveyard after resolving, exile it haunting target creature.) -- When the creature Seize the Soul haunts dies, destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield. mana={2}{B}{B} @@ -63176,8 +63160,8 @@ toughness=3 [/card] [card] name=Selvala's Charge -auto=reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then token(Elephant,Creature Elephant,3/3,green) optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend -auto=reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then token(Elephant,Creature Elephant,3/3,green) optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend +auto=reveal:1 revealzone(mylibrary) optionone if type(land|reveal)~lessthan~1 then _ELEPHANTTOKEN_ optiononeend optiontwo target(<1>*|reveal) moveto(mylibrary) optiontwoend afterrevealed draw:1 controller afterrevealedend revealend +auto=reveal:1 revealzone(opponentlibrary) optionone if type(land|reveal)~lessthan~1 then _ELEPHANTTOKEN_ optiononeend optiontwo target(<1>*|reveal) moveto(opponentlibrary) optiontwoend afterrevealed draw:1 opponent afterrevealedend revealend text=Parley - Each player reveals the top card of his or her library. For each nonland card revealed this way, you put a 3/3 green Elephant creature token onto the battlefield. Then each player draws a card. mana={4}{G} type=Sorcery @@ -63421,7 +63405,7 @@ subtype=Equipment [card] name=Sergeant-at-Arms kicker={2}{W} -auto=if paid(kicker) then create(soldier:creature soldier:1/1:white:)*2 +auto=if paid(kicker) then _SOLDIERTOKEN_*2 text=Kicker {2}{W} (You may pay an additional {2}{W} as you cast this spell.) -- When Sergeant-at-Arms enters the battlefield, if it was kicked, create two 1/1 white Soldier creature tokens. mana={2}{W} type=Creature @@ -64826,7 +64810,7 @@ toughness=2 name=Sidisi, Brood Tyrant auto=deplete:3 controller auto=_ATTACKING_deplete:3 controller -auto=@movedTo(creature|myGraveyard) from(mylibrary):token(Zombie,Creature Zombie,2/2,black) +auto=@movedTo(creature|myGraveyard) from(mylibrary):_ZOMBIETOKEN_ text=Whenever Sidisi, Brood Tyrant enters the battlefield or attacks, put the top three cards of your library into your graveyard. -- Whenever one or more creature cards are put into your graveyard from your library, put a 2/2 black Zombie creature token onto the battlefield. mana={1}{B}{G}{U} type=Legendary Creature @@ -66081,7 +66065,7 @@ type=Sorcery [card] name=Skull Skaab auto=may name(Exploit a creature) target(creature|mybattlefield) exploits -auto=@exploited(creature[-token]|mybattlefield):name(Create Zombie) token(Zombie,Creature Zombie,2/2,black) +auto=@exploited(creature[-token]|mybattlefield):name(Create Zombie) _ZOMBIETOKEN_ text=Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- Whenever a creature you control exploits a nontoken creature, create a 2/2 black Zombie creature token. mana={U}{B} type=Creature @@ -66632,7 +66616,7 @@ toughness=3 [/card] [card] name=Sling-Gang Lieutenant -auto=token(Goblin,creature goblin, 1/1,red)*2 +auto=_GOBLINTOKEN_*2 auto={S(goblin|myBattlefield)}:life:-1 opponent && life:1 controller text=When Sling-Gang Lieutenant enters the battlefield, create two 1/1 red Goblin creature tokens. -- Sacrifice a Goblin: Target player loses 1 life and you gain 1 life. mana={3}{B} @@ -70077,8 +70061,8 @@ type=Instant [card] name=Stir the Sands abilities=cycling -auto=token(Zombie,creature Zombie,2/2,black)*3 -autohand=__CYCLING__({3}{B}) && token(Zombie,creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_*3 +autohand=__CYCLING__({3}{B}) && _ZOMBIETOKEN_ text=Create three 2/2 black Zombie creature tokens. -- Cycling {3}{B} ({3}{B}, Discard this card: Draw a card.) -- When you cycle Stir the Sands, create a 2/2 black Zombie creature token. mana={4}{B}{B} type=Sorcery @@ -71407,7 +71391,7 @@ type=Instant name=Supply // Demand other={1}{G}{W} name(Demand) auto=if paid(alternative) then Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose multicolored card) target(<1>*[multicolor]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=ifnot paid(alternative) then token(Goblin,Creature Goblin,1/1,red)*x +auto=ifnot paid(alternative) then _GOBLINTOKEN_*x text=Put X 1/1 green Saproling creature tokens onto the battlefield. // Search your library for a multicolored card, reveal it, and put it into your hand. Then shuffle your library. mana={X}{G}{W} type=Sorcery @@ -71693,7 +71677,7 @@ type=Enchantment [card] name=Swarm Shambler auto=counter(1/1) -auto=@targeted(creature[counter{1/1}]|myBattlefield) from(*|opponentStack):token(Insect,Creature Insect,1/1,green) +auto=@targeted(creature[counter{1/1}]|myBattlefield) from(*|opponentStack):_INSECTTOKEN_ auto={1}{T}:counter(1/1) all(this) text=Swarm Shambler enters the battlefield with a +1/+1 counter on it. -- Whenever a creature you control with a +1/+1 counter on it becomes the target of a spell an opponent controls, create a 1/1 green Insect creature token. -- {1}, {T}: Put a +1/+1 counter on Swarm Shambler. mana={G} @@ -71704,7 +71688,7 @@ toughness=0 [/card] [card] name=Swarming Goblins -auto=name(Roll a d20) rolld20 20 winability token(Goblin Los)*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then token(Goblin Los) else token(Goblin Los)*2 loseabilityend rolld20end +auto=name(Roll a d20) rolld20 20 winability _GOBLINTOKEN_*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then _GOBLINTOKEN_ else _GOBLINTOKEN_*2 loseabilityend rolld20end text=When Swarming Goblins enters the battlefield, roll a d20. -- 1-9 | Create a 1/1 red Goblin creature token. -- 10-19 | Create two of those tokens. -- 20 | Create three of those tokens. mana={4}{R} type=Creature @@ -73561,7 +73545,7 @@ toughness=1 [card] name=Thalia's Geistcaller abilities=lifelink -auto=@movedTo(*|stack) from(mygraveyard):token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedTo(*|stack) from(mygraveyard):_SPIRITTOKEN_ auto={S(creature[spirit]|myBattlefield)}:indestructible ueot text=Lifelink -- Whenever you cast a spell from your graveyard, create a 1/1 white Spirit creature token with flying. -- Sacrifice a Spirit: Thalia's Geistcaller gains indestructible until end of turn. mana={2}{W} @@ -75298,7 +75282,7 @@ toughness=4 [/card] [card] name=Tin Street Cadet -auto=_BLOCKED_token(Goblin,Creature Goblin,1/1,red) +auto=_BLOCKED__GOBLINTOKEN_ text=Whenever Tin Street Cadet becomes blocked, create a 1/1 red Goblin creature token. mana={R} type=Creature @@ -75923,12 +75907,12 @@ toughness=2 [card] name=Tormod, the Desecrator abilities=partner -auto=@movedto(*|mybattlefield) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(*|myhand) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(*|mylibrary) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(*|myexile) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(*|mysideboard) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(*|mycommandzone) from(mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=@movedto(*|mybattlefield) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=@movedto(*|myhand) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=@movedto(*|mylibrary) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=@movedto(*|myexile) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=@movedto(*|mysideboard) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=@movedto(*|mycommandzone) from(mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! text=Whenever one or more cards leave your graveyard, create a tapped 2/2 black Zombie creature token. -- Partner (You can have two commanders if both have partner.) mana={3}{B} type=Legendary Creature @@ -76044,7 +76028,7 @@ backside=Tovolar's Packleader restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!) -auto=token(Wolf,Creature Wolf,2/2,green)*2 +auto=_WOLFTOKEN_*2 text=Whenever Tovolar's Huntmaster enters the battlefield, create two 2/2 green Wolf creature tokens. -- Daybound (If a player casts no spells during their own turn, it becomes night next turn.) // Tovolar's Packleader mana={4}{G}{G} type=Creature @@ -76057,7 +76041,7 @@ name=Tovolar's Packleader abilities=nightbound backside=Tovolar's Huntmaster auto=if type(*[day;night]|battlefield)~equalto~0 then if type(*[nonight]|battlefield)~equalto~0 then name(It becomes night) name(It becomes night) name(It becomes night) activate castcard(noevent named!:Night:!) -auto=token(Wolf,Creature Wolf,2/2,green)*2 +auto=_WOLFTOKEN_*2 auto={2}{G}{G}:name(Wolf of werewolf fights) target(other *[wolf;werewolf]|mybattlefield) transforms((,newability[name(Fights another creature) target(other creature|opponentbattlefield) dynamicability])) oneshot text=Whenever Tovolar's Packleader enters the battlefield or attacks, create two 2/2 green Wolf creature tokens. -- {2}{G}{G}: Another target Wolf or Werewolf you control fights target creature you don't control. -- Nightbound (If a player casts at least two spells during their own turn, it becomes day next turn.) // Tovolar's Huntmaster type=Creature @@ -76878,7 +76862,7 @@ toughness=3 [/card] [card] name=Trumpeting Herd -auto=token(Elephant,Creature Elephant,3/3,green) +auto=_ELEPHANTTOKEN_ auto=_REBOUND_ text=Create a 3/3 green Elephant creature token. -- Rebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.) mana={2}{G}{G} @@ -78592,7 +78576,7 @@ toughness=3 name=Valor of the Worthy target=creature auto=teach(creature) 1/1 -auto=@movedTo(mytgt|nonbattlezone) from(battlefield):token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedTo(mytgt|nonbattlezone) from(battlefield):_SPIRITTOKEN_ text=Enchant creature -- Enchanted creature gets +1/+1. -- When enchanted creature leaves the battlefield, create a 1/1 white Spirit creature token with flying. mana={W} type=Enchantment @@ -78869,7 +78853,7 @@ name=Varis, Silverymoon Ranger abilities=reach auto=@targeted(this) from(*|opponentstack):choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentstack) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?fizzle])) oneshot auto=@movedTo(*[creature;planeswalker]|mystack) restriction{compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0} turnlimited:name(Venture into dungeon) transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot -auto=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):name(Create wolf) token(Wolf,Creature Wolf,2/2,green) +auto=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):name(Create wolf) _WOLFTOKEN_ text=Reach, ward {1} -- Whenever you cast a creature or planeswalker spell, venture into the dungeon. This ability triggers only once each turn. (Enter the first room or advance to the next room.) -- Whenever you complete a dungeon, create a 2/2 green Wolf creature token. mana={1}{G}{G} type=Legendary Creature @@ -79792,7 +79776,7 @@ toughness=4 name=Vilespawn Spider abilities=reach auto=@each my upkeep:name(Mill a card) deplete:1 controller -auto={2}{G}{U}{T}{S}:name(Create Spiders) token(Insect Tok)*type:creature:mygraveyard asSorcery +auto={2}{G}{U}{T}{S}:name(Create Spiders) _INSECTTOKEN_*type:creature:mygraveyard asSorcery text=Reach -- At the beginning of your upkeep, mill a card. (Put the top card of your library into your graveyard.) -- {2}{G}{U}, {T}, Sacrifice Vilespawn Spider: Create a 1/1 green Insect creature token for each creature card in your graveyard. Activate only as a sorcery. mana={G}{U} type=Creature @@ -82007,7 +81991,7 @@ toughness=3 [/card] [card] name=Whispering Wizard -auto=@movedto(*[-creature]|mystack) turnlimited:name(Create Spirit) token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedto(*[-creature]|mystack) turnlimited:name(Create Spirit) _SPIRITTOKEN_ text=Whenever you cast a noncreature spell, create a 1/1 white Spirit creature token with flying. This ability triggers only once each turn. mana={3}{U} type=Creature @@ -82120,7 +82104,7 @@ toughness=1 [card] name=Wild Endeavor auto=name(Roll a d4) all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(*|mylibrary) from(controller) once:target(land[basic]|mylibrary) moveTo(mybattlefield) and!( tap(noevent) )!],newability[name(Roll a d4) rolld4 4 winability donothing winabilityend rolld4end])) oneshot -auto=name(Roll a d4) rolld4 4 winability token(Beast,Creature Beast,3/3,green)*lastrollresult winabilityend loseability token(Beast,Creature Beast,3/3,green)*lastrollresult loseabilityend rolld4end +auto=name(Roll a d4) rolld4 4 winability _BEASTTOKEN_*lastrollresult winabilityend loseability _BEASTTOKEN_*lastrollresult loseabilityend rolld4end text=Roll two d4 and choose one result. Create a number of 3/3 green Beast creature tokens equal to that result. Then search your library for a number of basic land cards equal to the other result, put them onto the battlefield tapped, then shuffle. mana={4}{G}{G} type=Sorcery @@ -82991,7 +82975,7 @@ toughness=4 [/card] [card] name=Wolfrider's Saddle -auto=livingweapontoken(Wolf,Creature Wolf,2/2,green) +auto=livingweapon_WOLFTOKEN_ auto={3}:equip auto=teach(creature) 1/1 auto=teach(creature) oneblocker @@ -83004,7 +82988,7 @@ subtype=Equipment name=Wolfwillow Haven target=land auto=teach(land) transforms((,newability[@tappedformana(mytgt):produceextra:{G}])) -auto={4}{G}{S}:token(Wolf,Creature Wolf,2/2,green) myTurnOnly +auto={4}{G}{S}:_WOLFTOKEN_ myTurnOnly text=Enchant land -- Whenever enchanted land is tapped for mana, its controller adds an additional {G}. -- {4}{G}, Sacrifice Wolfwillow Haven: Create a 2/2 green Wolf creature token. Activate this ability only during your turn. mana={1}{G} type=Enchantment @@ -83693,7 +83677,7 @@ type=Instant [card] name=You See a Pair of Goblins auto=choice name(All creatures get 2/0) all(creature|mybattlefield) transforms((,newability[2/0])) ueot -auto=choice name(Create 2 goblins) token(Goblin Los)*2 +auto=choice name(Create 2 goblins) _GOBLINTOKEN_*2 text=Choose one -- Charge Them - Creatures you control get +2/+0 until end of turn. -- Befriend Them - Create two 1/1 red Goblin creature tokens. mana={2}{R} type=Instant diff --git a/projects/mtg/bin/Res/sets/primitives/crappy.txt b/projects/mtg/bin/Res/sets/primitives/crappy.txt index b12d64388..4580467ae 100644 --- a/projects/mtg/bin/Res/sets/primitives/crappy.txt +++ b/projects/mtg/bin/Res/sets/primitives/crappy.txt @@ -1,7 +1,3 @@ -grade=crappy -##the following are not added becuase they are not choosen discard. -###1. Decimate should only be castable if there are 4 legal targets.### -###2. Decimate should fizzle if 1 or more of the 4 targets become illegal or cease to exist.### #Please keep these card alphabetized, and try to have the "name=" line at the top of each card #I sorted this programatically so the other comments are removed except for AUTO_DEFINE - Vitty85 30-11-2020 [card] @@ -17,7 +13,7 @@ type=Sorcery [/card] [card] name=Lurking Evil -auto=this(cantargetcard(enchantment)) {0}:name(pay halfup life) life:-halfdownlifetotal controller && transforms((removetypes)) forever && transforms((Horror Creature,setpower=4,settoughness=4,flying)) forever +auto={0}:name(pay halfup life) life:-halfuplifetotal controller && transforms((removetypes)) forever && transforms((Horror Creature,setpower=4,settoughness=4,flying)) forever text=Pay half your life, rounded up: Lurking Evil becomes a 4/4 Horror creature with flying. mana={B}{B}{B} type=Enchantment diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index e2ee678cc..393242d8f 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -393,7 +393,7 @@ type=Instant [card] name=Abzan Ascendancy auto=all(creature|mybattlefield) counter(1/1) -auto=@movedto(creature[-token]|graveyard) from(mybattlefield):token(Spirit,Creature Spirit,1/1,white flying) controller +auto=@movedto(creature[-token]|graveyard) from(mybattlefield):_SPIRITTOKEN_ controller text=When Abzan Ascendancy enters the battlefield, put a +1/+1 counter on each creature you control. -- Whenever a nontoken creature you control dies, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={W}{B}{G} type=Enchantment @@ -1623,7 +1623,7 @@ type=Enchantment [card] name=Afterlife target=creature -auto=bury && token(Spirit,Creature Spirit,1/1,white,flying) targetcontroller +auto=bury && _SPIRITTOKEN_ targetcontroller text=Destroy target creature. It can't be regenerated. Its controller puts a 1/1 white Spirit creature token with flying onto the battlefield. mana={2}{W} type=Instant @@ -2202,7 +2202,7 @@ toughness=2 name=Akroan Horse abilities=defender auto=moveto(opponentBattlefield) -auto=@each my upkeep:token(Soldier,Creature Soldier,1/1,white) opponent +auto=@each my upkeep:_SOLDIERTOKEN_ opponent text=Defender. -- When Akroan Horse enters the battlefield, an opponent gains control of it. -- At the beginning of your upkeep, each opponent puts a 1/1 white Soldier creature token onto the battlefield. mana={4} type=Artifact Creature @@ -3481,7 +3481,6 @@ type=Land [/card] [card] name=Ancient Carp -text=null mana={4}{U} type=Creature subtype=Fish @@ -4286,7 +4285,7 @@ toughness=3 [/card] [card] name=Ant Queen -auto={1}{G}:token(Insect,Creature Insect, 1/1,green) +auto={1}{G}:_INSECTTOKEN_ text={1}{G}: Put a 1/1 green Insect creature token onto the battlefield. mana={3}{G}{G} type=Creature @@ -5209,7 +5208,7 @@ toughness=9 name=Archdemon of Unx abilities=flying,trample auto=@each my upkeep:sacrifice notatarget(creature[-zombie]|myBattlefield) -auto=@each my upkeep:token(Zombie,creature zombie, 2/2,black) +auto=@each my upkeep:_ZOMBIETOKEN_ text=Flying, trample -- At the beginning of your upkeep, sacrifice a non-Zombie creature, then put a 2/2 black Zombie creature token onto the battlefield. mana={5}{B}{B} type=Creature @@ -5693,7 +5692,7 @@ toughness=5 [/card] [card] name=Arid Mesa -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[mountain;plains]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[mountain;plains]|myLibrary) text={T}, Pay 1 life, Sacrifice Arid Mesa: Search your library for a Mountain or Plains card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -6041,7 +6040,7 @@ type=Instant [/card] [card] name=Army of the Damned -auto=token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!*13 +auto=_ZOMBIETOKEN_ and!( tap(noevent) )!*13 flashback={7}{B}{B}{B} text=Put thirteen 2/2 black Zombie creature tokens onto the battlefield tapped. -- Flashback {7}{B}{B}{B} mana={5}{B}{B}{B} @@ -6817,7 +6816,7 @@ toughness=4 [/card] [card] name=Attended Knight -auto=token(Soldier,Creature Soldier,1/1,white) +auto=_SOLDIERTOKEN_ abilities=first strike text=First strike (This creature deals combat damage before creatures without first strike.) -- When Attended Knight enters the battlefield, put a 1/1 white Soldier creature token onto the battlefield. mana={2}{W} @@ -8311,7 +8310,7 @@ type=Enchantment [card] name=Bad River auto=tap(noevent) -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[island;swamp]|myLibrary) +auto={T}{S}:moveTo(myBattlefield) target(*[island;swamp]|myLibrary) text=Bad River enters the battlefield tapped. -- {T}, Sacrifice Bad River: Search your library for an Island or Swamp card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -8946,9 +8945,9 @@ type=Land [/card] [card] name=Bant Sojourners -auto=_DIES_may token(Soldier,Creature Soldier,1/1,white) +auto=_DIES_may _SOLDIERTOKEN_ autohand={2}{W}{cycle}:name(cycling) draw:1 controller -autohand=@cycled(this|hand):may token(Soldier,Creature Soldier,1/1,white) +autohand=@cycled(this|hand):may _SOLDIERTOKEN_ text=When you cycle Bant Sojourners or it's put into a graveyard from the battlefield, you may put a 1/1 white Soldier creature token onto the battlefield. -- Cycling {2}{W} ({2}{W}, Discard this card: Draw a card.) mana={1}{G}{W}{U} type=Creature @@ -9992,7 +9991,7 @@ toughness=1 [/card] [card] name=Beacon of Creation -auto=foreach(forest|mybattlefield) token(Insect,Creature insect,1/1,green) +auto=foreach(forest|mybattlefield) _INSECTTOKEN_ auto=moveto(mylibrary) && shuffle text=Put a 1/1 green Insect creature token onto the battlefield for each Forest you control. Shuffle Beacon of Creation into its owner's library. mana={3}{G} @@ -10108,7 +10107,7 @@ toughness=* [card] name=Beast Within target=* -auto=destroy && token(Beast,Creature Beast,3/3,green) targetcontroller +auto=destroy && _BEASTTOKEN_ targetcontroller text=Destroy target permanent. Its controller puts a 3/3 green Beast creature token onto the battlefield. mana={2}{G} type=Instant @@ -10204,7 +10203,7 @@ type=Sorcery [/card] [card] name=Beetleback Chief -auto=token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 text=When Beetleback Chief enters the battlefield, put two 1/1 red Goblin creature tokens onto the battlefield. mana={2}{R}{R} type=Creature @@ -10431,7 +10430,7 @@ toughness=2 [card] name=Benalish Commander anyzone=type:soldier:mybattlefield/type:soldier:mybattlefield cdaactive -autoexile=@counterremoved(0/0,1,Time) from(sourcecard) suspended:token(Soldier,Creature Soldier,1/1,white) +autoexile=@counterremoved(0/0,1,Time) from(sourcecard) suspended:_SOLDIERTOKEN_ suspend(0)={X}{W}{W} text=Benalish Commander's power and toughness are each equal to the number of Soldiers you control. -- Suspend X - {X}{W}{W}. X can't be 0. (Rather than cast this card from your hand, you may pay {X}{W}{W} and exile it with X time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.) -- Whenever a time counter is removed from Benalish Commander while it's exiled, put a 1/1 white Soldier creature token onto the battlefield. mana={3}{W} @@ -10549,8 +10548,8 @@ toughness=1 [/card] [card] name=Benevolent Offering -auto=create(Spirit:creature Spirit:1/1:white:flying)*3 controller -auto=create(Spirit:creature Spirit:1/1:white:flying)*3 opponent +auto=_SPIRITTOKEN_*3 controller +auto=_SPIRITTOKEN_*3 opponent auto=life:type:creature:mybattlefield controller auto=life:type:creature:opponentbattlefield opponent text=Choose an opponent. You and that player each put three 1/1 white Spirit creature tokens with flying onto the battlefield. -- Choose an opponent. You gain 2 life for each creature you control and that player gains 2 life for each creature he or she controls. @@ -12753,7 +12752,7 @@ toughness=2 [/card] [card] name=Bloodstained Mire -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[swamp;mountain]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[swamp;mountain]|myLibrary) text={T}, Pay 1 life, Sacrifice Bloodstained Mire: Search your library for a Swamp or Mountain card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -14920,7 +14919,7 @@ type=Sorcery [/card] [card] name=Bridge from Below -autograveyard=@movedTo(creature[-token]|mygraveyard) from(battlefield):token(Zombie,Creature Zombie,2/2,black) +autograveyard=@movedTo(creature[-token]|mygraveyard) from(battlefield):_ZOMBIETOKEN_ autograveyard=@movedTo(creature|opponentgraveyard) from(battlefield):moveto(exile) text=Whenever a nontoken creature is put into your graveyard from the battlefield, if Bridge from Below is in your graveyard, put a 2/2 black Zombie creature token onto the battlefield. -- When a creature is put into an opponent's graveyard from the battlefield, if Bridge from Below is in your graveyard, exile Bridge from Below. mana={B}{B}{B} @@ -15103,7 +15102,7 @@ toughness=5 name=Bringer of the Green Dawn abilities=trample other={W}{U}{B}{R}{G} name(Spend WUBRG to Cast) -auto=@each my upkeep:may token(Beast,Creature Beast,3/3,green) +auto=@each my upkeep:may _BEASTTOKEN_ text=You may pay {W}{U}{B}{R}{G} rather than pay Bringer of the Green Dawn's mana cost. -- Trample -- At the beginning of your upkeep, you may put a 3/3 green Beast creature token onto the battlefield. mana={7}{G}{G} type=Creature @@ -15324,7 +15323,7 @@ toughness=3 name=Broodhatch Nantuko facedown={3} autofacedown={2}{G}:morph -auto=_ENRAGE_may token(Insect,Creature Insect,1/1,green)*thatmuch +auto=_ENRAGE_may _INSECTTOKEN_*thatmuch text=Whenever Broodhatch Nantuko is dealt damage, you may put that many 1/1 green Insect creature tokens onto the battlefield. -- Morph {2}{G} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) mana={1}{G} type=Creature @@ -16456,7 +16455,7 @@ subtype=Aura [/card] [card] name=Call of the Herd -auto=token(Elephant,creature elephant, 3/3,green) +auto=_ELEPHANTTOKEN_ flashback={3}{G} text=Put a 3/3 green Elephant creature token onto the battlefield. -- Flashback {3}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{G} @@ -16910,7 +16909,7 @@ name=Captain of the Watch abilities=vigilance auto=lord(other soldier|myBattlefield) 1/1 auto=lord(other soldier|myBattlefield) vigilance -auto=token(Soldier,Creature Soldier,1/1,white)*3 +auto=_SOLDIERTOKEN_*3 text=Vigilance (Attacking doesn't cause this creature to tap.) -- Other Soldier creatures you control get +1/+1 and have vigilance. -- When Captain of the Watch enters the battlefield, put three 1/1 white Soldier creature tokens onto the battlefield. mana={4}{W}{W} type=Creature @@ -16931,7 +16930,7 @@ toughness=2 [/card] [card] name=Captain's Call -auto=token(Soldier,Creature Soldier,1/1,white)*3 +auto=_SOLDIERTOKEN_*3 text=Put three 1/1 white Soldier creature tokens onto the battlefield. mana={3}{W} type=Sorcery @@ -18056,7 +18055,7 @@ toughness=2 [card] name=Cemetery Reaper auto=lord(other zombie|myBattlefield) 1/1 -auto={2}{B}{T}:moveTo(Exile) target(creature|graveyard) && token(Zombie,Creature Zombie,2/2,black) +auto={2}{B}{T}:moveTo(Exile) target(creature|graveyard) && _ZOMBIETOKEN_ text=Other Zombie creatures you control get +1/+1. -- {2}{B}, {T}: Exile target creature card from a graveyard. Put a 2/2 black Zombie creature token onto the battlefield. mana={1}{B}{B} type=Creature @@ -21429,7 +21428,7 @@ type=Sorcery [card] name=Colos Yearling abilities=mountainwalk -auto={G}:1/0 +auto={R}:1/0 text=Mountainwalk -- {R}: Colos Yearling gets +1/+0 until end of turn. mana={2}{R} type=Creature @@ -21459,7 +21458,6 @@ toughness=5 [/card] [card] name=Colossodon Yearling -text=null mana={2}{G} type=Creature subtype=Beast @@ -22116,7 +22114,7 @@ type=Instant [card] name=Consuming Aberration anyzone=type:*:opponentgraveyard/type:*:opponentgraveyard cdaactive -auto=@movedTo(creature|mystack):target(opponent) Reveal:1 revealzone(targetedpersonslibrary) revealuntil(land|targetedpersonslibrary) optionone choice name(Look) target(*|reveal) donothing optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend +auto=@movedTo(*|mystack):target(opponent) Reveal:1 revealzone(targetedpersonslibrary) revealuntil(land|targetedpersonslibrary) optionone choice name(Look) target(*|reveal) donothing optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(graveyard) optiontwoend revealend text=Consuming Aberration's power and toughness are each equal to the number of cards in your opponents' graveyards. -- Whenever you cast a spell, each opponent reveals cards from the top of his or her library until he or she reveals a land card, then puts those cards into his or her graveyard. mana={3}{U}{B} type=Creature @@ -23476,7 +23474,7 @@ toughness=2 [card] name=Crawling Sensation auto=@each my upkeep:may deplete:2 controller -auto=@movedto(land|mygraveyard) turnlimited:token(Insect,creature Insect,1/1,green) +auto=@movedto(land|mygraveyard) turnlimited:_INSECTTOKEN_ text=At the beginning of your upkeep, you may put the top two cards of your library into your graveyard. -- Whenever one or more land cards are put into your graveyard from anywhere for the first time each turn, put a 1/1 green Insect creature token onto the battlefield. mana={2}{G} type=Enchantment @@ -24517,7 +24515,7 @@ toughness=0 [/card] [card] name=Cryptbreaker -auto={b}{1}{T}{D(*|myhand)}:token(Zombie,Creature Zombie,2/2,black) +auto={b}{1}{T}{D(*|myhand)}:_ZOMBIETOKEN_ auto={T(creature[Zombie]|myBattlefield)}{T(creature[Zombie]|myBattlefield)}{T(creature[Zombie]|myBattlefield)}:draw:1 controller && life:-1 controller text={1}{B}, {T}, Discard a card: Put a 2/2 black Zombie creature token onto the battlefield. -- Tap three untapped Zombies you control: You draw a card and you lose 1 life. mana={B} @@ -25616,7 +25614,7 @@ toughness=4 [/card] [card] name=Darien, King of Kjeldor -auto=@damageof(player):may token(Soldier,Creature Soldier,1/1,white)*thatmuch +auto=@damageof(player):may _SOLDIERTOKEN_*thatmuch text=Whenever you're dealt damage, you may put that many 1/1 white Soldier creature tokens onto the battlefield. mana={4}{W}{W} type=Legendary Creature @@ -25856,7 +25854,7 @@ type=Instant [card] name=Dark Salvation target=player -auto=token(Zombie,Creature Zombie,2/2,black)*xx targetedplayer && ability$!name(Choose one) choice name(Don't target any creature) donothing _ choice name(Target opponent's creature) target(creature|opponentBattlefield) -type:zombie:opponentBattlefield/-type:zombie:opponentBattlefield ueot _ choice name(Target your creature) target(creature|myBattlefield) -type:zombie:myBattlefield/-type:zombie:myBattlefield ueot!$ controller +auto=_ZOMBIETOKEN_*xx targetedplayer && ability$!name(Choose one) choice name(Don't target any creature) donothing _ choice name(Target opponent's creature) target(creature|opponentBattlefield) -type:zombie:opponentBattlefield/-type:zombie:opponentBattlefield ueot _ choice name(Target your creature) target(creature|myBattlefield) -type:zombie:myBattlefield/-type:zombie:myBattlefield ueot!$ controller text=Target player puts X 2/2 black Zombie creature tokens onto the battlefield, then up to one target creature gets -1/-1 until end of turn for each Zombie that player controls. mana={X}{X}{B} type=Sorcery @@ -26284,7 +26282,7 @@ toughness=3 [/card] [card] name=Dauntless Cathar -autograveyard={1}{W}{e}:token(Spirit,creature Spirit,1/1,white,flying) assorcery +autograveyard={1}{W}{e}:_SPIRITTOKEN_ assorcery text={1}{W}, Exile Dauntless Cathar from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. Activate this ability only any time you could cast a sorcery. mana={2}{W} type=Creature @@ -28210,6 +28208,7 @@ type=Instant name=Delraich abilities=trample other={S(creature[black]|myBattlefield)}{S(creature[black]|myBattlefield)}{S(creature[black]|myBattlefield)} name(Sacrifice 3 Creatures) +otherrestriction=type(creature[black]|myBattlefield)~morethan~2 text=Trample -- You may sacrifice three black creatures rather than pay Delraich's mana cost. mana={6}{B} type=Creature @@ -28584,7 +28583,7 @@ type=Sorcery [/card] [card] name=Deploy to the Front -auto=token(Soldier,Creature Soldier,1/1,white)*type:creature:battlefield +auto=_SOLDIERTOKEN_*type:creature:battlefield text=Put X 1/1 white Soldier creature tokens onto the battlefield, where X is the number of creatures on the battlefield. mana={5}{W}{W} type=Sorcery @@ -29658,7 +29657,7 @@ toughness=2 [card] name=Diregraf Colossus auto=foreach(zombie|mygraveyard)counter(1/1) -auto=@movedto(zombie|mystack):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=@movedto(zombie|mystack):_ZOMBIETOKEN_ and!( tap(noevent) )! text=Diregraf Colossus enters the battlefield with a +1/+1 counter on it for each Zombie card in your graveyard. -- Whenever you cast a Zombie spell, put a 2/2 black Zombie creature token onto the battlefield tapped. mana={2}{B} type=Creature @@ -30669,7 +30668,7 @@ toughness=2 [/card] [card] name=Doomed Traveler -auto=_DIES_token(Spirit,Creature Spirit,1/1,white,flying) +auto=_DIES__SPIRITTOKEN_ text=When Doomed Traveler dies, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={W} type=Creature @@ -31065,7 +31064,7 @@ subtype=Aura [/card] [card] name=Dragon Fodder -auto=token(Goblin,creature goblin, 1/1,red)*2 +auto=_GOBLINTOKEN_*2 text=Put two 1/1 red Goblin creature tokens onto the battlefield. mana={1}{R} type=Sorcery @@ -31221,7 +31220,7 @@ color=Red,Green [card] name=Dragonlair Spider abilities=reach -auto=@movedTo(*|opponentstack):token(Insect,Creature Insect, 1/1,green) +auto=@movedTo(*|opponentstack):_INSECTTOKEN_ text=Reach -- Whenever an opponent casts a spell, put a 1/1 green Insect creature token onto the battlefield. mana={2}{R}{R}{G}{G} type=Creature @@ -31604,7 +31603,7 @@ toughness=3 [/card] [card] name=Drana's Chosen -auto={T(ally|myBattlefield)}{t}:token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto={T(ally|myBattlefield)}{t}:_ZOMBIETOKEN_ and!( tap(noevent) )! text=Cohort -- {T}, Tap an untapped Ally you control: Put a 2/2 black Zombie creature token onto the battlefield tapped. mana={3}{B} type=Creature @@ -32195,7 +32194,7 @@ toughness=2 name=Drogskol Cavalry abilities=flying auto=@movedto(spirit|mybattlefield):life:2 -auto={3}{W}:token(Spirit,creature Spirit,1/1,white,flying) +auto={3}{W}:_SPIRITTOKEN_ text=Flying -- Whenever another Spirit enters the battlefield under your control, you gain 2 life. -- {3}{W}: Put a 1/1 white Spirit creature token with flying onto the battlefield. mana={5}{W}{W} type=Creature @@ -32706,7 +32705,7 @@ toughness=2 [/card] [card] name=Drunau Corpse Trawler -auto=token(Zombie,creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_ auto={2}{B}:target(zombie) deathtouch ueot text=When Drunau Corpse Trawler enters the battlefield, put a 2/2 black Zombie creature token onto the battlefield. -- {2}{B}: Target Zombie gains deathtouch until end of turn. mana={3}{U} @@ -34570,7 +34569,7 @@ color=green,white [/card] [card] name=Elephant Ambush -auto=token(Elephant,creature elephant, 3/3,green) +auto=_ELEPHANTTOKEN_ flashback={6}{G}{G} text=Put a 3/3 green Elephant creature token onto the battlefield. -- Flashback {6}{G}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{G}{G} @@ -34596,7 +34595,7 @@ type=Land name=Elephant Guide target=creature auto=3/3 -auto=@movedto(mytgt|graveyard):token(Elephant,Creature Elephant,3/3,green) +auto=@movedto(mytgt|graveyard):_ELEPHANTTOKEN_ text=Enchant creature -- Enchanted creature gets +3/+3. -- When enchanted creature is put into a graveyard, put a 3/3 green Elephant creature token onto the battlefield. mana={2}{G} type=Enchantment @@ -34676,7 +34675,7 @@ type=Enchantment [card] name=Elgaud Inquisitor abilities=lifelink -auto=_DIES_token(Spirit,Creature Spirit,1/1,white,flying) +auto=_DIES__SPIRITTOKEN_ text=Lifelink -- When Elgaud Inquisitor dies, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={3}{W} type=Creature @@ -35581,7 +35580,7 @@ toughness=1 [card] name=Emissary of the Sleepless abilities=flying -auto=if morbid then token(Spirit,creature Spirit,1/1,white,flying) +auto=if morbid then _SPIRITTOKEN_ text=Flying -- When Emissary of the Sleepless enters the battlefield, if a creature died this turn, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={4}{W} type=Creature @@ -35648,7 +35647,7 @@ type=Sorcery [card] name=Empty the Warrens abilities=storm -auto=token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 text=Put two 1/1 red Goblin creature tokens onto the battlefield. -- Storm (When you cast this spell, copy it for each spell cast before it this turn.) mana={3}{R} type=Sorcery @@ -35924,7 +35923,7 @@ toughness=0 [/card] [card] name=Endless Ranks of the Dead -auto=@each my upkeep:token(Zombie,Creature Zombie,2/2,black)*halfdowntype:zombie:mybattlefield +auto=@each my upkeep:_ZOMBIETOKEN_*halfdowntype:zombie:mybattlefield text=At the beginning of your upkeep, put X 2/2 black zombie creature tokens onto the battlefield, where X is half the number of the zombies you control, rounded down. mana={2}{B}{B} type=Enchantment @@ -37427,7 +37426,7 @@ subtype=Aura [/card] [card] name=Evangel of Heliod -auto=token(Soldier,Creature Soldier,1/1,white)*type:manaW +auto=_SOLDIERTOKEN_*type:manaW text=When Evangel of Heliod enters the battlefield, put a number of 1/1 white Soldier creature tokens onto the battlefield equal to your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.) mana={4}{W}{W} type=Creature @@ -37452,7 +37451,7 @@ type=Sorcery [/card] [card] name=Even the Odds -auto=token(Soldier,Creature Soldier,1/1,white)*3 +auto=_SOLDIERTOKEN_*3 restriction=control less creatures text=Cast Even the Odds only if you control fewer creatures than each opponent. -- Put three 1/1 white Soldier creature tokens onto the battlefield. mana={2}{W} @@ -39486,7 +39485,7 @@ subtype=Arcane [/card] [card] name=Feast or Famine -auto=choice name(2/2 black Zombie creature token) token(Zombie,Creature Zombie,2/2,black) +auto=choice name(2/2 black Zombie creature token) _ZOMBIETOKEN_ auto=aslongas(creature[-black;-artifact]|battlefield) choice bury target(creature[-black;-artifact]) text=Choose one - Put a 2/2 black Zombie creature token onto the battlefield; or destroy target nonblack, nonartifact creature and it can't be regenerated. mana={3}{B} @@ -39824,7 +39823,7 @@ toughness=2 [/card] [card] name=Feral Incarnation -auto=token(Beast,Creature Beast,3/3,green)*3 +auto=_BEASTTOKEN_*3 text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Put three 3/3 green Beast creature tokens onto the battlefield. other={convoke} name(Convoke) mana={8}{G} @@ -41994,7 +41993,7 @@ toughness=2 [card] name=Flood Plain auto=tap(noevent) -auto={L:1}{T}{S}:activate moveTo(myBattlefield) target(*[island;plains]|myLibrary) +auto={T}{S}:activate moveTo(myBattlefield) target(*[island;plains]|myLibrary) text=Flood Plain enters the battlefield tapped. -- {T}, Sacrifice Flood Plain: Search your library for a Plains or Island card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -42040,7 +42039,7 @@ type=Enchantment [/card] [card] name=Flooded Strand -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[island;plains]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[island;plains]|myLibrary) text={T}, Pay 1 life, Sacrifice Flooded Strand: Search your library for a Plains or Island card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -43509,7 +43508,7 @@ toughness=1 [/card] [card] name=Fresh Meat -auto=token(Beast,Creature Beast,3/3,green)*type:creature[fresh]:mygraveyard +auto=_BEASTTOKEN_*type:creature[fresh]:mygraveyard text=Put a 3/3 green Beast creature token onto the battlefield for each creature put into your graveyard from the battlefield this turn. mana={3}{G} type=Instant @@ -43646,9 +43645,9 @@ type=Enchantment [/card] [card] name=From Under the Floorboards -auto=ifnot madnessplayed then token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!*3 +auto=ifnot madnessplayed then _ZOMBIETOKEN_ and!( tap(noevent) )!*3 auto=ifnot madnessplayed then life:3 -auto=if madnessplayed then token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )!*x +auto=if madnessplayed then _ZOMBIETOKEN_ and!( tap(noevent) )!*x auto=if madnessplayed then life:x abilities=madness autoexile=restriction{discarded} pay({b}{b}{x}) name(pay XBB to cast) activate name(pay XBB to cast) castcard(normal madness)?name(put in graveyard) moveto(ownergraveyard) @@ -43997,7 +43996,7 @@ subtype=Aura name=Funeral Pyre target=*|graveyard auto=moveto(exile) -auto=create(Spirit:creature Spirit:1/1:white:flying) targetcontroller +auto=_SPIRITTOKEN_ targetcontroller text=Exile target card from a graveyard. Its owner puts a 1/1 white Spirit creature token with flying onto the battlefield. mana={W} type=Instant @@ -45099,7 +45098,7 @@ toughness=4 [card] name=Geist-Honored Monk abilities=vigilance -auto=token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto=_SPIRITTOKEN_*2 anyzone=type:creature:mybattlefield/type:creature:mybattlefield cdaactive text=Vigilance -- Geist-Honored Monk's power and toughness are each equal to the number of creatures you control. -- When Geist-Honored Monk enters the battlefield, put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={3}{W}{W} @@ -45976,7 +45975,7 @@ type=Instant [/card] [card] name=Ghoulcaller Gisa -auto={B}{T}{S(other creature|mybattlefield)}:token(Zombie,Creature Zombie,2/2,black)*storedpower +auto={B}{T}{S(other creature|mybattlefield)}:_ZOMBIETOKEN_*storedpower text={B}, {T}, Sacrifice another creature: Put X 2/2 black Zombie creature tokens onto the battlefield, where X is the sacrificed creature's power. mana={3}{B}{B} type=Legendary Creature @@ -45986,7 +45985,7 @@ toughness=4 [/card] [card] name=Ghoulcaller's Accomplice -autograveyard={3}{B}{e}:token(Zombie,creature Zombie,2/2,black) assorcery +autograveyard={3}{B}{e}:_ZOMBIETOKEN_ assorcery text={3}{B}, Exile Ghoulcaller's Accomplice from your graveyard: Put a 2/2 black Zombie creature token onto the battlefield. Activate this ability only any time you could cast a sorcery. mana={1}{B} type=Creature @@ -46559,7 +46558,7 @@ toughness=4 [/card] [card] name=Gisa's Bidding -auto=token(Zombie,creature Zombie,2/2,black)*2 +auto=_ZOMBIETOKEN_*2 abilities=madness autoexile=restriction{discarded} pay({2}{B}) name(pay 2B to cast) activate name(pay 2B to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) text=Put two 2/2 black Zombie creature tokens onto the battlefield. -- Madness {2}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) @@ -47995,8 +47994,8 @@ toughness=5 [/card] [card] name=Goblin Marshal -auto=token(Goblin,Creature Goblin,1/1,red)*2 -auto=_DIES_token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 +auto=_DIES__GOBLINTOKEN_*2 auto=upcost[{4}{R}{R};next upkeep] sacrifice text=Echo {4}{R}{R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Goblin Marshal enters the battlefield or dies, put two 1/1 red Goblin creature tokens onto the battlefield. mana={4}{R}{R} @@ -48061,7 +48060,7 @@ toughness=3 [/card] [card] name=Goblin Offensive -auto=token(Goblin,Creature Goblin,1/1,red)*x +auto=_GOBLINTOKEN_*x text=Put X 1/1 red Goblin creature tokens onto the battlefield. mana={X}{1}{R}{R} type=Sorcery @@ -48140,7 +48139,7 @@ toughness=2 [/card] [card] name=Goblin Rally -auto=token(Goblin,Creature Goblin,1/1,red)*4 +auto=_GOBLINTOKEN_*4 text=Put four 1/1 red Goblin creature tokens onto the battlefield. mana={3}{R}{R} type=Sorcery @@ -48366,7 +48365,7 @@ toughness=1 [card] name=Goblin Spymaster abilities=first strike -auto=@each opponent end:token(Goblin,Creature Goblin,1/1,red) and!( transforms((,newability[lord(creature|mybattlefield) mustattack])) forever )! opponent +auto=@each opponent end:_GOBLINTOKEN_ and!( transforms((,newability[lord(creature|mybattlefield) mustattack])) forever )! opponent text=First strike -- At the beginning of each opponent's end step, that player creates a 1/1 red Goblin creature token with "Creatures you control attack each combat if able." mana={2}{R} type=Creature @@ -48523,7 +48522,7 @@ toughness=2 [/card] [card] name=Goblin Warrens -auto={2}{R}{S(goblin|myBattlefield)}{S(goblin|myBattlefield)}:token(Goblin,Creature Goblin,1/1,red)*3 +auto={2}{R}{S(goblin|myBattlefield)}{S(goblin|myBattlefield)}:_GOBLINTOKEN_*3 text={2}{R}, Sacrifice two Goblins: Put three 1/1 red Goblin creature tokens onto the battlefield. mana={2}{R} type=Enchantment @@ -49252,7 +49251,7 @@ type=Instant [card] name=Graf Harvest auto=lord(zombie|myBattlefield) menace -auto={3}{b}{E(creature|mygraveyard)}:token(Zombie,Creature Zombie,2/2,black) +auto={3}{b}{E(creature|mygraveyard)}:_ZOMBIETOKEN_ text=Zombies you control have menace. (They can't be blocked except by two or more creatures.) -- {3}{B}, Exile a creature card from your graveyard: Put a 2/2 black Zombie creature token onto the battlefield. mana={B} type=Enchantment @@ -49471,7 +49470,7 @@ toughness=4 [card] name=Grasslands auto=tap(noevent) -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[forest;plains]|myLibrary) +auto={T}{S}:moveTo(myBattlefield) target(*[forest;plains]|myLibrary) text=Grasslands enters the battlefield tapped. -- {T}, Sacrifice Grasslands: Search your library for a Forest or Plains card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -49575,8 +49574,8 @@ type=Sorcery [card] name=Grave Titan abilities=deathtouch -auto=token(Zombie,Creature Zombie,2/2,black)*2 -auto=_ATTACKING_token(Zombie,Creature Zombie,2/2,black)*2 +auto=_ZOMBIETOKEN_*2 +auto=_ATTACKING__ZOMBIETOKEN_*2 text=Deathtouch -- Whenever Grave Titan enters the battlefield or attacks, put two 2/2 black Zombie creature tokens onto the battlefield. mana={4}{B}{B} type=Creature @@ -50712,7 +50711,7 @@ type=Land [/card] [card] name=Grixis Slavedriver -auto=@movedTo(this|nonbattlezone) from(battlefield):token(Zombie,Creature Zombie,2/2,black) +auto=@movedTo(this|nonbattlezone) from(battlefield):_ZOMBIETOKEN_ autograveyard={3}{B}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery text=When Grixis Slavedriver leaves the battlefield, put a 2/2 black Zombie creature token onto the battlefield. -- Unearth {3}{B} ({3}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.) mana={5}{B} @@ -52768,7 +52767,7 @@ type=Enchantment [/card] [card] name=Haunted Dead -auto=token(Spirit,Creature Spirit,1/1,white,flying) +auto=_SPIRITTOKEN_ autograveyard={1}{B}{D(*|myhand)}{D(*|myhand)}:moveto(mybattlefield) and!(tap(noevent))! text=When Haunted Dead enters the battlefield, put a 1/1 white Spirit creature token with flying onto the battlefield. -- {1}{B}, Discard two cards: Return Haunted Dead from your graveyard to the battlefield tapped. mana={3}{B} @@ -52845,7 +52844,7 @@ type=Instant [/card] [card] name=Havengul Runebinder -auto={2}{U}{T}{E(creature|mygraveyard)}:token(Zombie,Creature Zombie,2/2,black) && all(zombie|mybattlefield) counter(1/1) +auto={2}{U}{T}{E(creature|mygraveyard)}:_ZOMBIETOKEN_ && all(zombie|mybattlefield) counter(1/1) text={2}{U}, {T}, Exile a creature card from your graveyard: Put a 2/2 black Zombie creature token onto the battlefield, then put a +1/+1 counter on each Zombie creature you control. mana={2}{U}{U} type=Creature @@ -55498,7 +55497,7 @@ toughness=5 [/card] [card] name=Hordeling Outburst -auto=token(Goblin,creature goblin, 1/1,red)*3 +auto=_GOBLINTOKEN_*3 text=Put three 1/1 red Goblin creature tokens onto the battlefield. mana={1}{R}{R} type=Sorcery @@ -55905,7 +55904,7 @@ type=Instant [/card] [card] name=Howl of the Night Pack -auto=foreach(forest|myBattlefield) token(Wolf,Creature Wolf,2/2,green) +auto=foreach(forest|myBattlefield) _WOLFTOKEN_ text=Put a 2/2 green Wolf creature token onto the battlefield for each Forest you control. mana={6}{G} type=Sorcery @@ -55982,7 +55981,7 @@ toughness=2 name=Howlpack Alpha backside=Mayor of Avabruck auto=lord(other creature[werewolf;wolf]]|mybattlefield) 1/1 -auto=@each my endofturn:token(Wolf,Creature Wolf,2/2,green) +auto=@each my endofturn:_WOLFTOKEN_ auto=@each upkeep restriction{lastturn(*|mystack)~morethan~1,lastturn(*|opponentstack)~lessthan~2}:name(Transform Werewolf) flip(backside) auto=@each upkeep restriction{lastturn(*|opponentstack)~morethan~1}:name(Transform Werewolf) flip(backside) text=Other Werewolf and Wolf creatures you control get +1/+1. -- At the beginning of your end step, put a 2/2 green Wolf creature token onto the battlefield. -- At the beginning of each upkeep, if a player cast two or more spells last turn, transform Howlpack Alpha. // Mayor of Avabruck @@ -56290,7 +56289,7 @@ toughness=5 [card] name=Hunted Phantasm abilities=unblockable -auto=token(Goblin,Creature Goblin,1/1,red)*5 opponent +auto=_GOBLINTOKEN_*5 opponent text=Hunted Phantasm is unblockable. -- When Hunted Phantasm enters the battlefield, put five 1/1 red Goblin creature tokens onto the battlefield under target opponent's control. mana={1}{U}{U} type=Creature @@ -56463,7 +56462,7 @@ name=Huntmaster of the Fells backside=Ravager of the Fells restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) -auto=token(Wolf,Creature Wolf,2/2,green) +auto=_WOLFTOKEN_ auto=life:2 controller auto=@each upkeep restriction{lastturn(*|stack)~lessthan~1}:name(Transform Human Werewolf) flip(backside) text=Whenever this creature enters the battlefield or transforms into Huntmaster of the Fells, put a 2/2 green wolf token onto the battlefield and you gain 2 life. -- At the beginning of each upkeep, if no spells were cast last turn, transform Huntmaster of the Fells. // Ravager of the Fells @@ -56753,7 +56752,7 @@ toughness=6 name=Ib Halfheart, Goblin Tactician auto=@combat(blocked) source(other goblin|mybattlefield) from(creature):all(trigger[to]) sacrifice auto=@combat(blocked) source(other goblin|mybattlefield) from(creature):all(trigger[from]) damage:4 -auto={S(mountain|mybattlefield)}{S(mountain|mybattlefield)}:token(Goblin,Creature Goblin,1/1,red)*2 +auto={S(mountain|mybattlefield)}{S(mountain|mybattlefield)}:_GOBLINTOKEN_*2 text=Whenever another Goblin you control becomes blocked, sacrifice it. If you do, it deals 4 damage to each creature blocking it. -- Sacrifice two Mountains: Put two 1/1 red Goblin creature tokens onto the battlefield. mana={3}{R} type=Legendary Creature @@ -58175,7 +58174,7 @@ type=Instant name=Infested Roothold abilities=Defender auto=protection from(artifact) -auto=@movedto(artifact|opponentStack):may token(Insect,Creature Insect,1/1,green) +auto=@movedto(artifact|opponentStack):may _INSECTTOKEN_ text=Defender (This creature can't attack.) -- Protection from artifacts -- Whenever an opponent casts an artifact spell, you may put a 1/1 green Insect creature token onto the battlefield. mana={4}{G} type=Creature @@ -59479,7 +59478,7 @@ toughness=3 [/card] [card] name=It of the Horrid Swarm -autostack=if casted(this) then token(Insect,creature insect, 1/1,green)*2 +autostack=if casted(this) then _INSECTTOKEN_*2 text=Emerge {6}{G} (You may cast this spell by sacrificing a creature and paying the emerge cost reduced by that creature's converted mana cost.) -- When you cast It of the Horrid Swarm, put two 1/1 green Insect creature tokens onto the battlefield. mana={8} other={emerge}{6}{G} name(Emerge) @@ -61941,7 +61940,7 @@ toughness=1 [card] name=Kathari Bomber abilities=flying -auto=@combatdamaged(player) from(this):token(Goblin,Creature Goblin,1/1,red)*2 && moveTo(ownergraveyard) all(this) +auto=@combatdamaged(player) from(this):_GOBLINTOKEN_*2 && moveTo(ownergraveyard) all(this) autograveyard={3}{B}{R}:name(Unearth) moveto(mybattlefield) and!( transforms((,newability[haste],newability[unearth],newability[exiledeath])) forever )! asSorcery text=Flying -- When Kathari Bomber deals combat damage to a player, put two 1/1 red Goblin creature tokens onto the battlefield and sacrifice Kathari Bomber. -- Unearth {3}{B}{R} ({3}{B}{R}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.) mana={1}{B}{R} @@ -62145,8 +62144,8 @@ type=Land [card] name=Kazandu Tuskcaller auto={1}{G}:counter(0/0,1,Level) asSorcery -auto=this(counter{0/0.2.Level}) {T}:token(Elephant,Creature Elephant,3/3,green) -auto=this(counter{0/0.6.Level}) {T}:token(Elephant,Creature Elephant,3/3,green)*2 +auto=this(counter{0/0.2.Level}) {T}:_ELEPHANTTOKEN_ +auto=this(counter{0/0.6.Level}) {T}:_ELEPHANTTOKEN_*2 text=Level up {1}{G} -- [Level 2-5] {T}: Put a 3/3 green Elephant creature token onto the battlefield. (1/1) -- [Level 6+] {T}: Put two 3/3 green Elephant creature tokens onto the battlefield. (1/1) auto=maxlevel:6 mana={1}{G} @@ -63712,7 +63711,7 @@ type=Sorcery [/card] [card] name=Knight-Captain of Eos -auto=token(Soldier,Creature Soldier,1/1,white)*2 +auto=_SOLDIERTOKEN_*2 auto={W}{S(soldier|myBattlefield)}:fog oneshot text=When Knight-Captain of Eos enters the battlefield, put two 1/1 white Soldier creature tokens onto the battlefield. -- {W}, Sacrifice a Soldier: Prevent all combat damage that would be dealt this turn. mana={4}{W} @@ -64589,7 +64588,7 @@ toughness=2 [/card] [card] name=Krenko, Mob Boss -auto={T}:token(Goblin,Creature Goblin,1/1,red)*type:goblin:mybattlefield +auto={T}:_GOBLINTOKEN_*type:goblin:mybattlefield text={T}: Put X 1/1 red Goblin creature tokens onto the battlefield, where X is the number of Goblins you control. mana={2}{R}{R} type=Legendary Creature @@ -64599,7 +64598,7 @@ toughness=3 [/card] [card] name=Krenko's Command -auto=token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 text=Put two 1/1 red Goblin creature tokens onto the battlefield. mana={1}{R} type=Sorcery @@ -65007,7 +65006,7 @@ toughness=4 [/card] [card] name=Kuldotha Rebirth -auto=token(Goblin,Creature Goblin,1/1,red)*3 +auto=_GOBLINTOKEN_*3 text=As an additional cost to cast Kuldotha Rebirth, sacrifice an artifact. -- Put three 1/1 red Goblin creature tokens onto the battlefield. mana={R}{S(artifact|myBattlefield)} type=Sorcery @@ -67407,7 +67406,7 @@ type=Sorcery [card] name=Liliana's Reaver abilities=deathtouch -auto=@combatdamaged(player) from(this):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=@combatdamaged(player) from(this):_ZOMBIETOKEN_ and!( tap(noevent) )! auto=@combatdamagefoeof(player) from(this):ability$!name(discard) notatarget(*|myhand) reject!$ opponent auto=@combatdamageof(player) from(this):ability$!name(discard) notatarget(*|myhand) reject!$ controller text=Deathtouch. -- Whenever Liliana's Reaver deals combat damage to a player, that player discards a card and you put a 2/2 black Zombie creature token onto the battlefield tapped. @@ -67698,7 +67697,7 @@ type=Sorcery [card] name=Living Hive abilities=trample -auto=@combatdamaged(player) from(this):token(Insect,Creature Insect,1/1,green)*thatmuch +auto=@combatdamaged(player) from(this):_INSECTTOKEN_*thatmuch text=Trample -- Whenever Living Hive deals combat damage to a player, put that many 1/1 green Insect creature tokens onto the battlefield. mana={6}{G}{G} type=Creature @@ -70941,8 +70940,8 @@ toughness=3 [/card] [card] name=March of Souls -auto=@movedto(creature|mygraveyard):token(Spirit,Creature Spirit,1/1,white,flying) -auto=@movedto(creature|opponentgraveyard):token(Spirit,Creature Spirit,1/1,white,flying) opponent +auto=@movedto(creature|mygraveyard):_SPIRITTOKEN_ +auto=@movedto(creature|opponentgraveyard):_SPIRITTOKEN_ opponent auto=destroy all(creature) text=Destroy all creatures. They can't be regenerated. For each creature destroyed this way, its controller puts a 1/1 white Spirit creature token with flying onto the battlefield. mana={4}{W} @@ -71443,7 +71442,7 @@ toughness=4 [/card] [card] name=Marsh Flats -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[swamp;plains]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[swamp;plains]|myLibrary) text={T}, Pay 1 life, Sacrifice Marsh Flats: Search your library for a Plains or Swamp card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -71569,7 +71568,7 @@ toughness=5 [card] name=Martial Coup auto=this(X>=5) destroy all(creature) -auto=token(Soldier,creature soldier,1/1,white) *X +auto=_SOLDIERTOKEN_ *X text=Put X 1/1 soldier creature tokens into play. If X is 5 or more, destroy all other creatures. mana={X}{W}{W} type=Sorcery @@ -72119,7 +72118,7 @@ toughness=1 [/card] [card] name=Mausoleum Guard -auto=_DIES_token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto=_DIES__SPIRITTOKEN_*2 text=When Mausoleum Guard dies, put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={3}{W} type=Creature @@ -73565,7 +73564,7 @@ toughness=3 [/card] [card] name=Midnight Haunting -auto=token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto=_SPIRITTOKEN_*2 text=Put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={2}{W} type=Instant @@ -73591,7 +73590,7 @@ toughness=3 [card] name=Midsummer Revel auto=@each my upkeep:may counter(0/0,1,Verse) -auto={G}{S}:thisforeach(counter{0/0.1.Verse}) token(Beast,Creature Beast,3/3,green) +auto={G}{S}:thisforeach(counter{0/0.1.Verse}) _BEASTTOKEN_ text=At the beginning of your upkeep, you may put a verse counter on Midsummer Revel. -- {G}, Sacrifice Midsummer Revel: Put X 3/3 green Beast creature tokens onto the battlefield, where X is the number of verse counters on Midsummer Revel. mana={3}{G}{G} type=Enchantment @@ -75244,7 +75243,7 @@ type=Artifact [/card] [card] name=Misty Rainforest -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[forest;island]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[forest;island]|myLibrary) text={T}, Pay 1 life, Sacrifice Misty Rainforest: Search your library for a Forest or Island card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -75321,7 +75320,7 @@ toughness=4 [/card] [card] name=Moan of the Unhallowed -auto=token(Zombie,Creature Zombie,2/2,black)*2 +auto=_ZOMBIETOKEN_*2 flashback={5}{B}{B} text=Put two 2/2 black Zombie creature tokens onto the battlefield. -- Flashback {5}{B}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={2}{B}{B} @@ -75412,7 +75411,7 @@ toughness=5 [/card] [card] name=Mogg Alarm -auto=token(Goblin,Creature Goblin,1/1,red)*2 +auto=_GOBLINTOKEN_*2 other={S(mountain|myBattlefield)}{S(mountain|myBattlefield)} name(Sacrifice 2 Mountains) text=You may sacrifice two Mountains rather than pay Mogg Alarm's mana cost. -- Put two 1/1 red Goblin creature tokens onto the battlefield. mana={1}{R}{R} @@ -75550,8 +75549,8 @@ toughness=2 [/card] [card] name=Mogg War Marshal -auto=token(Goblin,Creature Goblin,1/1,red) -auto=_DIES_token(Goblin,Creature Goblin,1/1,red) +auto=_GOBLINTOKEN_ +auto=_DIES__GOBLINTOKEN_ auto=upcost[{1}{R};next upkeep] sacrifice text=Echo {1}{R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Mogg War Marshal enters the battlefield or dies, put a 1/1 red Goblin creature token onto the battlefield. mana={1}{R} @@ -76308,7 +76307,7 @@ toughness=2 [card] name=Moorland Haunt auto={T}:Add{1} -auto={W}{U}{T}{E(creature|mygraveyard)}:token(Spirit,Creature Spirit,1/1,white,flying) +auto={W}{U}{T}{E(creature|mygraveyard)}:_SPIRITTOKEN_ text={T}: Add {1} to your mana pool. -- {W}{U}, {T}, Exile a creature card from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. type=Land [/card] @@ -76837,7 +76836,7 @@ toughness=2 [card] name=Mountain Valley auto=tap(noevent) -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[mountain;forest]|myLibrary) +auto={T}{S}:moveTo(myBattlefield) target(*[mountain;forest]|myLibrary) text=Mountain Valley enters the battlefield tapped. -- {T}, Sacrifice Mountain Valley: Search your library for a Mountain or Forest card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -77244,7 +77243,7 @@ toughness=3 [card] name=Murder Investigation target=creature|mybattlefield -auto=@movedto(mytgt|graveyard) from(Battlefield):token(Soldier,Creature Soldier,1/1,white)*power controller +auto=@movedto(mytgt|graveyard) from(Battlefield):_SOLDIERTOKEN_*power controller text=Enchant creature you control -- When enchanted creature dies, put X 1/1 white Soldier creature tokens onto the battlefield, where X is its power. mana={1}{W} type=Enchantment @@ -78629,7 +78628,7 @@ type=Enchantment [card] name=Nearheath Chaplain abilities=lifelink -autograveyard={2}{W}{e}:token(Spirit,creature Spirit,1/1,white,flying)*2 assorcery +autograveyard={2}{W}{e}:_SPIRITTOKEN_*2 assorcery text=Lifelink -- {2}{W}, Exile Nearheath Chaplain from your graveyard: Put two 1/1 white Spirit creature tokens with flying onto the battlefield. Activate this ability only any time you could cast a sorcery. mana={3}{W} type=Creature @@ -78789,8 +78788,8 @@ toughness=1 [/card] [card] name=Necromancer's Covenant -auto=choice name(exile all creatures from opponent's graveyard) foreach(creature|opponentgraveyard) token(Zombie,Creature Zombie,2/2,black) && moveTo(exile) all(creature|opponentgraveyard) -auto=choice name(exile all creatures from my graveyard) foreach(creature|mygraveyard) token(Zombie,Creature Zombie,2/2,black) && moveTo(exile) all(creature|mygraveyard) +auto=choice name(exile all creatures from opponent's graveyard) foreach(creature|opponentgraveyard) _ZOMBIETOKEN_ && moveTo(exile) all(creature|opponentgraveyard) +auto=choice name(exile all creatures from my graveyard) foreach(creature|mygraveyard) _ZOMBIETOKEN_ && moveTo(exile) all(creature|mygraveyard) auto=lord(zombie|mybattlefield) lifelink text=When Necromancer's Covenant enters the battlefield, exile all creature cards from target player's graveyard, then put a 2/2 black Zombie creature token onto the battlefield for each card exiled this way. -- Zombies you control have lifelink. mana={3}{W}{B}{B} @@ -78808,7 +78807,7 @@ subtype=Aura [/card] [card] name=Necromancer's Stockpile -auto=aslongas(creature|myhand) {1}{B}:notatarget(creature|myhand) and!( if cantargetcard(zombie|*) then token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! )! reject && draw:1 +auto=aslongas(creature|myhand) {1}{B}:notatarget(creature|myhand) and!( if cantargetcard(zombie|*) then _ZOMBIETOKEN_ and!( tap(noevent) )! )! reject && draw:1 text={1}{B},Discard a creature card: Draw a card. If the discarded card was a Zombie card, put a 2/2 black Zombie creature token onto the battlefield tapped. mana={1}{B} type=Enchantment @@ -78833,7 +78832,7 @@ subtype=Aura [card] name=Necromaster Dragon abilities=flying -auto=@combatdamaged(player) from(this):pay({2}) token(Zombie,Creature Zombie,2/2,black) controller && deplete:2 all(opponent) +auto=@combatdamaged(player) from(this):pay({2}) _ZOMBIETOKEN_ controller && deplete:2 all(opponent) text=Flying -- Whenever Necromaster Dragon deals combat damage to a player, you may pay {2}. If you do, put a 2/2 black Zombie creature token onto the battlefield and each opponent puts the top two cards of his or her library into his or her graveyard. mana={3}{U}{B} type=Creature @@ -79222,7 +79221,7 @@ toughness=2 [/card] [card] name=Nested Ghoul -auto=_ENRAGE_token(Zombie,Creature Zombie,2/2,black) +auto=_ENRAGE__ZOMBIETOKEN_ text=Whenever a source deals damage to Nested Ghoul, put a 2/2 black Zombie creature token onto the battlefield. mana={3}{B}{B} type=Creature @@ -80751,8 +80750,8 @@ toughness=2 [card] name=Not Forgotten target=*|graveyard -auto=choice name(put on top) moveto(ownerlibrary) && token(Spirit,creature Spirit,1/1,white,flying) -auto=choice bottomoflibrary && token(Spirit,creature Spirit,1/1,white,flying) +auto=choice name(put on top) moveto(ownerlibrary) && _SPIRITTOKEN_ +auto=choice bottomoflibrary && _SPIRITTOKEN_ text=Put target card from a graveyard on the top or bottom of its owner's library. Put a 1/1 white Spirit creature token with flying onto the battlefield. mana={1}{W} type=Sorcery @@ -80959,7 +80958,7 @@ type=Artifact [/card] [card] name=Null Caller -auto={3}{b}{e(creature|mygraveyard)}:token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto={3}{b}{e(creature|mygraveyard)}:_ZOMBIETOKEN_ and!( tap(noevent) )! text={3}{B}, Exile a creature card from your graveyard: Put a 2/2 black Zombie creature token onto the battlefield tapped. mana={3}{B} type=Creature @@ -83690,7 +83689,7 @@ type=Sorcery name=Overseer of the Damned abilities=flying auto=may destroy target(creature) -auto=@movedto(graveyard) from(creature[-token]|opponentBattlefield):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=@movedto(graveyard) from(creature[-token]|opponentBattlefield):_ZOMBIETOKEN_ and!( tap(noevent) )! text=Flying -- When Overseer of the Damned enters the battlefield, you may destroy target creature. -- Whenever a nontoken creature an opponent controls dies, put a 2/2 black Zombie creature token onto the battlefield tapped. mana={5}{B}{B} type=Creature @@ -83889,7 +83888,7 @@ subtype=Aura [card] name=Pack Guardian abilities=flash -auto=may name(Make Wolf) reject target(land|myhand) && token(Wolf,creature Wolf,2/2,green) +auto=may name(Make Wolf) reject target(land|myhand) && _WOLFTOKEN_ text=Flash (You may cast this spell any time you could cast an instant.) -- When Pack Guardian enters the battlefield, you may discard a land card. If you do, put a 2/2 green Wolf creature token onto the battlefield. mana={2}{G}{G} type=Creature @@ -87729,7 +87728,7 @@ toughness=7 [/card] [card] name=Ponyback Brigade -auto=token(Goblin,Creature Goblin,1/1,red) *3 +auto=_GOBLINTOKEN_ *3 facedown={3} autofacedown={2}{R}{W}{B}:morph text=When Ponyback Brigade enters the battlefield or is turned face up, put three 1/1 red Goblin creature tokens onto the battlefield. -- Morph {2}{R}{W}{B}: (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) @@ -88067,7 +88066,7 @@ toughness=3 [/card] [card] name=Precinct Captain -auto=@combatdamaged(player) from(this):token(Soldier,Creature Soldier,1/1,white) +auto=@combatdamaged(player) from(this):_SOLDIERTOKEN_ abilities=first strike text=First strike -- Whenever Precinct Captain deals combat damage to a player, put a 1/1 white Soldier creature token onto the battlefield. mana={W}{W} @@ -88136,8 +88135,8 @@ subtype=Aura [/card] [card] name=Predator's Howl -auto=ifnot morbid then token(Wolf,Creature Wolf,2/2,green) -auto=if morbid then token(Wolf,Creature Wolf,2/2,green)*3 +auto=ifnot morbid then _WOLFTOKEN_ +auto=if morbid then _WOLFTOKEN_*3 text=Put a 2/2 green Wolf creature token onto the battlefield. -- Morbid -- Put three 2/2 green Wolf creature tokens onto the battlefield instead if a creature died this turn. mana={3}{G} type=Instant @@ -88656,7 +88655,7 @@ toughness=1 [/card] [card] name=Primeval Bounty -auto=@movedTo(creature|mystack):token(Beast,Creature Beast,3/3,green) controller +auto=@movedTo(creature|mystack):_BEASTTOKEN_ controller auto=@movedTo(*[-creature]|mystack):counter(1/1,3) target(creature|mybattlefield) auto=_LANDFALL_life:3 controller text=Enchantment. -- Whenever you cast a creature spell, put a 3/3 green Beast creature token onto the battlefield. -- Whenever you cast a noncreature spell, put three +1/+1 counters on target creature you control. -- Whenever a land enters the battlefield under your control, you gain 3 life. @@ -89677,7 +89676,7 @@ type=Instant [/card] [card] name=Pulse of the Tangle -auto=token(Beast,Creature Beast,3/3,green) +auto=_BEASTTOKEN_ auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then moveto(myhand) text=Put a 3/3 green Beast creature token onto the battlefield. Then if an opponent controls more creatures than you, return Pulse of the Tangle to its owner's hand. mana={1}{G}{G} @@ -91361,7 +91360,7 @@ type=Instant [card] name=Raised by Wolves target=creature -auto=token(Wolf,Creature Wolf,2/2,green)*2 controller +auto=_WOLFTOKEN_*2 controller auto=foreach(wolf|mybattlefield) 1/1 text=Enchant creature -- When Raised by Wolves enters the battlefield, put two 2/2 green Wolf creature tokens onto the battlefield. -- Enchanted creature gets +1/+1 for each Wolf you control. mana={3}{G}{G} @@ -91620,7 +91619,7 @@ toughness=2 [/card] [card] name=Rakshasa Gravecaller -auto=may name(Exploit) exploits notatarget(creature|mybattlefield) && token(Zombie,Creature Zombie,2/2,black)*2 +auto=may name(Exploit) exploits notatarget(creature|mybattlefield) && _ZOMBIETOKEN_*2 text=Exploit (When this creature enters the battlefield, you may sacrifice a creature.) -- When Rakshasa Gravecaller exploits a creature, put two 2/2 black Zombie creature tokens onto the battlefield. mana={4}{B} type=Creature @@ -92810,7 +92809,7 @@ type=Sorcery [/card] [card] name=Reap the Seagraf -auto=token(Zombie,Creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_ flashback={4}{U} text=Put a 2/2 black Zombie creature token onto the battlefield. -- Flashback {4}{U} mana={2}{B} @@ -94235,7 +94234,7 @@ type=Instant [card] name=Requiem Angel abilities=flying -auto=@movedTo(other creature|mygraveyard) from(battlefield):token(Spirit,Creature Spirit,1/1,white,flying) +auto=@movedTo(other creature|mygraveyard) from(battlefield):_SPIRITTOKEN_ text=Flying -- Whenever another non-Spirit creature you control dies, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={5}{W} type=Creature @@ -95776,8 +95775,8 @@ type=Sorcery [/card] [card] name=Rise from the Tides -auto=foreach(sorcery|mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=foreach(instant|mygraveyard):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! +auto=foreach(sorcery|mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! +auto=foreach(instant|mygraveyard):_ZOMBIETOKEN_ and!( tap(noevent) )! text=Put a 2/2 black Zombie creature token onto the battlefield tapped for each instant and sorcery card in your graveyard. mana={5}{U} type=Sorcery @@ -96359,7 +96358,7 @@ toughness=1 [card] name=Rocky Tar Pit auto=tap(noevent) -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[mountain;swamp]|myLibrary) +auto={T}{S}:moveTo(myBattlefield) target(*[mountain;swamp]|myLibrary) text=Rocky Tar Pit enters the battlefield tapped. -- {T}, Sacrifice Rocky Tar Pit: Search your library for a Swamp or Mountain card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -96964,8 +96963,8 @@ toughness=5 [/card] [card] name=Rotlung Reanimator -auto=_DIES_token(Zombie,Creature Zombie, 2/2,black) -auto=@movedTo(graveyard) from(other cleric|battlefield):token(Zombie,Creature Zombie, 2/2,black) +auto=_DIES__ZOMBIETOKEN_ +auto=@movedTo(graveyard) from(other cleric|battlefield):_ZOMBIETOKEN_ text=Whenever Rotlung Reanimator or another Cleric dies, put a 2/2 black Zombie creature token onto the battlefield. mana={2}{B} type=Creature @@ -97947,7 +97946,7 @@ toughness=5 [/card] [card] name=Saber Ants -auto=_ENRAGE_may token(Insect,Creature Insect,1/1,green)*thatmuch +auto=_ENRAGE_may _INSECTTOKEN_*thatmuch text=Whenever Saber Ants is dealt damage, you may put that many 1/1 green Insect creature tokens onto the battlefield. mana={3}{G} type=Creature @@ -98712,7 +98711,7 @@ type=Instant name=Sanctifier of Souls abilities=flying auto=@movedto(other creature|mybattlefield):1/1 ueot -auto={2}{w}{E(creature|mygraveyard)}:token(Spirit,Creature Spirit,1/1,white,flying) +auto={2}{w}{E(creature|mygraveyard)}:_SPIRITTOKEN_ text=Whenever another creature enters the battlefield under your control, Sanctifier of Souls gets +1/+1 until end of turn. -- {2}{W}, Exile a creature card from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. mana={3}{W} type=Creature @@ -98917,7 +98916,7 @@ toughness=5 [card] name=Sandsteppe Outcast auto=choice name(+1/+1 counter) counter(1/1) -auto=choice name(Spirit Token) token(Spirit,Creature Spirit,1/1,white,flying) +auto=choice name(Spirit Token) _SPIRITTOKEN_ text=When Sandsteppe Outcast enters the battlefield, choose one: -- Put a +1/+1 counter on Sandsteppe Outcast. -- Put a 1/1 white Spirit creature token with flying onto the battlefield. mana={2}{W} type=Creature @@ -99254,7 +99253,7 @@ toughness=2 [/card] [card] name=Sarcomancy -auto=token(Zombie,Creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_ auto=@each my upkeep restriction{type(zombie|battlefield)~lessthan~1}:damage:1 controller text=When Sarcomancy enters the battlefield, put a 2/2 black Zombie creature token onto the battlefield. -- At the beginning of your upkeep, if there are no Zombies on the battlefield, Sarcomancy deals 1 damage to you. mana={B} @@ -99693,7 +99692,7 @@ toughness=1 [/card] [card] name=Scalding Tarn -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[island;mountain]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[island;mountain]|myLibrary) text={T}, Pay 1 life, Sacrifice Scalding Tarn: Search your library for an Island or Mountain card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -101606,7 +101605,7 @@ subtype=Aura [/card] [card] name=Security Detail -auto=aslongas(creature|mybattlefield) {w}{w}:token(soldier,creature soldier,1/1,white) limit:1 <1 +auto=aslongas(creature|mybattlefield) {w}{w}:_SOLDIERTOKEN_ limit:1 <1 text={W}{W}: Put a 1/1 white Soldier creature token onto the battlefield. Activate this ability only if you control no creatures and only once each turn. mana={3}{W} type=Enchantment @@ -103404,7 +103403,7 @@ name=Shamble Back target=creature|mygraveyard auto=moveto(exile) auto=life:2 controller -auto=token(Zombie,creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_ text=Exile target creature card from a graveyard. Put a 2/2 black Zombie creature token onto the battlefield. You gain 2 life. mana={B} type=Sorcery @@ -105136,7 +105135,7 @@ subtype=Aura [/card] [card] name=Siege-Gang Commander -auto=token(Goblin,Creature Goblin,1/1,red)*3 +auto=_GOBLINTOKEN_*3 auto={1}{R}{S(goblin|myBattlefield)}:Damage:2 target(creature,player) text=When Siege-Gang Commander enters the battlefield, put three 1/1 red Goblin creature tokens onto the battlefield. -- {1}{R}, Sacrifice a Goblin: Siege-Gang Commander deals 2 damage to target creature or player. mana={3}{R}{R} @@ -105825,7 +105824,7 @@ toughness=2 [card] name=Silverfur Partisan abilities=trample -auto=@targeted(wolf,werewolf|mybattlefield) from(instant,sorcery):token(Wolf,creature Wolf,2/2,green) +auto=@targeted(wolf,werewolf|mybattlefield) from(instant,sorcery):_WOLFTOKEN_ text=Trample -- Whenever a Wolf or Werewolf you control becomes the target of an instant or sorcery spell, put a 2/2 green Wolf creature token onto the battlefield. mana={2}{G} type=Creature @@ -107853,7 +107852,7 @@ toughness=2 name=Slayer's Plate auto={3}:equip auto=teach(creature) 4/2 -auto=teach(human) transforms((,newability[_DIES_create(Spirit:Creature Spirit:1/1:white:flying)])) +auto=teach(human) transforms((,newability[_DIES__SPIRITTOKEN_])) text=Equipped creature gets +4/+2. -- Whenever equipped creature dies, if it was a Human, put a 1/1 white Spirit creature token with flying onto the battlefield. -- Equip {3} mana={3} type=Artifact @@ -109771,8 +109770,8 @@ toughness=6 [card] name=Soul of Zendikar abilities=reach -auto={3}{G}{G}:token(Beast,Creature Beast,3/3,green) -autograveyard={3}{G}{G}{E}:token(Beast,Creature Beast,3/3,green) +auto={3}{G}{G}:_BEASTTOKEN_ +autograveyard={3}{G}{G}{E}:_BEASTTOKEN_ text=Reach. -- {3}{G}{G}: Put a 3/3 green Beast creature token onto the battlefield. -- {3}{G}{G}: Exile Soul of Zendikar from your graveyard: Put a 3/3 green Beast creature token onto the battlefield. mana={4}{G}{G} type=Creature @@ -110568,7 +110567,7 @@ type=Sorcery [/card] [card] name=Spectral Reserves -auto=token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto=_SPIRITTOKEN_*2 auto=life:2 text=Put two 1/1 white Spirit creature tokens with flying onto the battlefield. You gain 2 life. mana={3}{W} @@ -114286,7 +114285,7 @@ toughness=1 name=Stormfront Riders abilities=flying auto=moveTo(ownerhand) target(<2>creature|myBattlefield) -auto=@movedTo(creature|myhand) from(mybattlefield):token(Soldier,Creature Soldier,1/1,white) +auto=@movedTo(creature|myhand) from(mybattlefield):_SOLDIERTOKEN_ text=Flying -- When Stormfront Riders enters the battlefield, return two creatures you control to their owner's hand. -- Whenever Stormfront Riders or another creature is returned to your hand from the battlefield, put a 1/1 white Soldier creature token onto the battlefield. mana={4}{W} type=Creature @@ -116263,7 +116262,7 @@ toughness=1 [card] name=Survey the Wreckage target=land -auto=destroy && token(Goblin,Creature Goblin,1/1,red) +auto=destroy && _GOBLINTOKEN_ text=Destroy target land. Put a 1/1 red Goblin creature token onto the battlefield. mana={4}{R} type=Sorcery @@ -116718,7 +116717,7 @@ auto={2}:equip auto=teach(creature) protection from green auto=teach(creature) protection from blue auto=teach(creature) 2/2 -auto=@combatdamaged(player) from(mytgt):token(Wolf,Creature Wolf,2/2,green) +auto=@combatdamaged(player) from(mytgt):_WOLFTOKEN_ auto=@combatdamaged(player) from(mytgt):deplete:10 opponent text=Equipped creature gets +2/+2 and has protection from green and from blue. -- Whenever equipped creature deals combat damage to a player, you put a 2/2 green Wolf creature token onto the battlefield and that player puts the top ten cards of his or her library into his or her graveyard. -- Equip {2} mana={3} @@ -117078,7 +117077,7 @@ type=Instant [/card] [card] name=Symbiotic Beast -auto=_DIES_token(Insect,creature insect, 1/1,green)*4 +auto=_DIES__INSECTTOKEN_*4 text=When Symbiotic Beast dies, put four 1/1 green Insect creature tokens onto the battlefield. mana={4}{G}{G} type=Creature @@ -117096,7 +117095,7 @@ type=Enchantment [/card] [card] name=Symbiotic Elf -auto=_DIES_token(Insect,creature insect, 1/1,green)*2 +auto=_DIES__INSECTTOKEN_*2 text=When Symbiotic Elf dies, put two 1/1 green Insect creature tokens onto the battlefield. mana={3}{G} type=Creature @@ -117106,7 +117105,7 @@ toughness=2 [/card] [card] name=Symbiotic Wurm -auto=_DIES_token(Insect,creature insect, 1/1,green)*7 +auto=_DIES__INSECTTOKEN_*7 text=When Symbiotic Wurm dies, put seven 1/1 green Insect creature tokens onto the battlefield. mana={5}{G}{G}{G} type=Creature @@ -117202,7 +117201,7 @@ type=Artifact [/card] [card] name=Syphon Flesh -auto=ability$! sacrifice notatarget(creature|mybattlefield) and!( token(Zombie,Creature Zombie,2/2,black) opponent )! !$ opponent +auto=ability$! sacrifice notatarget(creature|mybattlefield) and!( _ZOMBIETOKEN_ opponent )! !$ opponent text=Each other player sacrifices a creature. You put a 2/2 black Zombie creature token onto the battlefield for each creature sacrificed this way. mana={4}{B} type=Sorcery @@ -120772,7 +120771,7 @@ toughness=1 [card] name=Thragtusk auto=life:5 controller -auto=@movedTo(this|nonbattlezone) from(battlefield):token(Beast,Creature Beast,3/3,green) +auto=@movedTo(this|nonbattlezone) from(battlefield):_BEASTTOKEN_ text=When Thragtusk enters the battlefield, you gain 5 life. -- When Thragtusk leaves the battlefield, put a 3/3 green Beast creature token onto the battlefield. mana={4}{G} type=Creature @@ -121067,7 +121066,7 @@ type=Artifact [/card] [card] name=Throne of Empires -auto={1}{t}:name(create Soldiers) if type(Crown of Empires|mybattlefield)~morethan~0,type(Scepter of Empires|mybattlefield)~morethan~0 then token(Soldier,Creature Soldier,1/1,white)*5 controller else token(Soldier,Creature Soldier,1/1,white) controller +auto={1}{t}:name(create Soldiers) if type(Crown of Empires|mybattlefield)~morethan~0,type(Scepter of Empires|mybattlefield)~morethan~0 then _SOLDIERTOKEN_*5 controller else _SOLDIERTOKEN_ controller text={1}, {T}: Put a 1/1 white Soldier creature token onto the battlefield. Put five of those tokens onto the battlefield instead if you control artifacts named Crown of Empires and Scepter of Empires. mana={4} type=Artifact @@ -121932,7 +121931,7 @@ toughness=2 [/card] [card] name=Timely Reinforcements -auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then token(Soldier,Creature Soldier,1/1,white)*3 +auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then _SOLDIERTOKEN_*3 auto=if compare(lifetotal)~lessthan~compare(opponentlifetotal) then life:6 text=If you have less life than an opponent, you gain 6 life. If you control fewer creatures than an opponent, put three 1/1 white Soldier creature tokens onto the battlefield. mana={2}{W} @@ -124304,7 +124303,7 @@ type=Sorcery [/card] [card] name=Triplicate Spirits -auto=token(Spirit,Creature Spirit,1/1,white,flying)*3 +auto=_SPIRITTOKEN_*3 text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.) -- Put three 1/1 white Spirit creature tokens with flying onto the battlefield. (They can't be blocked except by creatures with flying or reach.) other={convoke} name(Convoke) mana={4}{W}{W} @@ -124950,8 +124949,8 @@ type=Land [card] name=Turntimber Ranger auto=counter(1/1) -auto=may token(Wolf,Creature Wolf,2/2,green) -auto=_RALLY_may token(Wolf,Creature Wolf,2/2,green) && counter(1/1) +auto=may _WOLFTOKEN_ +auto=_RALLY_may _WOLFTOKEN_ && counter(1/1) text=Whenever Turntimber Ranger or another Ally enters the battlefield under your control, you may put a 2/2 green Wolf creature token onto the battlefield. If you do, put a +1/+1 counter on Turntimber Ranger. mana={3}{G}{G} type=Creature @@ -125010,7 +125009,7 @@ toughness=2 [card] name=Twilight Drover auto=@movedTo(creature[token]|nonbattlezone) from(battlefield):counter(1/1) -auto={2}{W}{C(1/1,-1)}:token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto={2}{W}{C(1/1,-1)}:_SPIRITTOKEN_*2 text=Whenever a creature token leaves the battlefield, put a +1/+1 counter on Twilight Drover. -- {2}{W}, Remove a +1/+1 counter from Twilight Drover: Put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={2}{W} type=Creature @@ -125713,7 +125712,7 @@ type=Sorcery [card] name=Undead Alchemist auto=lord(zombie|mybattlefield) libraryeater -auto=@movedTo(creature|opponentgraveyard) from(opponentlibrary):all(trigger[to]) moveto(exile) and!(token(Zombie,Creature Zombie,2/2,black) controller)! +auto=@movedTo(creature|opponentgraveyard) from(opponentlibrary):all(trigger[to]) moveto(exile) and!(_ZOMBIETOKEN_ controller)! text=If a Zombie you control would deal combat damage to a player, instead that player puts that many cards from the top of his or her library into his or her graveyard. -- Whenever a creature card is put into an opponent's graveyard from his or her library, exile that card and put a 2/2 black Zombie creature token onto the battlefield. mana={3}{U} type=Creature @@ -125765,7 +125764,7 @@ toughness=3 [/card] [card] name=Undead Servant -auto=choice foreach(Undead Servant|mygraveyard) token(Zombie,Creature Zombie,2/2,black) controller +auto=choice foreach(Undead Servant|mygraveyard) _ZOMBIETOKEN_ controller text=When Undead Servant enters the battlefield, put a 2/2 black Zombie creature token onto the battlefield for each card named Undead Servant in your graveyard. mana={3}{B} type=Creature @@ -126306,7 +126305,7 @@ name=Unscythe, Killer of Kings auto={2}:equip auto=teach(creature) 3/3 auto=teach(creature) first strike -auto=@vampired(creature) from(mytgt):may all(trigger[to]) moveTo(exile) && token(Zombie,Creature Zombie,2/2,black) +auto=@vampired(creature) from(mytgt):may all(trigger[to]) moveTo(exile) && _ZOMBIETOKEN_ text=Equipped creature gets +3/+3 and has first strike. -- Whenever a creature dealt damage by equipped creature this turn is put into a graveyard, you may exile that card. If you do, put a 2/2 black Zombie creature token onto the battlefield. -- Equip {2} mana={U}{B}{B}{R} type=Legendary Artifact @@ -128163,7 +128162,7 @@ toughness=2 [/card] [card] name=Verdant Catacombs -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[forest;swamp]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[forest;swamp]|myLibrary) text={T}, Pay 1 life, Sacrifice Verdant Catacombs: Search your library for a Swamp or Forest card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -128361,7 +128360,7 @@ type=Artifact [/card] [card] name=Vessel of Ephemera -auto={2}{W}{s}:token(Spirit,creature Spirit,1/1,white,flying)*2 +auto={2}{W}{s}:_SPIRITTOKEN_*2 text={2}{W}, Sacrifice Vessel of Ephemera: Put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={1}{W} type=Enchantment @@ -129094,7 +129093,7 @@ toughness=2 name=Vile Rebirth target=creature|graveyard auto=moveTo(exile) -auto=token(Zombie,Creature Zombie,2/2,black) +auto=_ZOMBIETOKEN_ text=Exile target creature card from a graveyard. Put a 2/2 black Zombie creature token onto the battlefield. mana={B} type=Instant @@ -129698,7 +129697,7 @@ toughness=1 [/card] [card] name=Vitality Charm -auto=choice token(Insect,creature insect, 1/1,green) +auto=choice _INSECTTOKEN_ auto=aslongas(creature|battlefield) choice name(1/1 & trample) target(creature) transforms((,newability[1/1],newability[trample])) ueot auto=aslongas(beast|battlefield) choice regenerate target(beast) text=Choose one - Put a 1/1 green Insect creature token onto the battlefield; or target creature gets +1/+1 and gains trample until end of turn; or regenerate target Beast. @@ -130943,7 +130942,7 @@ toughness=1 [/card] [card] name=Wakedancer -auto=if morbid then token(Zombie,Creature Zombie,2/2,black) +auto=if morbid then _ZOMBIETOKEN_ text=Morbid - When Wakedancer enters the battlefield, if a creature died this turn, put a 2/2 black Zombie creature token onto the battlefield. mana={2}{B} type=Creature @@ -131929,7 +131928,7 @@ type=Enchantment [card] name=Warbreak Trumpeter facedown={3} -autofaceup=token(Goblin,Creature Goblin, 1/1,red)*XX +autofaceup=_GOBLINTOKEN_*XX autofacedown={X}{X}{R}:morph text=Morph {X}{X}{R} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Warbreak Trumpeter is turned face up, put X 1/1 red Goblin creature tokens onto the battlefield. mana={R} @@ -132384,7 +132383,7 @@ type=Instant [/card] [card] name=Waste Not -auto=@discarded(creature|opponenthand):token(Zombie,Creature Zombie,2/2,black) controller +auto=@discarded(creature|opponenthand):_ZOMBIETOKEN_ controller auto=@discarded(land|opponenthand):add{B}{B} controller auto=@discarded(*[-creature;-land]|opponenthand):draw:1 controller text=Whenever an opponent discards a creature card, put a 2/2 black Zombie creature token onto the battlefield. -- Whenever an opponent discards a land card, add {B}{B} to your mana pool. -- Whenever an opponent discards a noncreature, nonland card, draw a card. @@ -134577,7 +134576,7 @@ type=Instant [/card] [card] name=Windswept Heath -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[forest;plains]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[forest;plains]|myLibrary) text={T}, Pay 1 life, Sacrifice Windswept Heath: Search your library for a Forest or Plains card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -134897,7 +134896,7 @@ toughness=1 [/card] [card] name=Wirewood Hivemaster -auto=@movedTo(elf[-token]|battlefield):may token(Insect,Creature Insect, 1/1,green) +auto=@movedTo(elf[-token]|battlefield):may _INSECTTOKEN_ text=Whenever another nontoken Elf enters the battlefield, you may put a 1/1 green Insect creature token onto the battlefield. mana={1}{G} type=Creature @@ -135328,7 +135327,7 @@ toughness=1 [/card] [card] name=Wolfbriar Elemental -auto=if paid(kicker) then token(Wolf,creature wolf,2/2,green)*kicked +auto=if paid(kicker) then _WOLFTOKEN_*kicked kicker=multi{G} text=Multikicker {G} (You may pay an additional {G} any number of times as you cast this spell.) -- When Wolfbriar Elemental enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield for each time it was kicked. mana={2}{G}{G} @@ -135339,7 +135338,7 @@ toughness=4 [/card] [card] name=Wolfcaller's Howl -auto=@each my upkeep restriction{type(*|opponenthand)~morethan~3}:token(Wolf,Creature Wolf,2/2,green) +auto=@each my upkeep restriction{type(*|opponenthand)~morethan~3}:_WOLFTOKEN_ 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 @@ -135386,7 +135385,7 @@ toughness=4 [/card] [card] name=Wolfkin Bond -auto=token(Wolf,Creature Wolf,2/2,green) +auto=_WOLFTOKEN_ target=creature auto=teach(creature) 2/2 text=Enchant creature -- When Wolfkin Bond enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield. -- Enchanted creature gets +2/+2. @@ -135396,8 +135395,8 @@ subtype=Aura [/card] [card] name=Wolf-Skull Shaman -aicode=activate if type(*[creature;zpos=1;share!types!]|mylibrary)~morethan~0 then token(Wolf,Creature Wolf,2/2,green) -auto=@each my upkeep:may name(Look top card) reveal:1 optionone if type(*[creature;share!types!]|reveal)~morethan~0 then token(Wolf,Creature Wolf,2/2,green) optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +aicode=activate if type(*[creature;zpos=1;share!types!]|mylibrary)~morethan~0 then _WOLFTOKEN_ +auto=@each my upkeep:may name(Look top card) reveal:1 optionone if type(*[creature;share!types!]|reveal)~morethan~0 then _WOLFTOKEN_ optiononeend optiontwo name(Put Back On Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text=Kinship - At the beginning of your upkeep, you may look at the top card of your library. If it shares a creature type with Wolf-Skull Shaman, you may reveal it. If you do, put a 2/2 green Wolf creature token onto the battlefield. mana={1}{G} type=Creature @@ -135490,7 +135489,7 @@ type=Land [/card] [card] name=Wooded Foothills -auto={L:1}{T}{S}:moveTo(myBattlefield) target(*[mountain;forest]|myLibrary) +auto={T}{L:1}{S}:moveTo(myBattlefield) target(*[mountain;forest]|myLibrary) text={T}, Pay 1 life, Sacrifice Wooded Foothills: Search your library for a Mountain or Forest card and put it onto the battlefield. Then shuffle your library. type=Land [/card] @@ -136082,7 +136081,7 @@ type=Sorcery name=Wren's Run Packmaster auto=aslongas(other elf|mybattlefield) choice notatarget(other elf|mybattlefield) (blink)forsrc oneshot auto=choice sacrifice -auto={2}{G}:token(Wolf,Creature Wolf,2/2,green) +auto={2}{G}:_WOLFTOKEN_ auto=lord(wolf|mybattlefield) deathtouch text=Champion an Elf (When this enters the battlefield, sacrifice it unless you exile another Elf you control. When this leaves the battlefield, that card returns to the battlefield.) -- {2}{G}: Put a 2/2 green Wolf creature token onto the battlefield. -- Each Wolf you control has deathtouch. (Creatures dealt damage by those creatures are destroyed. You can divide their combat damage among any of the creatures blocking or blocked by it.) mana={3}{G} @@ -136370,8 +136369,8 @@ toughness=6 [/card] [card] name=Xathrid Necromancer -autograveyard=_DIES_token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! controller -auto=@movedTo(other human|graveyard) from(mybattlefield):token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! controller +autograveyard=_DIES__ZOMBIETOKEN_ and!( tap(noevent) )! controller +auto=@movedTo(other human|graveyard) from(mybattlefield):_ZOMBIETOKEN_ and!( tap(noevent) )! controller text=Whenever Xathrid Necromancer or another Human creature you control dies, put a 2/2 black Zombie creature token onto the battlefield tapped. mana={2}{B} type=Creature @@ -137509,7 +137508,7 @@ toughness=3 [/card] [card] name=Zombie Infestation -auto={D(*|myhand)}{D(*|myhand)}:token(Zombie,Creature Zombie,2/2,black) +auto={D(*|myhand)}{D(*|myhand)}:_ZOMBIETOKEN_ text=Discard two cards: Put a 2/2 black Zombie creature token onto the battlefield. mana={1}{B} type=Enchantment diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 7e44be858..e5cff38ab 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -1,4 +1,3 @@ -grade=borderline #Planeswalkers Primitives Pack for Wagic the Homebrew. #Please keep these card alphabetized, and try to have the "name=" line at the top of each card #We sorted this in alphabetical order - Luruz & Vitty85 21-12-2021 @@ -228,7 +227,7 @@ restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto={C(0/0,1,Loyalty)}:name(+1: Put a loyalty counter) donothing auto={C(0/0,1,Loyalty)}:name(+1: Target creature gets +2/+2) target(creature) 2/2 ueot -auto={C(0/0,0,Loyalty)}:name(0: Create a Wolf and transform) create(Wolf:Creature Wolf:2/2:green) && flip(backside) +auto={C(0/0,0,Loyalty)}:name(0: Create a Wolf and transform) _WOLFTOKEN_ && flip(backside) text=+1: Until end of turn, up to one target creature gets +2/+2 and gains vigilance and haste. -- 0: Put a 2/2 green Wolf creature token onto the battlefield. Transform Arlinn Kord. mana={2}{R}{G} type=Legendary Planeswalker @@ -254,7 +253,7 @@ anyzone={0}:doubleside(backside) auto=if type(*[day;night]|battlefield)~equalto~0 then name(It becomes day) activate castcard(noevent named!:Day:!) auto=if compare(hascntloyalty)~equalto~0 then counter(0/0,4,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Cast creatures with flash) transforms((,newability[counter(0/0.1.ArlinnEffect)],newability[phaseaction[my untap once sourceinplay] removeallcounters(0/0.1.ArlinnEffect)])) forever -auto={C(0/0,-3,Loyalty)}:name(-3: Create 2 Wolves) token(Wolf,Creature Wolf,2/2,green)*2 +auto={C(0/0,-3,Loyalty)}:name(-3: Create 2 Wolves) _WOLFTOKEN_*2 auto=this(counter{0/0.1.ArlinnEffect}>0) transforms((,newability[lord(creature|mycastingzone) asflash],newability[@movedto(creature|mybattlefield):name(Put 1/1 counter) all(trigger[to]) counter(1/1)])) text=Daybound (If a player casts no spells during their own turn, it becomes night next turn.) -- +1: Until your next turn, you may cast creature spells as though they had flash, and each creature you control enters the battlefield with an additional +1/+1 counter on it. -- −3: Create two 2/2 green Wolf creature tokens. // Arlinn, the Moon's Fury mana={2}{R}{G} @@ -278,7 +277,7 @@ subtype=Arlinn name=Arlinn, Voice of the Pack auto=counter(0/0,7,loyalty) auto=@movedTo(*[Wolf;Werewolf]|myBattlefield):all(trigger[to]) counter(1/1) -auto={C(0/0,-2,Loyalty)}:name(-2: Create a 2/2 Wolf) create(Wolf:Creature Wolf:2/2:green) +auto={C(0/0,-2,Loyalty)}:name(-2: Create a 2/2 Wolf) _WOLFTOKEN_ text=Each creature you control that's a Wolf or Werewolf enters the battlefield with an additional +1/+1 counter on it. -- -2: Create a 2/2 green Wolf creature token. mana={4}{G}{G} type=Legendary Planeswalker @@ -375,8 +374,8 @@ subtype=Basri name=Basri Ket auto=counter(0/0,3,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Put a +1/+1 counter and gains indestructible) counter(1/1) target(creature) && indestructible ueot -auto={C(0/0,-2,Loyalty)}:name(-2: Whenever a creature attacks create a token) emblem transforms((,newability[@combat(attacking) source(creature[-token]):token(Soldier Bas,Creature Soldier,1/1,white,battleready)])) oneshot ueot -auto={C(0/0,-6,Loyalty)}:name(-6: Emblem: "At the combat create a token and put a +1/+1 counter") emblem transforms((,newability[@each my combatbegins:token(Soldier Bas) && counter(1/1) all(creature|myBattlefield)])) forever dontremove +auto={C(0/0,-2,Loyalty)}:name(-2: Whenever a creature attacks create a token) emblem transforms((,newability[@combat(attacking) source(creature[-token]):create(Soldier:Creature Soldier:1/1:white:battleready)])) oneshot ueot +auto={C(0/0,-6,Loyalty)}:name(-6: Emblem: "At the combat create a token and put a +1/+1 counter") emblem transforms((,newability[@each my combatbegins:_SOLDIERTOKEN_ && counter(1/1) all(creature|myBattlefield)])) forever dontremove text=+1: Put a +1/+1 counter on up to one target creature. It gains indestructible until end of turn. -- −2: Whenever one or more nontoken creatures attack this turn, create that many 1/1 white Soldier creature tokens that are tapped and attacking. -- −6: You get an emblem with "At the beginning of combat on your turn, create a 1/1 white Soldier creature token, then put a +1/+1 counter on each creature you control." mana={1}{W}{W} type=Legendary Planeswalker @@ -816,7 +815,7 @@ subtype=Ellywick [card] name=Elspeth, Knight-Errant auto=counter(0/0,4,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Create a 1/1 soldier) create(Soldier:creature Soldier:1/1:white) +auto={C(0/0,1,Loyalty)}:name(+1: Create a 1/1 soldier) _SOLDIERTOKEN_ auto={C(0/0,1,Loyalty)}:name(+1: Target creature gets +3/+3 and flying) 3/3 ueot && flying target(creature) ueot auto={C(0/0,-8,Loyalty)}:name(-8: Emblem: "Permanents becomes indestructible") emblem transforms((,newability[lord(*[artifact;creature;land;enchantment]|mybattlefield) indestructible])) forever dontremove text=+1: Put a 1/1 white Soldier creature token onto the battlefield. -- +1: Target creature gets +3/+3 and gains flying until end of turn. -- -8: For the rest of the game, artifacts, creatures, enchantments, and lands you control are indestructible. @@ -827,7 +826,7 @@ subtype=Elspeth [card] name=Elspeth, Sun's Champion auto=counter(0/0,4,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Create three 1/1 Soldier) create(Soldier:creature Soldier:1/1:white)*3 +auto={C(0/0,1,Loyalty)}:name(+1: Create three 1/1 Soldier) _SOLDIERTOKEN_*3 auto={C(0/0,-3,Loyalty)}:name(-3: Destroy all power 4 or more) Destroy all(creature[power>=4]|battlefield) auto={C(0/0,-7,Loyalty)}:name(-7: Emblem: "Creatures get +2/+2 and flying") emblem transforms((,newability[lord(creature|mybattlefield) 2/2],newability[lord(creature|mybattlefield) flying])) forever dontremove text=+1: Put three 1/1 white Soldier creature tokens onto the battlefield. -- -3: Destroy all creature with power 4 or greater -- -7: You get an emblem with "Creatures you control get +2/+2 and have flying." -- Starting Loyalty 4 @@ -851,7 +850,7 @@ subtype=Elspeth name=Elspeth Tirel auto=counter(0/0,4,loyalty) auto={C(0/0,2,Loyalty)}:name(+2: Gain life for each creature) life:type:creature:mybattlefield -auto={C(0/0,-2,Loyalty)}:name(-2: Create a 1/1 soldier) token(Soldier,Creature Soldier,1/1,white)*3 +auto={C(0/0,-2,Loyalty)}:name(-2: Create a 1/1 soldier) _SOLDIERTOKEN_*3 auto={C(0/0,-5,Loyalty)}:name(-5: Destroy all except tokens) destroy all(other *[-land;-token]) text=+2: You gain 1 life for each creature you control. -- -2: Put three 1/1 white Soldier creature tokens onto the battlefield. -- -5: Destroy all other permanents except for lands and tokens. mana={3}{W}{W} @@ -943,7 +942,7 @@ subtype=Garruk [card] name=Garruk, Primal Hunter auto=counter(0/0,3,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Create a 3/3 Beast) token(Beast,Creature Beast,3/3,green) +auto={C(0/0,1,Loyalty)}:name(+1: Create a 3/3 Beast) _BEASTTOKEN_ auto={C(0/0,-3,Loyalty)}:name(-3: Draw a card equal to highest power) draw:power:highest:*:mybattlefield auto={C(0/0,-6,Loyalty)}:name(-6: Create a 6/6 Wurm for each land) foreach(land|mybattlefield) token(Wurm,Creature Wurm,6/6,green) text=+1: Put a 3/3 green Beast creature token onto the battlefield. -- -3: Draw cards equal to the greatest power among creatures you control. -- -6: Put a 6/6 green Wurm creature token onto the battlefield for each land you control. @@ -957,7 +956,7 @@ backside=Garruk, the Veil-Cursed auto=counter(0/0,3,loyalty) auto=this(counter{0/0.1.loyalty}<3) flip(backside) auto={0}:name(+0: Garruk fights a creature) target(creature) dynamicability && damage:3 -auto={0}:name(+0: Create a 2/2 Wolf) token(Wolf,Creature Wolf,2/2,green) +auto={0}:name(+0: Create a 2/2 Wolf) _WOLFTOKEN_ text=When Garruk Relentless has two or fewer loyalty counters on him, transform him. -- 0: Garruk Relentless deals 3 damage to target creature. That creature deals damage equal to its power to him. -- 0: Put a 2/2 green Wolf creature token onto the battlefield. // Garruk, the Veil-Cursed mana={3}{G} type=Legendary Planeswalker @@ -1026,7 +1025,7 @@ subtype=Garruk name=Garruk Wildspeaker auto=counter(0/0,3,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: untap two lands) untap target(<2>land) -auto={C(0/0,-1,Loyalty)}:name(-1: Create a 3/3 beast) token(Beast,Creature Beast,3/3,green) +auto={C(0/0,-1,Loyalty)}:name(-1: Create a 3/3 beast) _BEASTTOKEN_ auto={C(0/0,-4,Loyalty)}:name(-4: Creatures gets +3/+3 and trample) all(creature|mybattlefield) 3/3 ueot && all(creature|mybattlefield) trample ueot text=+1: Untap two target lands. -- -1: Put a 3/3 green Beast creature token onto the battlefield. -- -4: Creatures you control get +3/+3 and gain trample until end of turn. mana={2}{G}{G} @@ -1608,7 +1607,7 @@ auto=counter(0/0,3,Loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Creatures gain deathtouch) all(creature|mybattlefield) transforms((,newability[deathtouch])) ueot auto={C(0/0,1,Loyalty)}:name(+1: Creatures gain deathtouch and put counter) target(creature[token]|mybattlefield) counter(1/1) && all(creature|mybattlefield) transforms((,newability[deathtouch])) ueot auto={C(0/0,-2,Loyalty)}:name(-2: Double the tokens) transforms((,newability[@tokencreated(*|myBattlefield):name(Double the token) all(trigger) clone options(notrigger)])) ueot -auto={C(0/0,-6,Loyalty)}:name(-6: Exile cards) all(*|graveyard) moveto(exile) and!( token(Spirit,Creature Spirit,1/1,white,flying) )! +auto={C(0/0,-6,Loyalty)}:name(-6: Exile cards) all(*|graveyard) moveto(exile) and!( _SPIRITTOKEN_ )! text=+1: Creatures you control gain deathtouch until end of turn. Put a +1/+1 counter on up to one target creature token you control. -- -2: Until end of turn, if one or more tokens would be created under your control, twice that many of those tokens are created instead. -- -6: Exile all cards from all graveyards, then create a 1/1 white Spirit creature token with flying for each card exiled this way. mana={1}{W}{B} type=Legendary Planeswalker @@ -1717,7 +1716,7 @@ subtype=Liliana [card] name=Liliana, Death's Majesty auto=counter(0/0,5,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Mils two cards and create a 2/2 Zombie) deplete:2 controller && token(Zombie,creature Zombie,2/2,black) +auto={C(0/0,1,Loyalty)}:name(+1: Mils two cards and create a 2/2 Zombie) deplete:2 controller && _ZOMBIETOKEN_ auto={C(0/0,-3,Loyalty)}:name(-3: Return a creature from your graveyard) moveTo(myBattlefield) target(creature|myGraveyard) and!(transforms((Zombie,newcolors[black])) forever)! auto={C(0/0,-7,Loyalty)}:name(-7: Destroy all non-zombies) destroy all(creature[-zombie]) text=+1: Create a 2/2 black Zombie creature token. Put the top two cards of your library into your graveyard. -- -3: Return target creature card from your graveyard to the battlefield. That creature is a black Zombie in addition to its other colors and types. -- -7: Destroy all non-Zombie creatures. @@ -2480,7 +2479,7 @@ subtype=Sarkhan name=Sarkhan, Fireblood auto=counter(0/0,3,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Discard and draw) ability$!may reject notatarget(*|myhand) and!(draw:1)! !$ controller -auto={C(0/0,1,Loyalty)}:name(+1: Add two mana in any combination of colors) if type(dragon|myhand,mycommandzone)~morethan~0 then thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller +auto={C(0/0,1,Loyalty)}:name(+1: Add two mana in any combination of colors) if type(dragon|mycastingzone)~morethan~0 then thisforeach(variable{2}) ability$!name(add mana) choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W}!$ controller auto={C(0/0,-7,Loyalty)}:name(-7: Create four 5/5 Dragons) token(Dragon,Creature Dragon,5/5,red,flying)*4 text=+1: You may discard a card. If you do, draw a card. -- +1: Add two mana in any combination of colors. Spend this mana only to cast Dragon spells. -- −7: Create four 5/5 red Dragon creature tokens with flying. mana={1}{R}{R}