From 7e2162bcc3eb69db8c3adbe043bde3fd70309fc7 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Sun, 25 Jul 2021 13:54:21 -0500 Subject: [PATCH] Replacing for macros _DIES_ Replacing the string "@movedto(this|graveyard) from(battlefield):" for the macros _DIES_ for readability, consistency and bugs reduction. --- .../mtg/bin/Res/sets/primitives/_macros.txt | 2 +- .../bin/Res/sets/primitives/borderline.txt | 212 ++++----- projects/mtg/bin/Res/sets/primitives/mtg.txt | 414 +++++++++--------- 3 files changed, 314 insertions(+), 314 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 1f7fdacf2..688fbdbf5 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -13,7 +13,7 @@ #AUTO_DEFINE __BASIC_LANDCYCLING__($cost) $cost{cycle}:name(basic landcycling) moveTo(myhand) target(land[basic]|mylibrary) # Dies, Evergreen -#AUTO_DEFINE _DIES_ @movedTo(this|mygraveyard) from(battlefield): +#AUTO_DEFINE _DIES_ @movedTo(this|graveyard) from(battlefield): # Scry, Evergreen #AUTO_DEFINE _SCRY_($c) scry:$c scrycore delayed dontshow donothing scrycoreend scryend diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 2cfeb5961..a70bf4aa0 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -123,7 +123,7 @@ type=Instant [/card] [card] name=Abu Ja'far -auto=@movedto(this|graveyard) from(battlefield):bury all(creature[blocking;blocked]) +auto=_DIES_bury all(creature[blocking;blocked]) text=When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can't be regenerated. mana={W} type=Creature @@ -133,7 +133,7 @@ toughness=1 [/card] [card] name=Abu Jafar -auto=@movedto(this|graveyard) from(battlefield):bury all(creature[blocking;blocked]) +auto=_DIES_bury all(creature[blocking;blocked]) text=When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can’t be regenerated. mana={W} type=Creature @@ -1617,7 +1617,7 @@ toughness=7 name=Ancient Stone Idol abilities=flash, trample anyzone=foreach(creature[attacking]|battlefield) changecost(colorless:-1) forcedalive -auto=@movedTo(this|graveyard) from(battlefield):create(construct artifact:creature construct artifact:6/12:colorless:trample) +auto=_DIES_create(construct artifact:creature construct artifact:6/12:colorless:trample) text=Flash -- This spell costs {1} less to cast for each attacking creature. -- Trample -- When Ancient Stone Idol dies, create a 6/12 colorless Construct artifact creature token with trample. mana={10} type=Artifact Creature @@ -2988,7 +2988,7 @@ toughness=3 [/card] [card] name=Arena Rector -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) and! moveTo(myBattlefield) target(planeswalker|myLibrary)! +auto=_DIES_may all(trigger[to]) moveto(exile) and! moveTo(myBattlefield) target(planeswalker|myLibrary)! text=When Arena Rector dies, you may exile it. If you do, search your library for a planeswalker card, put it onto the battlefield, then shuffle your library. mana={3}{W} type=Creature @@ -3527,7 +3527,7 @@ toughness=3 [/card] [card] name=Attendant of Vraska -auto=@movedTo(this|graveyard) from(battlefield):if type(planeswalker[vraska]|myBattlefield)~morethan~0 then life:power +auto=_DIES_if type(planeswalker[vraska]|myBattlefield)~morethan~0 then life:power text=When Attendant of Vraska dies, if you control a Vraska planeswalker, you gain life equal to Attendant of Vraska's power. mana={1}{B}{G} type=Creature @@ -4663,7 +4663,7 @@ toughness=3 [/card] [card] name=Bartered Cow -auto=@movedTo(this|graveyard) from(battlefield):token(-473141) +auto=_DIES_token(-473141) auto=@movedTo(this|mygraveyard) from(myHand):token(-473141) text=When Bartered Cow dies or when you discard it, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") mana={3}{W} @@ -7314,7 +7314,7 @@ type=Legendary Land [card] name=Bottle Golems abilities=trample -auto=@movedto(this|graveyard) from(battlefield):name(Gain life) life:power controller +auto=_DIES_name(Gain life) life:power controller text=Trample -- When Bottle Golems dies, you gain life equal to its power. mana={4} type=Artifact Creature @@ -9235,7 +9235,7 @@ type=Enchantment [card] name=Cavalier of Dawn abilities=vigilance -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(*[artifact;enchantment]|mygraveyard) +auto=_DIES_moveTo(myhand) target(*[artifact;enchantment]|mygraveyard) auto=choice name(Destroy your land) target(*[-land]|mybattlefield) destroy && token(Golem,Artifact Creature Golem,3/3) auto=choice name(Destroy opponent's land) target(*[-land]|opponentbattlefield) destroy && token(Golem,Artifact Creature Golem,3/3) opponent text=Vigilance -- When Cavalier of Dawn enters the battlefield, destroy up to one target nonland permanent. Its controller creates a 3/3 colorless Golem artifact creature token. -- When Cavalier of Dawn dies, return target artifact or enchantment card from your graveyard to your hand. @@ -9249,8 +9249,8 @@ toughness=6 name=Cavalier of Flame auto={1}{R}:all(creature|myBattlefield)) 1/0 && haste ueot auto=target(*|myhand) reject && teach(*) draw:1 controller assorcery -auto=@movedTo(this|graveyard) from(battlefield):damage:type:land:mygraveyard opponent -auto=@movedTo(this|graveyard) from(battlefield):damage:type:land:mygraveyard all(planeswalker|opponentbattlefield) +auto=_DIES_damage:type:land:mygraveyard opponent +auto=_DIES_damage:type:land:mygraveyard all(planeswalker|opponentbattlefield) text={1}{R}: Creatures you control get +1/+0 and gain haste until end of turn. -- When Cavalier of Flame enters the battlefield, discard any number of cards, then draw that many cards. -- When Cavalier of Flame dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. mana={2}{R}{R}{R} type=Creature @@ -9288,7 +9288,7 @@ toughness=5 name=Cavalier of Thorns abilities=reach auto=reveal:5 optionone name(Get land) target(land|reveal) moveto(myhand) optiononeend optiontwo name(put in grave) all(*|reveal) moveto(mygraveyard) optiontwoend revealend -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) && moveto(mylibrary) target(*|mygraveyard) +auto=_DIES_may all(trigger[to]) moveto(exile) && moveto(mylibrary) target(*|mygraveyard) text=Reach -- When Cavalier of Thorns enters the battlefield, reveal the top five cards of your library. Put a land card from among them onto the battlefield and the rest into your graveyard. -- When Cavalier of Thorns dies, you may exile it. If you do, put another target card from your graveyard on top of your library. mana={2}{G}{G}{G} type=Creature @@ -10538,7 +10538,7 @@ type=Instant [card] name=Cinderheart Giant abilities=trample -auto=@movedto(this|graveyard) from(battlefield):ability$!name(Deals 7 damage) name(Deals 7 damage) damage:7 notatarget(creature|mybattlefield)!$ opponent +auto=_DIES_ability$!name(Deals 7 damage) name(Deals 7 damage) damage:7 notatarget(creature|mybattlefield)!$ opponent text=Trample -- When Cinderheart Giant dies, it deals 7 damage to a creature an opponent controls chosen at random. mana={5}{R}{R} type=Creature @@ -10632,7 +10632,7 @@ type=Sorcery name=Citywatch Sphinx abilities=flying aicode=activate transforms((,newability[surveil],newability[all(*[zpos<=psurveiloffsetplus2plusend]|mylibrary) transforms((,newability[if compare(genrand2)~equalto~1 then moveto(mygraveyard)])) oneshot])) oneshot -auto=@movedTo(this|graveyard) from(battlefield):name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend +auto=_DIES_name(Surveil 2) reveal:psurveiloffsetplus2plusend optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(*|reveal) moveto(ownerlibrary) optiontwoend afterrevealed surveil afterrevealedend revealend text=Flying -- When Citywatch Sphinx dies, surveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on the top of your library in any order.) mana={5}{U} type=Creature @@ -11767,7 +11767,7 @@ type=Instant [card] name=Conclave Cavalier abilities=vigilance -auto=@movedTo(this|graveyard) from(battlefield):create(elf knight:creature elf knight:2/2:green,white:vigilance)*2 +auto=_DIES_create(elf knight:creature elf knight:2/2:green,white:vigilance)*2 text=Vigilance -- When Conclave Cavalier dies, create two 2/2 green and white Elf Knight creature tokens with vigilance. mana={G}{G}{W}{W} type=Creature @@ -11789,7 +11789,7 @@ toughness=2 [card] name=Conclave Mentor auto=@counteradded(1/1) from(creature|mybattlefield) except(Conclave Mentor):may counter(1/1) target(creature[counter{1/1.1}]|myBattlefield) -auto=@movedTo(this|graveyard) from(battlefield):life:power controller +auto=_DIES_life:power controller text=If one or more +1/+1 counters would be put on a creature you control, that many plus one +1/+1 counters are put on that creature instead. -- When Conclave Mentor dies, you gain life equal to its power. mana={G}{W} type=Creature @@ -13510,7 +13510,7 @@ toughness=7 [/card] [card] name=Cyclopean Giant -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveto(exile) and!( transforms((swamp)) target(land) )! +auto=_DIES_all(trigger[to]) moveto(exile) and!( transforms((swamp)) target(land) )! text=When Cyclopean Giant dies, target land becomes a Swamp. Exile Cyclopean Giant. mana={2}{B}{B} type=Creature @@ -13724,7 +13724,7 @@ toughness=5 [card] name=Darigaaz Reincarnated abilities=flying, trample, haste -autograveyard=@movedto(this|graveyard) from(battlefield):moveTo(exile) && counter(0/0,3,egg) +autograveyard=_DIES_moveTo(exile) && counter(0/0,3,egg) autoexile=@each my upkeep:counter(0/0,-1,egg) autoexile=@each my upkeep:this(counter{0/0,1,egg}<1)while moveTo(battlefield) text=Flying, trample, haste -- If Darigaaz Reincarnated would die, instead exile it with three egg counters on it. -- At the beginning of your upkeep, if Darigaaz is exiled with an egg counter on it, remove an egg counter from it. Then if Darigaaz has no egg counters on it, return it to the battlefield. @@ -14316,8 +14316,8 @@ type=Enchantment [card] name=Death Tyrant abilities=menace -auto=lord(creature[attacking]|mybattlefield) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Create zombie) token(Zombie Lil)])) -auto=lord(creature[blocking]|opponentbattlefield) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Create zombie) token(Zombie Lil) opponent])) +auto=lord(creature[attacking]|mybattlefield) transforms((,newability[_DIES_name(Create zombie) token(Zombie Lil)])) +auto=lord(creature[blocking]|opponentbattlefield) transforms((,newability[_DIES_name(Create zombie) token(Zombie Lil) opponent])) autograveyard={5}{B}:name(Return to battlefield) moveto(mybattlefield) and!( tap(novent) )! text=Menace -- Negative Energy Cone — Whenever an attacking creature you control or a blocking creature an opponent controls dies, create a 2/2 black Zombie creature token. -- {5}{B}: Return Death Tyrant from your graveyard to the battlefield tapped. mana={4}{B} @@ -14367,7 +14367,7 @@ toughness=2 [/card] [card] name=Deathbloom Thallid -auto=@movedTo(this|graveyard) from(battlefield):create(saproling:creature saproling:1/1:green:) +auto=_DIES_create(saproling:creature saproling:1/1:green:) text=When Deathbloom Thallid dies, create a 1/1 green Saproling creature token. mana={2}{B} type=Creature @@ -14440,7 +14440,7 @@ type=Instant [/card] [card] name=Debtors' Transport -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying)*2 +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2 text=Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.) mana={5}{B} type=Creature @@ -15481,8 +15481,8 @@ toughness=1 [card] name=Diabolic Servitude auto=moveTo(myBattlefield) target(creature|mygraveyard) -auto=soulbond @movedto(this|graveyard) from(battlefield):moveto(exile) && all(this) transforms((,newability[moveTo(ownerhand)])) -auto=soulbond @movedto(this|graveyard) from(battlefield):moveto(exile) +auto=soulbond _DIES_moveto(exile) && all(this) transforms((,newability[moveTo(ownerhand)])) +auto=soulbond _DIES_moveto(exile) text={B}{B}, Pay 2 life, Sacrifice a Swamp: Return target creature card from your graveyard to the battlefield. mana={3}{B} type=Enchantment @@ -15490,7 +15490,7 @@ type=Enchantment [card] name=Diabolical Salvation abilities=split second -auto=token(Devil,Creature Devil,4/4,red,unreath) with((,newability ((@movedto(this|graveyard) from(battlefield):token(Treasure,Artifact Treasure) and!( transforms((,newability[{T}{S}:Add{W}])(,newability[{T}{S}:Add{R}])(,newability[{T}{S}:Add{G}])(,newability[{T}{S}:Add{U}])(,newability[{T}{S}:Add{B}])) forever )!)) +auto=token(Devil,Creature Devil,4/4,red,unreath) with((,newability ((_DIES_token(Treasure,Artifact Treasure) and!( transforms((,newability[{T}{S}:Add{W}])(,newability[{T}{S}:Add{R}])(,newability[{T}{S}:Add{G}])(,newability[{T}{S}:Add{U}])(,newability[{T}{S}:Add{B}])) forever )!)) text=Split second Create four 4/4 red Devil creature tokens with haste and “When this creature dies, create a colorless Treasure artifact token with ‘{T}, Sacrifice this artifact: Add one mana of any color.’” Sacrifice the Devil tokens at the beginning of the next end step. mana={2}{R}{R}{R}{R} type=Instant @@ -15731,7 +15731,7 @@ toughness=1 [/card] [card] name=Dire Fleet Hoarder -auto=@movedTo(this|graveyard) from(battlefield):token(435451) +auto=_DIES_token(435451) text=When Dire Fleet Hoarder dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={1}{B} type=Creature @@ -16288,7 +16288,7 @@ toughness=1 [/card] [card] name=Doomed Dissenter -auto=@movedTo(this|graveyard) from(battlefield):token(Zombie,creature Zombie,2/2,black) +auto=_DIES_token(Zombie,creature Zombie,2/2,black) text=When Doomed Dissenter dies, create a 2/2 black Zombie creature token. mana={1}{B} type=Creature @@ -20196,7 +20196,7 @@ type=Sorcery [/card] [card] name=Exquisite Huntmaster -auto=@movedTo(this|graveyard) from(battlefield):token(Elf Warrior,Creature Elf Warrior,1/1,green) +auto=_DIES_token(Elf Warrior,Creature Elf Warrior,1/1,green) autograveyard={4}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery text=When Exquisite Huntmaster dies, create a 1/1 green Elf Warrior creature token. -- Encore {4}{B} ({4}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) mana={3}{B} @@ -20274,8 +20274,8 @@ type=Legendary Artifact [/card] [card] name=Eyeblight Cullers -auto=@movedTo(this|graveyard) from(battlefield):token(Elf Warrior,Creature Elf Warrior,1/1,green)*3 -auto=@movedTo(this|graveyard) from(battlefield):deplete:3 controller +auto=_DIES_token(Elf Warrior,Creature Elf Warrior,1/1,green)*3 +auto=_DIES_deplete:3 controller text=When Eyeblight Cullers dies, create three 1/1 green Elf Warrior creature tokens, then mill three cards. (Put the top three cards of your library into your graveyard.) mana={4}{B} type=Creature @@ -21221,7 +21221,7 @@ toughness=2 [/card] [card] name=Feral Prowler -auto=@movedTo(this|graveyard) from(battlefield):draw:1 +auto=_DIES_draw:1 text=When Feral Prowler dies, draw a card. mana={1}{G} type=Creature @@ -21333,7 +21333,7 @@ type=Sorcery [/card] [card] name=Festering Mummy -auto=@movedTo(this|graveyard) from(battlefield):may target(creature) counter(-1/-1,1) +auto=_DIES_may target(creature) counter(-1/-1,1) text=When Festering Mummy dies, you may put a -1/-1 counter on target creature. mana={B} type=Creature @@ -22348,7 +22348,7 @@ type=Sorcery [card] name=Flameskull abilities=cantblock,flying -auto=@movedto(this|graveyard) from(battlefield):name(Rejuvenation) transforms((,newability[all(creature[-token;fresh:zpos=type:*:mygraveyard]|mygraveyard) moveto(exile) and!( transforms((,newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[counter(0/0.1.FlameskullExiled)],newability[all(*[zpos=1]|mylibrary) moveTo(myexile) and!( transforms((,newability[counter(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~equalto~0}:-canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~morethan~0}:canplayfromexile],newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mystack) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mybattlefield) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)])) forever )!])) forever )!])) forever +auto=_DIES_name(Rejuvenation) transforms((,newability[all(creature[-token;fresh:zpos=type:*:mygraveyard]|mygraveyard) moveto(exile) and!( transforms((,newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[counter(0/0.1.FlameskullExiled)],newability[all(*[zpos=1]|mylibrary) moveTo(myexile) and!( transforms((,newability[counter(0/0.1.FlameskullExiled)],newability[this(counter{0/0.1.FlameskullExiled}>0) canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~equalto~0}:-canplayfromexile],newability[@each untap restriction{compare(hascntflameskullexiled)~morethan~0}:canplayfromexile],newability[phaseaction[my endofturn once next checkex] removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mystack) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)],newability[@movedto(this|mybattlefield) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) removeallcounters(0/0.1.FlameskullExiled)])) forever )!])) forever )!])) forever autoexile=@movedto(*[counter{0/0.1.FlameskullExiled}]|mystack) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) transforms((,newability[removeallcounters(0/0.1.FlameskullExiled)],newability[-canplayfromexile])) oneshot autoexile=@movedto(land[counter{0/0.1.FlameskullExiled}]|mybattlefield) from(myexile) restriction{compare(hascntflameskullexiled)~morethan~0}:all(*[counter{0/0.1.FlameskullExiled}]|myexile) transforms((,newability[removeallcounters(0/0.1.FlameskullExiled)],newability[-canplayfromexile])) oneshot text=Flying -- Flameskull can’t block. -- Rejuvenation — When Flameskull dies, exile it. If you do, exile the top card of your library. Until the end of your next turn, you may play one of those cards. (If you cast Flameskull this way, you can’t play the other card, and vice versa.) @@ -22685,7 +22685,7 @@ subtype=Aura [/card] [card] name=Footlight Fiend -auto=@movedTo(this|graveyard) from(battlefield):damage:1 target(player,creature,planeswalker) +auto=_DIES_damage:1 target(player,creature,planeswalker) text=When Footlight Fiend dies, it deals 1 damage to any target. mana={BR} type=Creature @@ -23799,7 +23799,7 @@ type=Instant [/card] [card] name=Gang of Devils -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller +auto=_DIES_thisforeach(variable{3}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(player,creature,planeswalker) damage:1!$ controller text=When Gang of Devils dies, it deals 3 damage divided as you choose among one, two, or three target creatures and/or players. mana={5}{R} type=Creature @@ -23902,7 +23902,7 @@ toughness=3 [/card] [card] name=Garrison Cat -auto=@movedto(this|graveyard) from(battlefield):token(Human Soldier Gar) +auto=_DIES_token(Human Soldier Gar) text=When Garrison Cat dies, create a 1/1 white Human Soldier creature token. mana={W} type=Creature @@ -24346,7 +24346,7 @@ type=Sorcery [card] name=Gerrard, Weatherlight Hero abilities=first strike -auto=@movedTo(this|graveyard) from(battlefield):moveto(exile) && moveTo(myBattlefield) all(creature[fresh]|graveyard) && moveTo(myBattlefield) all(artifact[fresh]|graveyard) +auto=_DIES_moveto(exile) && moveTo(myBattlefield) all(creature[fresh]|graveyard) && moveTo(myBattlefield) all(artifact[fresh]|graveyard) text=First strike -- When Gerrard, Weatherlight Hero dies, exile it and return to the battlefield all artifact and creature cards in your graveyard that were put there from the battlefield this turn. mana={2}{R}{W} type=Legendary Creature @@ -25109,7 +25109,7 @@ type=Land [card] name=Gleaming Barrier abilities=defender -auto=@movedTo(this|graveyard) from(battlefield):token(Treasure Sur) +auto=_DIES_token(Treasure Sur) text=Defender -- When Gleaming Barrier dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact Creature @@ -27621,7 +27621,7 @@ name=Haakon, Stromgald Scourge autograveyard={1}{B}{B}:activate castcard(normal) restriction=never auto=lord(knight|mygraveyard) canPlayFromGraveyard -auto=@movedTo(this|graveyard) from(battlefield):life:-2 controller +auto=_DIES_life:-2 controller text=You may cast Haakon, Stromgald Scourge from your graveyard, but not from anywhere else. -- As long as Haakon is on the battlefield, you may play Knight cards from your graveyard. -- When Haakon dies, you lose 2 life. mana={1}{B}{B} type=Legendary Creature @@ -30093,7 +30093,7 @@ toughness=5 [/card] [card] name=Hunted Witness -auto=@movedTo(this|graveyard) from(battlefield):create(soldier:creature soldier:1/1:white:lifelink) +auto=_DIES_create(soldier:creature soldier:1/1:white:lifelink) text=When Hunted Witness dies, create a 1/1 white Soldier creature token with lifelink. mana={W} type=Creature @@ -30379,7 +30379,7 @@ color=white [card] name=Icingdeath, Frost Tyrant abilities=vigilance,flying -auto=@movedto(this|graveyard) from(battlefield):name(Icingdeath, Frost Tongue) activate castcard(copied named!:icingdeath, frost tongue:!) +auto=_DIES_name(Icingdeath, Frost Tongue) activate castcard(copied named!:icingdeath, frost tongue:!) text=Flying, vigilance -- When Icingdeath, Frost Tyrant dies, create Icingdeath, Frost Tongue, a legendary white Equipment artifact token with "Equipped creature gets +2/+0", "Whenever equipped creature attacks, tap target creature defending player controls" and equip {2}. mana={2}{W}{W} type=Legendary Creature @@ -30848,7 +30848,7 @@ toughness=3 [card] name=Immortal Phoenix abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveto(ownerhand) +auto=_DIES_all(trigger[to]) moveto(ownerhand) text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Immortal Phoenix dies, return it to its owner's hand. mana={4}{R}{R} type=Creature @@ -30957,7 +30957,7 @@ toughness=5 [card] name=Imperious Oligarch abilities=vigilance -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying) +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying) text=Vigilance -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.) mana={W}{B} type=Creature @@ -31048,7 +31048,7 @@ type=Sorcery [/card] [card] name=Impulsive Pilferer -auto=@movedTo(this|graveyard) from(battlefield):token(Treasure Sur) +auto=_DIES_token(Treasure Sur) autograveyard={3}{R}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery text=When Impulsive Pilferer dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Encore {3}{R} ({3}{R}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) mana={R} @@ -31605,8 +31605,8 @@ toughness=1 [/card] [card] name=Initiate of Blood -auto={T}:name(damage my creature) target(creature[damaged]|mybattlefield) transforms((,newability[damage:1 all(this)],newability[@movedto(this|graveyard) from(battlefield):notatarget(Initiate of Blood|mybattlefield) flip(Goka the Unjust)])) ueot -auto={T}:name(damage opponent's creature) target(creature[damaged]|opponentbattlefield) transforms((,newability[damage:1 all(this)],newability[@movedto(this|graveyard) from(battlefield):notatarget(Initiate of Blood|opponentbattlefield) flip(Goka the Unjust)])) ueot +auto={T}:name(damage my creature) target(creature[damaged]|mybattlefield) transforms((,newability[damage:1 all(this)],newability[_DIES_notatarget(Initiate of Blood|mybattlefield) flip(Goka the Unjust)])) ueot +auto={T}:name(damage opponent's creature) target(creature[damaged]|opponentbattlefield) transforms((,newability[damage:1 all(this)],newability[_DIES_notatarget(Initiate of Blood|opponentbattlefield) flip(Goka the Unjust)])) ueot text={T}: Initiate of Blood deals 1 damage to target creature that was dealt damage this turn. When that creature dies this turn, flip Initiate of Blood. mana={3}{R} type=Creature @@ -32826,7 +32826,7 @@ type=Artifact [card] name=Jewel-Eyed Cobra abilities=deathtouch -auto=@movedto(this|graveyard) from(battlefield):name(Create Treasure) token(Treasure Sur) +auto=_DIES_name(Create Treasure) token(Treasure Sur) text=Deathtouch -- When Jewel-Eyed Cobra dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{G} type=Creature @@ -33160,7 +33160,7 @@ toughness=6 [card] name=Juri, Master of the Revue auto=@sacrificed(*|mybattlefield):counter(1/1) all(this) -auto=@movedTo(this|graveyard) from(Battlefield):damage:power target(player,creature,planeswalker) +auto=_DIES_damage:power target(player,creature,planeswalker) text=Whenever you sacrifice a permanent, put a +1/+1 counter on Juri, Master of the Revue. -- When Juri dies, it deals damage equal to its power to any target. mana={B}{R} type=Legendary Creature @@ -33947,7 +33947,7 @@ toughness=3 name=Kelsien, the Plague abilities=Vigilance,haste anyzone=type:alterexperience:nonbattlezone/type:alterexperience:nonbattlezone cdaactive -auto={T}:damage:1 target(creature|opponentBattlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):alterexperience:1 controller +auto={T}:damage:1 target(creature|opponentBattlefield) transforms((,newability[_DIES_alterexperience:1 controller text=Vigilance, haste -- Kelsien, the Plague gets +1/+1 for each experience counter you have. -- {T}: Kelsien deals 1 damage to target creature you don’t control. When that creature dies this turn, you get an experience counter. mana={R}{W}{B} type=Legendary Creature @@ -34651,7 +34651,7 @@ toughness=3 [/card] [card] name=Knight of Sorrows -auto=@movedTo(this|graveyard) from(battlefield):token(Spirit,Creature Spirit,1/1,white,black,flying) +auto=_DIES_token(Spirit,Creature Spirit,1/1,white,black,flying) text=Knight of Sorrows can block an additional creature each combat. -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.) mana={4}{W} type=Creature @@ -34694,7 +34694,7 @@ toughness=2 name=Knight of the Last Breath abilities=flying auto={3}{S(other creature[-token]|mybattlefield)}:create(Spirit:creature Spirit:1/1:white,black:flying) -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying) +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying) text={3}, Sacrifice another nontoken creature: Create a 1/1 white and black Spirit creature token with flying. -- Afterlife 3 (When this creature dies, create three 1/1 white and black Spirit creature tokens with flying.) mana={5}{W}{B} type=Creature @@ -34869,7 +34869,7 @@ toughness=4 [card] name=Koma's Faithful abilities=lifelink -auto=@movedto(this|graveyard) from(battlefield):deplete:3 opponent && deplete:3 controller +auto=_DIES_deplete:3 opponent && deplete:3 controller text=Lifelink -- When Koma’s Faithful dies, each player mills three cards. (To mill a card, a player puts the top card of their library into their graveyard.) mana={2}{B} type=Creature @@ -36137,7 +36137,7 @@ toughness=4 [/card] [card] name=Leonin of the Lost Pride -auto=@movedto(this|graveyard) from(battlefield):MoveTo(exile) target(*|opponentGraveyard) +auto=_DIES_MoveTo(exile) target(*|opponentGraveyard) text=When Leonin of the Lost Pride dies, exile target card from an opponent’s graveyard. mana={1}{W} type=Creature @@ -36318,7 +36318,7 @@ abilities=cantlifelose auto=lifeset:0 controller auto=@lifeof(player):draw:thatmuch controller && life:-thatmuch controller auto=@damageof(player):if type(creature[-token]|mybattlefield)~lessthan~thatmuch then winGame opponent else sacrifice target(creature[-token]|mybattlefield) -auto=@movedto(this|graveyard) from(battlefield):winGame opponent +auto=_DIES_winGame opponent text=As Lich enters the battlefield, you lose life equal to your life total. -- You don't lose the game for having 0 or less life. -- If you would gain life, draw that many cards instead. -- Whenever you're dealt damage, sacrifice that many nontoken permanents. If you can't, you lose the game. -- When Lich is put into a graveyard from the battlefield, you lose the game. mana={B}{B}{B}{B} type=Enchantment @@ -36421,7 +36421,7 @@ subtype=Aura name=Light of the Legion abilities=flying,mentor auto=@combat(attacking) source(this):name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot -auto=@movedTo(this|graveyard) from(battlefield):counter(1/1)(creature[white]|myBattlefield) +auto=_DIES_counter(1/1)(creature[white]|myBattlefield) text=Flying -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- When Light of the Legion dies, put a +1/+1 counter on each white creature you control. mana={4}{W}{W} type=Creature @@ -36896,7 +36896,7 @@ toughness=5 [/card] [card] name=Living Lightning -auto=@movedTo(this|graveyard) from(battlefield):moveto(myhand) target(*[instant;sorcery]|mygraveyard) +auto=_DIES_moveto(myhand) target(*[instant;sorcery]|mygraveyard) text=When Living Lightning dies, return target instant or sorcery card from your graveyard to your hand. mana={3}{R} type=Creature @@ -36995,7 +36995,7 @@ toughness=6 [card] name=Loathsome Catoblepas auto={2}{G}:transforms((,newability[@combat(attacking) source(this):all(creature|opponentbattlefield) mustblock ueot])) ueot -auto=@movedTo(this|graveyard) from(battlefield):target(creature|opponentbattlefield) -3/-3 ueot +auto=_DIES_target(creature|opponentbattlefield) -3/-3 ueot text={2}{G}: Loathsome Catoblepas must be blocked this turn if able. -- When Loathsome Catoblepas dies, target creature an opponent controls gets -3/-3 until end of turn. mana={5}{B} type=Creature @@ -38644,7 +38644,7 @@ subtype=Aura [/card] [card] name=Martyr for the Cause -auto=@movedto(this|graveyard) from(battlefield):_PROLIFERATE_ +auto=_DIES__PROLIFERATE_ text=When Martyr for the Cause dies, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) mana={1}{W} type=Creature @@ -38676,7 +38676,7 @@ toughness=1 [card] name=Martyr of Dusk abilities=lifelink -auto=@movedTo(this|graveyard) from(battlefield):token(Vampire,creature Vampire,1/1,white,lifelink) +auto=_DIES_token(Vampire,creature Vampire,1/1,white,lifelink) text=When Martyr of Dusk dies, create a 1/1 white Vampire creature token with lifelink. mana={1}{W} type=Creature @@ -38734,7 +38734,7 @@ toughness=1 [/card] [card] name=Martyr's Bond -auto=@movedto(this|graveyard) from(battlefield):ability$!sacrifice notatarget(enchantment|mybattlefield)!$ opponent +auto=_DIES_ability$!sacrifice notatarget(enchantment|mybattlefield)!$ opponent auto=@movedto(*[-land]|graveyard) from(battlefield):ability$!sacrifice notatarget(*[-land,share!types!]|mybattlefield)!$ opponent text=Whenever Martyr’s Bond or another nonland permanent you control is put into a graveyard from the battlefield, each opponent sacrifices a permanent that shares a card type with it. mana={4}{W}{W} @@ -39822,7 +39822,7 @@ subtype=Aura [/card] [card] name=Ministrant of Obligation -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying)*2 +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2 text=Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.) mana={2}{W} type=Creature @@ -40837,7 +40837,7 @@ other={1}{B}{B} name(Adventure) autostack=if paid(alternative) then name(Destroy creature or planeswalker) name(Destroy creature or planeswalker) target(creature,planeswalker) destroy autostack=if paid(alternative) then name(You loose 2 life) name(You loose 2 life) life:-2 controller autostack=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever -auto=@movedTo(this|graveyard) from(battlefield):name(Put on the bottom of library) all(trigger[to]) bottomoflibrary +auto=_DIES_name(Put on the bottom of library) all(trigger[to]) bottomoflibrary text=Lifelink -- When Murderous Rider dies, put it on the bottom of its owner's library. // Destroy target creature or planeswalker. You lose 2 life. (Then exile this card. You may cast the creature later from exile.) mana={1}{B}{B} type=Creature @@ -41818,7 +41818,7 @@ type=Enchantment [/card] [card] name=Nested Shambler -auto=@movedTo(this|graveyard) from(battlefield):token(Squirrel,Creature Squirrel,1/1,green)*power and!( tap(noevent) )! +auto=_DIES_token(Squirrel,Creature Squirrel,1/1,green)*power and!( tap(noevent) )! text=When Nested Shambler dies, create X tapped 1/1 green Squirrel creature tokens, where X is Nested Shambler's power. mana={B} type=Creature @@ -41951,7 +41951,7 @@ toughness=0 name=Nevinyrral, Urborg Tyrant auto=cantbetargetof(*[artifact;creature;enchantment]) auto=foreach(creature[fresh]|graveyard) token(Zombie,Creature Zombie,2/2,black) and!( tap(noevent) )! -auto=@movedto(this|graveyard) from(battlefield):pay({1}) name(destroy all artifacts, creatures, and enchantments) destroy all(artifact,creature,enchantment) +auto=_DIES_pay({1}) name(destroy all artifacts, creatures, and enchantments) destroy all(artifact,creature,enchantment) text=Hexproof from artifacts, creatures, and enchantments -- When Nevinyrral, Urborg Tyrant enters the battlefield, create a tapped 2/2 black Zombie creature token for each creature that died this turn. -- When Nevinyrral dies, you may pay {1} . When you do, destroy all artifacts, creatures, and enchantments. mana={3}{W}{U}{B} type=Legendary Creature @@ -42545,7 +42545,7 @@ type=Instant [/card] [card] name=Noble Benefactor -auto=@movedTo(this|graveyard) from(battlefield):name(fetch) transforms((,newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ controller],newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ opponent])) oneshot +auto=_DIES_name(fetch) transforms((,newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ controller],newability[ability$! moveto(ownerhand) notatarget(<1>*|mylibrary) !$ opponent])) oneshot text=When Noble Benefactor dies, each player may search his or her library for a card and put that card into his or her hand. Then each player who searched his or her library this way shuffles it. mana={2}{U} type=Creature @@ -42556,7 +42556,7 @@ toughness=2 [card] name=Nocturnal Feeder abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):life:-2 opponent && life:2 controller +auto=_DIES_life:-2 opponent && life:2 controller text=Flying -- When Nocturnal Feeder dies, each opponent loses 2 life and you gain 2 life. mana={2}{B} type=Creature @@ -43901,7 +43901,7 @@ toughness=2 name=Orcish Hellraiser auto=counter(0/0,1,echo) auto=@each my upkeep once:transforms((,newability[counter(0/0.-1.echo)],newability[pay[[{R}]] name(pay red mana) donothing?sacrifice])) forever -auto=@movedTo(this|graveyard) from(battlefield):name(Deals 2 damage) damage:2 target(player,planeswalker) +auto=_DIES_name(Deals 2 damage) damage:2 target(player,planeswalker) text=Echo {R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.) -- When Orcish Hellraiser dies, it deals 2 damage to target player or planeswalker. mana={1}{R} type=Creature @@ -44168,7 +44168,7 @@ type=Instant [card] name=Orzhov Enforcer abilities=deathtouch -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying) +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying) text=Deathtouch -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.) mana={1}{B} type=Creature @@ -44188,7 +44188,7 @@ type=Artifact [card] name=Orzhov Racketeers auto=@combatdamaged(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying)*2 +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2 text=Whenever Orzhov Racketeers deals combat damage to a player, that player discards a card. -- Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.) mana={4}{B} type=Creature @@ -44645,7 +44645,7 @@ subtype=Class [card] name=Paladin of Atonement auto=@each upkeep restriction{lastturn(life)~morethan~0}:counter(1/1,1) -auto=@movedTo(this|graveyard) from(battlefield):dynamicability +auto=_DIES_dynamicability text=At the beginning of each upkeep, if you lost life last turn, put a +1/+1 counter on Paladin of Atonement. -- When Paladin of Atonement dies, you gain life equal to its toughness. mana={1}{W} type=Creature @@ -45601,7 +45601,7 @@ type=Artifact [/card] [card] name=Phyrexian Triniform -auto=@movedTo(this|graveyard) from(battlefield):token(Golem,Creature Artifact Golem,3/3)*3 +auto=_DIES_token(Golem,Creature Artifact Golem,3/3)*3 autograveyard={12}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery text=When Phyrexian Triniform dies, create three 3/3 colorless Golem artifact creature tokens. -- Encore {12} ({12}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) mana={9} @@ -45808,7 +45808,7 @@ type=Sorcery name=Piru, the Volatile abilities=flying,lifelink auto=upcost[{R}{W}{B}] sacrifice -auto=@movedto(this|graveyard) from(battlefield):name(Deals 7 damage) damage:7 all(creature[-legendary]) +auto=_DIES_name(Deals 7 damage) damage:7 all(creature[-legendary]) text=Flying, lifelink -- At the beginning of your upkeep, sacrifice Piru, the Volatile unless you pay {R}{W}{B}. -- When Piru dies, it deals 7 damage to each nonlegendary creature. mana={2}{R}{R}{W}{W}{B}{B} type=Legendary Creature @@ -47085,7 +47085,7 @@ toughness=4 [card] name=Protean Hulk aicode=activate moveTo(myBattlefield) target(creature[manacost<=6]|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):name(Search any number of creatures with casting cost 6 or less) reveal:plibrarycount optionone name(Choose card) target(creature[manacost<=6]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put them back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend +auto=_DIES_name(Search any number of creatures with casting cost 6 or less) reveal:plibrarycount optionone name(Choose card) target(creature[manacost<=6]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put them back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend text=When Protean Hulk dies, search your library for any number of creature cards with total converted mana cost 6 or less, put them onto the battlefield, then suffle your library. mana={5}{G}{G} type=Creature @@ -47419,7 +47419,7 @@ toughness=7 [/card] [card] name=Purple-Crystal Crab -auto=@movedTo(this|graveyard) from(battlefield): draw:1 +auto=_DIES_ draw:1 text=When Purple-Crystal Crab dies, draw a card. mana={1}{U} type=Creature @@ -49437,7 +49437,7 @@ type=Sorcery [card] name=Reincarnation target=creature -auto=transforms(,newability[@movedTo(this|graveyard) from(battlefield):target(creature|ownergraveyard) moveto(ownerbattlefield)])) ueot +auto=transforms(,newability[_DIES_target(creature|ownergraveyard) moveto(ownerbattlefield)])) ueot text=Choose target creature. When that creature dies this turn, return a creature card from its owner's graveyard to the battlefield under the control of that creature's owner. mana={1}{G}{G} type=Instant @@ -49502,8 +49502,8 @@ type=Sorcery [/card] [card] name=Relentless Dead -autograveyard=@movedTo(this|graveyard) from(battlefield):name(return relentless dead) pay({B}) moveTo(hand) -auto=@movedTo(this|graveyard) from(battlefield):choice name(rturn cost X) pay({1}) moveTo(battlefield) target(other zombie|mygraveyard) +autograveyard=_DIES_name(return relentless dead) pay({B}) moveTo(hand) +auto=_DIES_choice name(rturn cost X) pay({1}) moveTo(battlefield) target(other zombie|mygraveyard) text=Menace (This creature can't be blocked except by two or more creatures.) -- When Relentless Dead dies, you may pay {B}. If you do, return it to its owner's hand. -- When Relentless Dead dies, you may pay {X}. If you do, return another target Zombie creature card with converted mana cost X from your graveyard to the battlefield. mana={B}{B} abilities=menace @@ -51076,7 +51076,7 @@ type=Sorcery name=Roalesk, Apex Hybrid abilities=flying,trample auto=counter(1/1,2) target(other creature|myBattlefield) -auto=@movedto(this|graveyard) from(battlefield):name(Proliferate) notatarget(*[artifact;creature;enchantment;land;planeswalker;player]) transforms((,newability[duplicatecounters(single)],newability[duplicatecounters(single)])) oneshot +auto=_DIES_name(Proliferate) notatarget(*[artifact;creature;enchantment;land;planeswalker;player]) transforms((,newability[duplicatecounters(single)],newability[duplicatecounters(single)])) oneshot text=Flying, trample -- When Roalesk, Apex Hybrid enters the battlefield, put two +1/+1 counters on another target creature you control. -- When Roalesk dies, proliferate, then proliferate again. (Choose any number of permanents and/or players, then give each another counter of each kind already there. Then do it again.) mana={2}{G}{G}{U} type=Legendary Creature @@ -51721,7 +51721,7 @@ toughness=2 [card] name=Ruin Rat abilities=deathtouch -auto=@movedTo(this|graveyard) from(battlefield):target(*|opponentgraveyard) moveTo(exile) +auto=_DIES_target(*|opponentgraveyard) moveTo(exile) text=Deathtouch -- When Ruin Rat dies, exile target card from an opponent's graveyard. mana={1}{B} type=Creature @@ -51731,7 +51731,7 @@ toughness=1 [/card] [card] name=Ruination Rioter -auto=@movedTo(this|graveyard) from(battlefield):damage:type:land:mygraveyard target(player,creature,planeswalker) +auto=_DIES_damage:type:land:mygraveyard target(player,creature,planeswalker) text=When Ruination Rioter dies, you may have it deal damage to any target equal to the number of land cards in your graveyard. mana={R}{G} type=Creature @@ -54469,7 +54469,7 @@ name=Seraph of the Scales abilities=flying auto={W}:vigilance auto={B}:deathtouch -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying)*2 +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying)*2 text=Flying -- {W}: Seraph of the Scales gains vigilance until end of turn. -- {B}: Seraph of the Scales gains deathtouch until end of turn. -- Afterlife 2 (When this creature dies, create two 1/1 white and black Spirit creature tokens with flying.) mana={2}{W}{B} type=Creature @@ -54916,7 +54916,7 @@ toughness=3 [/card] [card] name=Shambling Ghast -auto=@movedto(this|graveyard) from(battlefield):name(Choose one) transforms((,newability[if type(creature|opponentbattlefield)~morethan~0 then choice name(Creature gets -1/-1) name(Creature gets -1/-1) target(creature|opponentbattlefield) -1/-1 ueot],newability[choice name(Create treasure) token(Treasure Sur)])) oneshot +auto=_DIES_name(Choose one) transforms((,newability[if type(creature|opponentbattlefield)~morethan~0 then choice name(Creature gets -1/-1) name(Creature gets -1/-1) target(creature|opponentbattlefield) -1/-1 ueot],newability[choice name(Create treasure) token(Treasure Sur)])) oneshot text=When Shambling Ghast dies, choose one — -- • Brave the Stench — Target creature an opponent controls gets -1/-1 until end of turn. -- • Search the Body — Create a Treasure token. (It’s an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={B} type=Creature @@ -54936,9 +54936,9 @@ toughness=3 [/card] [card] name=Shambling Swarm -auto=@movedTo(this|graveyard) from(battlefield):choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot -auto=@movedTo(this|graveyard) from(battlefield):choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot -auto=@movedTo(this|graveyard) from(battlefield):choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot +auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot +auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot +auto=_DIES_choice name(Assign -1/-1 counter) name(Assign -1/-1 counter) target(creature) transforms((,newability[counter(-1/-1) all(this)],newability[phaseaction[endofturn once] counter(-1/-1.-1) all(this)])) oneshot text=When Shambling Swarm dies, distribute three -1/-1 counters among one, two, or three target creatures. For each -1/-1 counter you put on a creature this way, remove a -1/-1 counter from that creature at the beginning of the next end step. mana={1}{B}{B}{B} type=Creature @@ -56084,7 +56084,7 @@ toughness=1 [card] name=Silverback Shaman abilities=trample -auto=@movedTo(this|graveyard) from(battlefield):draw:1 +auto=_DIES_draw:1 text=Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.) -- When Silverback Shaman dies, draw a card. mana={3}{G}{G} type=Creature @@ -58526,7 +58526,7 @@ toughness=3 [/card] [card] name=Sparring Construct -auto=@movedTo(this|graveyard) from(battlefield):counter(1/1) target(creature|myBattlefield) +auto=_DIES_counter(1/1) target(creature|myBattlefield) text=When Sparring Construct dies, put a +1/+1 counter on target creature you control. mana={1} type=Artifact Creature @@ -58611,7 +58611,7 @@ toughness=3 name=Specimen Collector auto=token(Squirrel,Creature Squirrel,1/1,green) auto=token(Crab,Creature Crab,0/3,blue) -auto=@movedTo(this|graveyard) from(battlefield):name(Copy token) clone target(*[token]|mybattlefield) +auto=_DIES_name(Copy token) clone target(*[token]|mybattlefield) text=When Specimen Collector enters the battlefield, create a 1/1 green Squirrel creature token and a 0/3 blue Crab creature token. -- When Specimen Collector dies, create a token that's a copy of target token you control. mana={4}{U} type=Creature @@ -59060,7 +59060,7 @@ toughness=2 [/card] [card] name=Spinal Centipede -auto=@movedTo(this|graveyard) from(battlefield):counter(1/1)target(creature|myBattlefield) +auto=_DIES_counter(1/1)target(creature|myBattlefield) text=When Spinal Centipede dies, put a +1/+1 counter on target creature you control. mana={2}{B} type=Creature @@ -59210,7 +59210,7 @@ subtype=Lesson [/card] [card] name=Spirit of Malevolence -auto=@movedto(this|graveyard) from(battlefield):life:-1 opponent && life:1 controller +auto=_DIES_life:-1 opponent && life:1 controller text=When Spirit of Malevolence dies, each opponent loses 1 life and you gain 1 life. mana={1}{B} type=Creature @@ -60090,7 +60090,7 @@ toughness=3 [card] name=Steadfast Sentry abilities=vigilance -auto=@movedTo(this|graveyard) from(battlefield):counter(1/1) target(creature|myBattlefield) +auto=_DIES_counter(1/1) target(creature|myBattlefield) text=Vigilance (Attacking doesn't cause this creature to tap.) -- When Steadfast Sentry dies, put a +1/+1 counter on target creature you control. mana={2}{W} type=Creature @@ -60573,7 +60573,7 @@ toughness=2 [/card] [card] name=Storm God's Oracle -auto=@movedTo(this|graveyard) from(battlefield):name(Deeals 3 damage) damage:3 target(player,creature,planeswalker) +auto=_DIES_name(Deeals 3 damage) damage:3 target(player,creature,planeswalker) auto={1}:1/-1 ueot text={1}: Storm God's Oracle gets +1/-1 until end of turn. -- When Storm God's Oracle dies, it deals 3 damage to any target. mana={1}{U}{R} @@ -61271,7 +61271,7 @@ type=Sorcery [card] name=Sundering Titan auto=destroy all(land[plains,island,swamp,mountain,forest]) -auto=@movedto(this|graveyard) from(battlefield):destroy all(land[plains,island,swamp,mountain,forest]) +auto=_DIES_destroy all(land[plains,island,swamp,mountain,forest]) text=When Sundering Titan enters the battlefield or leaves the battlefield, choose a land of each basic land type, then destroy those lands. mana={8} type=Artifact Creature @@ -62037,7 +62037,7 @@ toughness=2 [card] name=Syndicate Messenger abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):create(Spirit:creature Spirit:1/1:white,black:flying) +auto=_DIES_create(Spirit:creature Spirit:1/1:white,black:flying) text=Flying -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.) mana={3}{W} type=Creature @@ -62619,7 +62619,7 @@ type=Sorcery [/card] [card] name=Tattered Mummy -auto=@movedTo(this|graveyard) from(battlefield):life:-2 opponent +auto=_DIES_life:-2 opponent text=When Tattered Mummy dies, each opponent loses 2 life. mana={1}{B} type=Creature @@ -63764,7 +63764,7 @@ name=The Locust God abilities=flying, haste auto=@drawn(controller):token(Insect,creature Insect,1/1,red,blue,flying,haste) auto={2}{U}{R}:draw:1 && transforms((,newability[target(*|myhand) reject])) forever -auto=@movedTo(this|graveyard) from(battlefield):phaseaction[endofturn once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot text=Flying -- Whenever you draw a card, create a 1/1 blue and red Insect creature token with flying and haste. -- {2}{U}{R}: Draw a card, then discard a card. -- When The Locust God dies, return it to its owner's hand at the beginning of the next end step. mana={4}{U}{R} type=Legendary Creature @@ -63868,7 +63868,7 @@ aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|m auto={2}{U}{B}:target(creature|graveyard) clone and!( transforms((Zombie,setpower=4,settoughness=4,black)) forever )! && moveTo(exile) auto=@each my upkeep:name(Opponent looses life) foreach(zombie|mybattlefield) life:-1 opponent auto=@each my upkeep:name(Scry cards) scry:type:zombie:mybattlefield scrycore delayed scrycoreend scryend -auto=@movedTo(this|graveyard) from(battlefield):phaseaction[endofturn once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot text=At the beginning of your upkeep, each opponent loses X life and you scry X, where X is the number of Zombies you control. -- {2}{U}{B}: Exile target creature card from a graveyard. Create a token that's a copy of it, except it's a 4/4 black Zombie. -- When The Scarab God dies, return it to its owner's hand at the beginning of the next end step. mana={3}{U}{B} type=Legendary Creature @@ -63880,7 +63880,7 @@ toughness=5 name=The Scorpion God auto=@movedto(graveyard) from(creature[counter{-1/-1}]|battlefield):draw:1 auto={1}{B}{R}:counter(-1/-1,1) target(other creature) -auto=@movedTo(this|graveyard) from(battlefield):phaseaction[endofturn once] moveTo(ownerhand) ueot +auto=_DIES_phaseaction[endofturn once] moveTo(ownerhand) ueot text=Whenever a creature with a -1/-1 counter on it dies, draw a card. -- {1}{B}{R}: Put a -1/-1 counter on another target creature. -- When The Scorpion God dies, return it to its owner's hand at the beginning of the next end step. mana={3}{B}{R} type=Legendary Creature @@ -65120,7 +65120,7 @@ type=Enchantment [card] name=Tithe Taker auto=while(restriction{myturnonly}) lord(*|opponentcastingzone) altercost( colorless,+1) -auto=@movedTo(this|graveyard) from(battlefield):token(Spirit,Creature Spirit,1/1,white,black,flying) +auto=_DIES_token(Spirit,Creature Spirit,1/1,white,black,flying) text=During your turn, spells your opponents cast cost {1} more to cast and abilities your opponents activate cost {1} more to activate unless they're mana abilities. -- Afterlife 1 (When this creature dies, create a 1/1 white and black Spirit creature token with flying.) mana={1}{W} type=Creature @@ -65174,7 +65174,7 @@ toughness=3 [card] name=Together Forever auto=target(other creature|battlefield) counter(1/1) -auto={1}:target(creature[counter{any}]) transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveTo(ownerHand)])) ueot +auto={1}:target(creature[counter{any}]) transforms((,newability[_DIES_all(trigger[to]) moveTo(ownerHand)])) ueot text=When Together Forever enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) -- {1}: Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. mana={W}{W} type=Enchantment @@ -66189,7 +66189,7 @@ toughness=4 [/card] [card] name=Trove Tracker -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller autograveyard={5}{U}{U}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(unearth,haste,mustattack))! asSorcery text=When Trove Tracker dies, draw a card. -- Encore {5}{U}{U} ({5}{U}{U}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) mana={2}{U} @@ -66202,7 +66202,7 @@ toughness=2 name=Trove Warden abilities=vigilance auto=@movedto(land|myBattlefield):moveto(exile) target(*[manacost<=3]|mygraveyard) -auto=@movedTo(this|graveyard) from(battlefield):moveto(ownerbattlefield) target(*[manacost<=3]|myexile) +auto=_DIES_moveto(ownerbattlefield) target(*[manacost<=3]|myexile) text=Vigilance -- Landfall — Whenever a land enters the battlefield under your control, exile target permanent card with converted mana cost 3 or less from your graveyard. -- When Trove Warden dies, put each permanent card exiled with it onto the battlefield under the control of that card's owner. mana={2}{W}{W} type=Creature @@ -68345,7 +68345,7 @@ subtype=Aura [/card] [card] name=Venerable Knight -auto=@movedTo(this|graveyard) from(battlefield):target(creature[knight]|myBattlefield) counter(1/1,1) +auto=_DIES_target(creature[knight]|myBattlefield) counter(1/1,1) text=When Venerable Knight dies, put a +1/+1 counter on target Knight you control. mana={W} type=Creature @@ -68378,7 +68378,7 @@ toughness=4 [card] name=Vengeant Vampire abilities=lifelink -auto=@movedto(this|graveyard) from(battlefield):destroy target(creature|opponentBattlefield) && life:4 controller +auto=_DIES_destroy target(creature|opponentBattlefield) && life:4 controller text=Lifelink -- When Vengeant Vampire dies, destroy target creature an opponent controls and you gain 4 life. mana={4}{B}{B} type=Creature @@ -68991,7 +68991,7 @@ type=Sorcery [/card] [card] name=Vindictive Lich -auto=@movedto(this|graveyard) from(battlefield):name(Choose one) name(Choose one) emblem transforms((,newability[choice name(Opponent sacrifices a creature) ability$!name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent],newability[choice name(Opponent discards 2 cards) ability$!name(Discards 2 cards) notatarget(<2>*|myhand) reject!$ opponent],newability[choice name(Opponent looses 5 life) life:-5 opponent])) ueot +auto=_DIES_name(Choose one) name(Choose one) emblem transforms((,newability[choice name(Opponent sacrifices a creature) ability$!name(Sacrifice creature) notatarget(creature|mybattlefield) sacrifice!$ opponent],newability[choice name(Opponent discards 2 cards) ability$!name(Discards 2 cards) notatarget(<2>*|myhand) reject!$ opponent],newability[choice name(Opponent looses 5 life) life:-5 opponent])) ueot text=When Vindictive Lich dies, choose one or more. Each mode must target a different player. -- • Target opponent sacrifices a creature. -- • Target opponent discards two cards. -- • Target opponent loses 5 life. mana={3}{B} type=Creature @@ -69939,7 +69939,7 @@ toughness=3 [/card] [card] name=Wanted Scoundrels -auto=@movedTo(this|graveyard) from(battlefield):token(435451)*2 +auto=_DIES_token(435451)*2 text=When Wanted Scoundrels dies, target opponent creates two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={1}{B} type=Creature @@ -71677,7 +71677,7 @@ toughness=3 [/card] [card] name=Wretched Camel -auto=@movedTo(this|graveyard) from(battlefield):if type(*[desert]|mybattlefield,myGraveyard)~morethan~0 then target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer +auto=_DIES_if type(*[desert]|mybattlefield,myGraveyard)~morethan~0 then target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer text=When Wretched Camel dies, if you control a Desert or there is a Desert card in your graveyard, target player discards a card. mana={1}{B} type=Creature diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 029e3c15f..a2adb85c8 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -306,7 +306,7 @@ toughness=4 [/card] [card] name=Abyssal Gatekeeper -auto=@movedto(this|graveyard) from(battlefield):ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent +auto=_DIES_ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent text=When Abyssal Gatekeeper is put into a graveyard from the battlefield, each player sacrifices a creature. mana={1}{B} type=Creature @@ -482,7 +482,7 @@ subtype=Aura [card] name=Abzan Skycaptain abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):ability$!name(Bolster) notatarget(creature[toughness=toughness:lowest:creature:mybattlefield]|mybattlefield) counter(1/1,2)!$ controller +auto=_DIES_ability$!name(Bolster) notatarget(creature[toughness=toughness:lowest:creature:mybattlefield]|mybattlefield) counter(1/1,2)!$ controller text=Flying. -- When Abzan Skycaptain dies, bolster 2. (Choose a creature with the least toughness among creatures you control and put two +1/+1 counters on it.) mana={3}{W} type=Creature @@ -516,7 +516,7 @@ toughness=1 [card] name=Academy Rector aicode=activate moveTo(myBattlefield) target(enchantment|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) and!( name(search card) reveal:plibrarycount optionone name(choose card) target(enchantment|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend )! +auto=_DIES_may all(trigger[to]) moveto(exile) and!( name(search card) reveal:plibrarycount optionone name(choose card) target(enchantment|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend )! text=When Academy Rector dies, you may exile it. If you do, search your library for an enchantment card, put that card onto the battlefield, then shuffle your library. mana={3}{W} type=Creature @@ -831,8 +831,8 @@ toughness=3 [card] name=Adarkar Valkyrie abilities=flying,vigilance -auto={T}:name(creature you control) target(other creature|mybattlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield)])) ueot -auto={T}:name(creature opponent controls) target(creature|opponentbattlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveTo(opponentbattlefield)])) ueot +auto={T}:name(creature you control) target(other creature|mybattlefield) transforms((,newability[_DIES_all(trigger[to]) moveTo(mybattlefield)])) ueot +auto={T}:name(creature opponent controls) target(creature|opponentbattlefield) transforms((,newability[_DIES_all(trigger[to]) moveTo(opponentbattlefield)])) ueot text=Flying, vigilance -- {T}: When target creature other than Adarkar Valkyrie is put into a graveyard this turn, return that card to the battlefield under your control. mana={4}{W}{W} type=Snow Creature @@ -2006,7 +2006,7 @@ toughness=1 [/card] [card] name=Akki Blizzard-Herder -auto=@movedto(this|graveyard) from(battlefield):ability$!sacrifice notatarget(land|mybattlefield)!$ controller && ability$!sacrifice notatarget(land|mybattlefield)!$ opponent +auto=_DIES_ability$!sacrifice notatarget(land|mybattlefield)!$ controller && ability$!sacrifice notatarget(land|mybattlefield)!$ opponent text=When Akki Blizzard-Herder is put into a graveyard from the battlefield, each player sacrifices a land. mana={1}{R} type=Creature @@ -4241,7 +4241,7 @@ type=Instant [/card] [card] name=Anodet Lurker -auto=@movedTo(this|graveyard) from(battlefield):life:3 controller +auto=_DIES_life:3 controller text=When Anodet Lurker dies, you gain 3 life. mana={5} type=Artifact Creature @@ -5354,7 +5354,7 @@ type=Enchantment [card] name=Archon of Justice abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):moveTo(exile) target(*|battlefield) +auto=_DIES_moveTo(exile) target(*|battlefield) text=Flying -- When Archon of Justice dies, exile target permanent. mana={3}{W}{W} type=Creature @@ -5462,7 +5462,7 @@ toughness=1 name=Arctic Nishoba abilities=trample auto=cumulativeupcost[{GW}] sacrifice -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(counter{0/0.1.Age}) life:2 +auto=_DIES_thisforeach(counter{0/0.1.Age}) life:2 text=Trample -- Cumulative upkeep {G} or {W} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- When Arctic Nishoba dies, you gain 2 life for each age counter on it. mana={5}{G} type=Creature @@ -6495,7 +6495,7 @@ type=Instant [card] name=Aspect of Mongoose target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=shroud text=Enchant creature -- Enchanted creature has shroud. (It can't be the target of spells or abilities.) -- When Aspect of Mongoose is put into a graveyard from the battlefield, return Aspect of Mongoose to its owner's hand. mana={1}{G} @@ -7594,7 +7594,7 @@ toughness=5 [card] name=Aven Fisher abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):may draw:1 +auto=_DIES_may draw:1 text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Aven Fisher dies, you may draw a card. mana={3}{U} type=Creature @@ -8914,7 +8914,7 @@ type=Land [/card] [card] name=Bant Sojourners -auto=@movedTo(this|graveyard) from(battlefield):may token(Soldier,Creature Soldier,1/1,white) +auto=_DIES_may token(Soldier,Creature Soldier,1/1,white) autohand={2}{W}{cycle}:name(cycling) draw:1 controller autohand=@cycled(this|hand):may token(Soldier,Creature Soldier,1/1,white) 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.) @@ -9123,8 +9123,8 @@ type=Artifact [/card] [card] name=Barishi -auto=@movedto(this|graveyard) from(battlefield):moveto(mylibrary) all(other creature|myGraveyard) && shuffle -autograveyard=@movedto(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_moveto(mylibrary) all(other creature|myGraveyard) && shuffle +autograveyard=_DIES_moveto(exile) text=When Barishi dies, exile Barishi, then shuffle all creature cards from your graveyard into your library. mana={2}{G}{G} type=Creature @@ -10022,7 +10022,7 @@ subtype=Aura [/card] [card] name=Bearer of the Heavens -autograveyard=@movedto(this|graveyard) from(battlefield):phaseaction[endofturn once] destroy all(*|battlefield) +autograveyard=_DIES_phaseaction[endofturn once] destroy all(*|battlefield) text=When Bearer of the Heavens dies, destroy all permanents at the beginning of the next end step. mana={7}{R} type=Creature @@ -10901,7 +10901,7 @@ subtype=Faerie name=Bitterheart Witch abilities=deathtouch aicode=activate moveTo(myBattlefield) target(curse|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(curse|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(curse|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend text=Deathtouch -- When Bitterheart Witch dies, you may search your library for a Curse card, put it onto the battlefield attached to target player, then shuffle your library. mana={4}{B} type=Creature @@ -11828,7 +11828,7 @@ toughness=1 [card] name=Blistergrub abilities=swampwalk -auto=@movedTo(this|graveyard) from(battlefield):life:-2 opponent +auto=_DIES_life:-2 opponent text=Swampwalk - When Blistergrub dies, each opponent loses 2 life. mana={2}{B} type=Creature @@ -11871,7 +11871,7 @@ toughness=1 [/card] [card] name=Blisterpod -auto=@movedTo(this|graveyard) from(battlefield):token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller +auto=_DIES_token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller text=Devoid (This card has no color.) -- When Blisterpod dies, put a 1/1 colorless Eldrazi Scion creature token onto the battlefield. It has "Sacrifice this creature: Add {1} to your mana pool." mana={G} abilities=devoid @@ -13145,7 +13145,7 @@ type=Land [/card] [card] name=Bogardan Firefiend -auto=@movedTo(this|graveyard) from(battlefield):damage:2 target(creature) +auto=_DIES_damage:2 target(creature) text=When Bogardan Firefiend dies, it deals 2 damage to target creature. mana={2}{R} type=Creature @@ -14921,7 +14921,7 @@ toughness=3 [card] name=Brilliant Halo target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=1/2 text=Enchant creature -- Enchanted creature gets +1/+2. -- When Brilliant Halo dies, return Brilliant Halo to its owner's hand. mana={1}{W} @@ -14990,7 +14990,7 @@ toughness=2 [/card] [card] name=Brindle Shoat -auto=@movedTo(this|graveyard) from(battlefield):token(Boar,Creature Boar,3/3,green) +auto=_DIES_token(Boar,Creature Boar,3/3,green) text=When Brindle Shoat dies, put a 3/3 green Boar creature token onto the battlefield. mana={1}{G} type=Creature @@ -16044,7 +16044,7 @@ toughness=3 [/card] [card] name=Byway Courier -auto=@movedTo(this|graveyard) from(battlefield):token(Clue,Artifact Clue,0/0) and!( transforms((,newability[{S}{2}:draw:1])) forever )! controller +auto=_DIES_token(Clue,Artifact Clue,0/0) and!( transforms((,newability[{S}{2}:draw:1])) forever )! controller text=When Byway Courier dies, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") mana={2}{G} type=Creature @@ -17153,7 +17153,7 @@ toughness=1 [/card] [card] name=Carrier Thrall -auto=@movedTo(this|graveyard) from(battlefield):token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller +auto=_DIES_token(Eldrazi Scion,Creature Eldrazi Scion,1/1) and!( transforms((,newability[{S}:Add{C}])) forever )! controller text=When Carrier Thrall dies, put a 1/1 colorless Eldrazi Scion creature token onto the battlefield. It has "Sacrifice this creature: Add {1} to your mana pool." mana={1}{B} type=Creature @@ -17223,7 +17223,7 @@ toughness=2 [/card] [card] name=Carrion Thrash -auto=@movedto(this|graveyard) from(battlefield):pay({2}) moveto(ownerhand) target(other creature|mygraveyard) +auto=_DIES_pay({2}) moveto(ownerhand) target(other creature|mygraveyard) text=When Carrion Thrash is put into a graveyard from the battlefield, you may pay {2}. If you do, return another target creature card from your graveyard to your hand. mana={2}{B}{R}{G} type=Creature @@ -17607,7 +17607,7 @@ toughness=1 [/card] [card] name=Cathodion -auto=@movedTo(this|graveyard) from(battlefield):Add{3} +auto=_DIES_Add{3} text=When Cathodion dies, add {3} to your mana pool. mana={3} type=Artifact Creature @@ -17915,8 +17915,8 @@ toughness=7 [card] name=Celestial Gatekeeper abilities=flying -auto=@movedto(this|graveyard) from(battlefield):target(bird,cleric|mygraveyard) moveto(mybattlefield) && shuffle -autograveyard=@movedto(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_target(bird,cleric|mygraveyard) moveto(mybattlefield) && shuffle +autograveyard=_DIES_moveto(exile) text=Flying -- When Celestial Gatekeeper dies, exile it, then return up to two target Bird and/or Cleric permanent cards from your graveyard to the battlefield. mana={3}{W}{W} type=Creature @@ -18397,7 +18397,7 @@ toughness=3 [card] name=Cessation target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=cantattack auto=cantpwattack text=Enchant creature -- Enchanted creature can't attack. -- When Cessation is put into a graveyard from the battlefield, return Cessation to its owner's hand. @@ -19195,7 +19195,7 @@ toughness=2 [card] name=Child of Alara abilities=trample -auto=@movedTo(this|graveyard) from(Battlefield):bury all(*[-land]|battlefield) +auto=_DIES_bury all(*[-land]|battlefield) text=Trample -- When Child of Alara dies, destroy all nonland permanents. They can't be regenerated. mana={W}{U}{B}{R}{G} type=Legendary Creature @@ -19318,7 +19318,7 @@ toughness=1 [card] name=Chime of Night target=creature -auto=@movedTo(this|graveyard) from(battlefield):destroy target(creature[-black]) +auto=_DIES_destroy target(creature[-black]) text=Enchant creature -- When Chime of Night is put into a graveyard from the battlefield, destroy target nonblack creature. mana={1}{B} type=Enchantment @@ -23902,7 +23902,7 @@ toughness=4 name=Crow of Dark Tidings abilities=flying auto=deplete:2 controller -auto=@movedTo(this|graveyard) from(battlefield):deplete:2 controller +auto=_DIES_deplete:2 controller text=Flying -- When Crow of Dark Tidings enters the battlefield or dies, put the top two cards of your library into your graveyard. mana={2}{B} type=Creature @@ -25141,7 +25141,7 @@ type=Instant [card] name=Cyclone Sire abilities=flying,haste -auto=@movedTo(this|graveyard) from(battlefield):may target(land|mybattlefield) transforms((Elemental Creature,newability[counter(1/1.3)],newability[haste])) forever +auto=_DIES_may target(land|mybattlefield) transforms((Elemental Creature,newability[counter(1/1.3)],newability[haste])) forever text=Flying -- When Cyclone Sire dies, you may put three +1/+1 counters on target land you control. If you do, that land becomes a 0/0 Elemental creature with haste that's still a land. mana={4}{U} type=Creature @@ -25162,7 +25162,7 @@ type=Instant [/card] [card] name=Cyclopean Mummy -auto=@movedTo(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_moveto(exile) text=When Cyclopean Mummy dies, exile Cyclopean Mummy. mana={1}{B} type=Creature @@ -25180,7 +25180,7 @@ type=Artifact [card] name=Cyclopean Tomb auto={2}{T}:name(becomes swamp) target(land[-swamp]) transforms((,newability[counter(0/0.1.Mire)],newability[this(counter{0/0.1.Mire}>0) becomes(Swamp)])) forever myupkeeponly -auto=@movedTo(this|graveyard) from(battlefield):name(Epic) emblem transforms((,newability[@each my upkeep:notatarget(land[counter{0/0.1.Mire}]) removeallcounters(0/0.1.Mire)])) forever dontremove +auto=_DIES_name(Epic) emblem transforms((,newability[@each my upkeep:notatarget(land[counter{0/0.1.Mire}]) removeallcounters(0/0.1.Mire)])) forever dontremove text={2}, {T}: Put a mire counter on target non-Swamp land. That land is a Swamp for as long as it has a mire counter on it. Activate this ability only during your upkeep. -- When Cyclopean Tomb is put into a graveyard from the battlefield, at the beginning of each of your upkeeps for the rest of the game, remove all mire counters from a land that a mire counter was put onto with Cyclopean Tomb but that a mire counter has not been removed from with Cyclopean Tomb. mana={4} type=Artifact @@ -27134,7 +27134,7 @@ toughness=2 [/card] [card] name=Deathcurse Ogre -auto=@movedTo(this|graveyard) from(battlefield):life:-3 opponent && life:-3 controller +auto=_DIES_life:-3 opponent && life:-3 controller text=When Deathcurse Ogre dies, each player loses 3 life. mana={5}{B} type=Creature @@ -27274,7 +27274,7 @@ toughness=2 [card] name=Deathpact Angel abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):token(Cleric,Creature Cleric,1/1,white,black) and!( transforms((,newability[{3}{W}{B}{B}{T}{S}:moveto(ownerbattlefield) notatarget(Deathpact Angel|mygraveyard)])) forever )! +auto=_DIES_token(Cleric,Creature Cleric,1/1,white,black) and!( transforms((,newability[{3}{W}{B}{B}{T}{S}:moveto(ownerbattlefield) notatarget(Deathpact Angel|mygraveyard)])) forever )! text=Flying -- When Deathpact Angel dies, put a 1/1 white and black Cleric creature token onto the battlefield. It has "{3}{W}{B}{B}, {T}, Sacrifice this creature: Return a card named Deathpact Angel from your graveyard to the battlefield." mana={3}{W}{B}{B} type=Creature @@ -27357,7 +27357,7 @@ toughness=13 [card] name=Death's-Head Buzzard abilities=flying -auto=@movedto(this|graveyard) from(battlefield):-1/-1 all(creature|Battlefield) ueot +auto=_DIES_-1/-1 all(creature|Battlefield) ueot text=Flying -- When Death's-Head Buzzard dies, all creatures get -1/-1 until end of turn. mana={1}{B}{B} type=Creature @@ -28804,7 +28804,7 @@ type=Instant [card] name=Desperate Sentry auto=while(restriction{delirium}) +3/0 -auto=@movedTo(this|graveyard) from(battlefield):token(Eldrazi Horror) +auto=_DIES_token(Eldrazi Horror) text=When Desperate Sentry dies, put a 3/2 colorless Eldrazi Horror creature token onto the battlefield. -- Delirium -- Desperate Sentry gets +3/+0 as long as there are four or more card types among cards in your graveyard. mana={2}{W} type=Creature @@ -28844,7 +28844,7 @@ type=Sorcery [card] name=Despondency target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=-2/0 text=Enchant creature -- Enchanted creature gets -2/-0. -- When Despondency is put into a graveyard from the battlefield, return Despondency to its owner's hand. mana={1}{B} @@ -28905,7 +28905,7 @@ subtype=Aura [card] name=Destructor Dragon abilities=flying -auto=@movedTo(this|graveyard) from(Battlefield):destroy target(*[-creature]) +auto=_DIES_destroy target(*[-creature]) text=Flying -- When Destructor Dragon dies, destroy target noncreature permanent. mana={4}{G}{G} type=Creature @@ -30595,7 +30595,7 @@ toughness=2 [/card] [card] name=Doomed Traveler -auto=@movedTo(this|graveyard) from(battlefield):token(Spirit,Creature Spirit,1/1,white,flying) +auto=_DIES_token(Spirit,Creature Spirit,1/1,white,flying) text=When Doomed Traveler dies, put a 1/1 white Spirit creature token with flying onto the battlefield. mana={W} type=Creature @@ -31392,7 +31392,7 @@ toughness=1 [/card] [card] name=Drainpipe Vermin -auto=@movedto(this|graveyard) from(battlefield):pay({B}) name(discard) target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer +auto=_DIES_pay({B}) name(discard) target(player) ability$!name(discard) target(*|myhand) reject!$ targetedplayer text=When Drainpipe Vermin dies, you may pay {B}. If you do, target player discards a card. mana={B} type=Creature @@ -32098,7 +32098,7 @@ toughness=2 [/card] [card] name=Driver of the Dead -auto=@movedTo(this|graveyard) from(Battlefield):moveTo(mybattlefield) target(creature[manacost<=2]|mygraveyard) +auto=_DIES_moveTo(mybattlefield) target(creature[manacost<=2]|mygraveyard) text=When Driver of the Dead dies, return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. mana={3}{B} type=Creature @@ -32941,7 +32941,7 @@ toughness=1 [card] name=Dusk Urchins auto=@combat(attacking,blocking) source(this):counter(-1/-1,1) all(this) -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(counter{-1/-1.1}) draw:1 controller +auto=_DIES_thisforeach(counter{-1/-1.1}) draw:1 controller text=Whenever Dusk Urchins attacks or blocks, put a -1/-1 counter on it. -- When Dusk Urchins dies, draw a card for each -1/-1 counter on it. mana={2}{B} type=Creature @@ -33104,7 +33104,7 @@ type=Sorcery [/card] [card] name=Dutiful Attendant -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(other creature|mygraveyard) +auto=_DIES_moveTo(myhand) target(other creature|mygraveyard) text=When Dutiful Attendant dies, return another target creature card from your graveyard to your hand. mana={2}{B} type=Creature @@ -34152,7 +34152,7 @@ subtype=Equipment [/card] [card] name=Elder Cathar -auto=@movedTo(this|graveyard) from(battlefield):target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[if cantargetcard(human) then counter(1/1)])) forever +auto=_DIES_target(creature|mybattlefield) transforms((,newability[counter(1/1)],newability[if cantargetcard(human) then counter(1/1)])) forever text=When Elder Cathar dies, put a +1/+1 counter on target creature you control. If that creature is a Human, put two +1/+1 counters on it instead. mana={2}{W} type=Creature @@ -35119,7 +35119,7 @@ toughness=1 [/card] [card] name=Elvish Soultiller -auto=@movedTo(this|graveyard) from(battlefield):chooseatype moveTo(mylibrary) all(creature[chosentype]|mygraveyard) chooseend && shuffle +auto=_DIES_chooseatype moveTo(mylibrary) all(creature[chosentype]|mygraveyard) chooseend && shuffle text=When Elvish Soultiller is put into a graveyard from the battlefield, choose a creature type. Shuffle all creature cards of that type from your graveyard into your library. mana={3}{G}{G} type=Creature @@ -35820,7 +35820,7 @@ type=Sorcery [/card] [card] name=Endless Cockroaches -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=When Endless Cockroaches dies, return Endless Cockroaches to its owner's hand. mana={1}{B}{B} type=Creature @@ -36865,7 +36865,7 @@ type=Land [/card] [card] name=Esper Sojourners -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) transforms((,newability[may tap target(*)],newability[may untap target(*)])) forever +auto=_DIES_all(trigger[to]) transforms((,newability[may tap target(*)],newability[may untap target(*)])) forever autohand={2}{U}{cycle}:name(cycling) draw:1 autohand=@cycled(this|hand):name(tap or untap) transforms((,newability[may tap target(*)],newability[may untap target(*)])) forever text=When you cycle Esper Sojourners or it's put into a graveyard from the battlefield, you may tap or untap target permanent. -- Cycling {2}{U} ({2}{U}, Discard this card: Draw a card.) @@ -37691,7 +37691,7 @@ type=Sorcery [/card] [card] name=Exiled Boggart -auto=@movedTo(this|graveyard) from(battlefield):reject target(*|myhand) +auto=_DIES_reject target(*|myhand) text=When Exiled Boggart dies, discard a card. mana={1}{B} type=Creature @@ -38052,7 +38052,7 @@ toughness=1 [/card] [card] name=Exultant Cultist -auto=@movedTo(this|graveyard) from(battlefield):draw:1 +auto=_DIES_draw:1 text=When Exultant Cultist dies, draw a card. mana={2}{U} type=Creature @@ -38683,7 +38683,7 @@ toughness=1 [card] name=Fallen Ideal target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=flying auto=teach(creature) {S(creature|mybattlefield)}:2/1 text=Enchant creature -- Enchanted creature has flying and "Sacrifice a creature: This creature gets +2/+1 until end of turn." -- When Fallen Ideal is put into a graveyard from the battlefield, return Fallen Ideal to its owner's hand. @@ -38774,7 +38774,7 @@ type=Sorcery [/card] [card] name=False Prophet -auto=@movedTo(this|graveyard) from(battlefield):moveTo(exile) all(creature) +auto=_DIES_moveTo(exile) all(creature) text=When False Prophet dies, exile all creatures. mana={2}{W}{W} type=Creature @@ -39980,7 +39980,7 @@ type=Enchantment [/card] [card] name=Festering Goblin -auto=@movedTo(this|graveyard) from(battlefield):-1/-1 target(creature) ueot +auto=_DIES_-1/-1 target(creature) ueot text=When Festering Goblin dies, target creature gets -1/-1 until end of turn. mana={B} type=Creature @@ -40286,7 +40286,7 @@ type=Instant [card] name=Fiery Mantle target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto={R}:1/0 text=Enchant creature -- {R}: Enchanted creature gets +1/+0 until end of turn. -- When Fiery Mantle is put into a graveyard from the battlefield, return Fiery Mantle to its owner's hand. mana={1}{R} @@ -40352,7 +40352,7 @@ toughness=4 [/card] [card] name=Filigree Crawler -auto=@movedTo(this|graveyard) from(battlefield):create(Thopter:Artifact Creature Thopter:1/1:flying) controller +auto=_DIES_create(Thopter:Artifact Creature Thopter:1/1:flying) controller text=When Filigree Crawler dies, create a 1/1 colorless Thopter artifact creature token with flying. mana={4} type=Artifact Creature @@ -40363,7 +40363,7 @@ toughness=2 [card] name=Filigree Familiar auto=life:2 controller -auto=@movedTo(this|graveyard) from(battlefield):draw:1 +auto=_DIES_draw:1 text=When Filigree Familiar enters the battlefield, you gain 2 life. -- When Filigree Familiar dies, draw a card. mana={3} type=Artifact Creature @@ -40999,7 +40999,7 @@ type=Enchantment [card] name=Flagstones of Trokair auto={T}:Add{W} -auto=@movedTo(this|graveyard) from(battlefield):name(search card) ability$!moveTo(myBattlefield) and!(tap(noevent))! target(plains|myLibrary)!$ controller +auto=_DIES_name(search card) ability$!moveTo(myBattlefield) and!(tap(noevent))! target(plains|myLibrary)!$ controller text={T}: Add {W} to your mana pool. -- When Flagstones of Trokair is put into a graveyard from the battlefield, you may search your library for a Plains card and put it onto the battlefield tapped. If you do, shuffle your library. type=Legendary Land [/card] @@ -41826,7 +41826,7 @@ subtype=Aura [card] name=Flight Spellbomb auto={T}{S}:target(other creature) flying ueot -auto=@movedTo(this|graveyard) from(battlefield):pay({U}) draw:1 +auto=_DIES_pay({U}) draw:1 mana={1} type=Artifact text={T}, Sacrifice Flight Spellbomb: Target creature gains flying until end of turn. When Flight Spellbomb is put into a graveyard from the battlefield, you may pay {U}. If you do, draw a card. @@ -42489,7 +42489,7 @@ type=Enchantment name=Fool's Demise target=creature auto=@movedTo(mytgt|graveyard) from(battlefield):all(trigger[to]) moveTo(mybattlefield) -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Enchant creature -- When enchanted creature is put into a graveyard, return that card to the battlefield under your control. -- When Fool's Demise is put into a graveyard from the battlefield, return Fool's Demise to its owner's hand. mana={4}{U} type=Enchantment @@ -42931,7 +42931,7 @@ type=Land [/card] [card] name=Forsaken Drifters -autograveyard=@movedto(this|graveyard) from(battlefield):deplete:4 controller +autograveyard=_DIES_deplete:4 controller text=When Forsaken Drifters dies, put the top four cards of your library into your graveyard. mana={3}{B} type=Creature @@ -42988,7 +42988,7 @@ type=Instant [card] name=Fortitude target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto={S(forest|myBattlefield)}:regenerate text=Enchant creature -- Sacrifice a Forest: Regenerate enchanted creature. -- When Fortitude is put into a graveyard from the battlefield, return Fortitude to its owner's hand. mana={1}{G} @@ -43909,7 +43909,7 @@ type=Instant [card] name=Funeral March target=creature -auto=transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller])) +auto=transforms((,newability[_DIES_all(trigger[to]) ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller])) text=Enchant creature -- When enchanted creature leaves the battlefield, its controller sacrifices a creature. mana={1}{B}{B} type=Enchantment @@ -44491,7 +44491,7 @@ type=Land [/card] [card] name=Gamekeeper -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) && Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend +auto=_DIES_may all(trigger[to]) moveto(exile) && Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone choice name(Get Card) target(creature|reveal) moveto(mybattlefield) optiononeend optiontwo choice name(put in Graveyard) all(*|reveal) moveto(mygraveyard) optiontwoend revealend text=When Gamekeeper dies, you may exile it. If you do, reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield and put all other cards revealed this way into your graveyard. mana={3}{G} type=Creature @@ -46995,7 +46995,7 @@ name=Glistening Oil target=creature auto=infect auto=@each my upkeep:counter(-1/-1,1) -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Enchant creature -- Enchanted creature has Infect. -- At the beginning of your upkeep, put a -1/-1 counter on enchanted creature. -- When Glistening Oil is put into a graveyard from the battlefield, return Glistening Oil to its owner's hand. mana={B}{B} type=Enchantment @@ -47334,7 +47334,7 @@ toughness=2 [/card] [card] name=Goblin Arsonist -auto=@movedTo(this|graveyard) from(battlefield):may damage:1 target(creature,player) +auto=_DIES_may damage:1 target(creature,player) text=When Goblin Arsonist is put into the graveyard from the battlefield, you may have it deal 1 damage to target creature or player. mana={R} type=Creature @@ -47418,7 +47418,7 @@ type=Enchantment [card] name=Goblin Boom Keg auto=@each my upkeep:sacrifice -auto=@movedTo(this|graveyard) from(battlefield):damage:3 target(creature,player) +auto=_DIES_damage:3 target(creature,player) text=At the beginning of your upkeep, sacrifice Goblin Boom Keg. -- When Goblin Boom Keg is put into a graveyard from the battlefield, it deals 3 damage to target creature or player. mana={4} type=Artifact @@ -47705,7 +47705,7 @@ toughness=2 [/card] [card] name=Goblin Gardener -auto=@movedTo(this|graveyard) from(battlefield):destroy target(land) +auto=_DIES_destroy target(land) text=When Goblin Gardener dies, destroy target land. mana={3}{R} type=Creature @@ -47903,7 +47903,7 @@ toughness=5 [card] name=Goblin Marshal auto=token(Goblin,Creature Goblin,1/1,red)*2 -auto=@movedTo(this|graveyard) from(battlefield):token(Goblin,Creature Goblin,1/1,red)*2 +auto=_DIES_token(Goblin,Creature Goblin,1/1,red)*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} @@ -47914,7 +47914,7 @@ toughness=3 [/card] [card] name=Goblin Masons -auto=@movedTo(this|graveyard) from(battlefield):destroy target(wall) +auto=_DIES_destroy target(wall) text=When Goblin Masons dies, destroy target Wall. mana={1}{R} type=Creature @@ -50091,7 +50091,7 @@ toughness=1 [card] name=Greenwarden of Murasa auto=may name(return card) moveto(myhand) target(*|mygraveyard) -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveTo(myhand) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(other *|mygraveyard) moveTo(myhand) text=When Greenwarden of Murasa enters the battlefield, you may return target card from your graveyard to your hand. -- When Greenwarden of Murasa dies, you may exile it. If you do, return target card from your graveyard to your hand. mana={4}{G}{G} type=Creature @@ -50632,7 +50632,7 @@ toughness=4 [/card] [card] name=Grixis Sojourners -auto=@movedTo(this|graveyard) from(battlefield):may moveTo(exile) target(*|graveyard) +auto=_DIES_may moveTo(exile) target(*|graveyard) autohand={2}{B}{cycle}:name(cycling) draw:1 autohand=@cycled(this|hand):may moveTo(exile) target(*|graveyard) text=When you cycle Grixis Sojourners or it's put into a graveyard from the battlefield, you may exile target card from a graveyard. -- Cycling {2}{B} ({2}{B}, Discard this card: Draw a card.) @@ -51112,7 +51112,7 @@ toughness=3 [/card] [card] name=Guardian Automaton -auto=@movedto(this|graveyard) from(battlefield):life:3 controller +auto=_DIES_life:3 controller text=When Guardian Automaton dies, you gain 3 life. mana={4} type=Artifact Creature @@ -52791,7 +52791,7 @@ toughness=6 [card] name=Havoc Demon abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):all(creature) -5/-5 ueot +auto=_DIES_all(creature) -5/-5 ueot text=Flying -- When Havoc Demon dies, all creatures get -5/-5 until end of turn. mana={5}{B}{B} type=Creature @@ -55100,7 +55100,7 @@ type=Instant name=Homura, Human Ascendant doublefaced=kamiflip abilities=cantblock -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) transforms((,newability[moveTo(mybattlefield)],newability[flip(Homura's Essence)])) +auto=_DIES_all(trigger[to]) transforms((,newability[moveTo(mybattlefield)],newability[flip(Homura's Essence)])) text=Homura, Human Ascendant can't block. -- When Homura is put into a graveyard from the battlefield, return it to the battlefield flipped. mana={4}{R}{R} type=Legendary Creature @@ -55441,7 +55441,7 @@ toughness=1 name=Horizon Spellbomb aicode=activate target(land[basic]|mylibrary) moveto(myhand) auto={2}{T}{S}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=@movedTo(this|graveyard) from(battlefield):pay({G}) draw:1 +auto=_DIES_pay({G}) draw:1 mana={1} type=Artifact text={2}, {T}, Sacrifice Horizon Spellbomb: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. When Horizon Spellbomb is put into a graveyard from the battlefield, you may pay {G}. If you do, draw a card. @@ -55554,7 +55554,7 @@ toughness=1 [/card] [card] name=Hornet Harasser -auto=@movedTo(this|graveyard) from(battlefield):-2/-2 target(creature) ueot +auto=_DIES_-2/-2 target(creature) ueot text=When Hornet Harasser dies, target creature gets -2/-2 until end of turn. mana={2}{B}{B} type=Creature @@ -56302,7 +56302,7 @@ toughness=3 [card] name=Hunting Moa auto=counter(1/1,1) target(creature) -auto=@movedTo(this|graveyard) from(battlefield):counter(1/1,1) target(creature) +auto=_DIES_counter(1/1,1) target(creature) auto=upcost[{2}{G};next upkeep] sacrifice text=Echo {2}{G} (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 Hunting Moa enters the battlefield or dies, put a +1/+1 counter on target creature. mana={2}{G} @@ -56367,7 +56367,7 @@ toughness=3 [/card] [card] name=Hurloon Shaman -auto=@movedto(this|graveyard) from(battlefield):ability$!sacrifice notatarget(land|mybattlefield)!$ controller && ability$!sacrifice notatarget(land|mybattlefield)!$ opponent +auto=_DIES_ability$!sacrifice notatarget(land|mybattlefield)!$ controller && ability$!sacrifice notatarget(land|mybattlefield)!$ opponent text=When Hurloon Shaman is put into a graveyard from the battlefield, each player sacrifices a land. mana={1}{R}{R} type=Creature @@ -56860,7 +56860,7 @@ type=Sorcery [card] name=Ichor Wellspring auto=draw:1 -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller text=When Ichor Wellspring enters the battlefield or is put into a graveyard from the battlefield, draw a card. mana={2} type=Artifact @@ -57372,7 +57372,7 @@ toughness=1 [/card] [card] name=Implement of Combustion -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller auto={R}{S}:damage:1 target(player) text={R}, Sacrifice Implement of Combustion: It deals 1 damage to target player. -- When Implement of Combustion is put into a graveyard from the battlefield, draw a card. mana={1} @@ -57380,7 +57380,7 @@ type=Artifact [/card] [card] name=Implement of Examination -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller auto={U}{S}:draw:1 controller text={U}, Sacrifice Implement of Examination: Draw a card. -- When Implement of Examination is put into a graveyard from the battlefield, draw a card. mana={3} @@ -57388,7 +57388,7 @@ type=Artifact [/card] [card] name=Implement of Ferocity -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller auto={G}{S}:counter(1/1,1) target(other creature) text={G}, Sacrifice Implement of Ferocity: Put a +1/+1 counter on target creature. Activate this ability only any time you could cast a sorcery. -- When Implement of Ferocity is put into a graveyard from the battlefield, draw a card. mana={1} @@ -57396,7 +57396,7 @@ type=Artifact [/card] [card] name=Implement of Improvement -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller auto={W}{S}:life:2 controller text={W}, Sacrifice Implement of Improvement: You gain 2 life. -- When Implement of Improvement is put into a graveyard from the battlefield, draw a card. mana={1} @@ -57404,7 +57404,7 @@ type=Artifact [/card] [card] name=Implement of Malice -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller auto={B}{S}:target(player) ability$!name(discard a card) target(*|myhand) reject!$ targetedplayer asSorcery text={B}, Sacrifice Implement of Malice: Target player discards a card. Activate this ability only any time you could cast a sorcery. -- When Implement of Malice is put into a graveyard from the battlefield, draw a card. mana={2} @@ -57536,7 +57536,7 @@ type=Sorcery name=Iname as One aicode=activate moveTo(myBattlefield) target(spirit[-instant;-sorcery]|myLibrary) auto=if casted(this) then name(search card) reveal:plibrarycount optionone name(choose card) target(spirit[-instant;-sorcery]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) and!( target(spirit[-instant;-sorcery]|mygraveyard) moveTo(myBattlefield) )! +auto=_DIES_may all(trigger[to]) moveto(exile) and!( target(spirit[-instant;-sorcery]|mygraveyard) moveTo(myBattlefield) )! text=When Iname as One enters the battlefield, if you cast it from your hand, you may search your library for a Spirit permanent card, put it onto the battlefield, then shuffle your library. -- When Iname as One dies, you may exile it. If you do, return target Spirit permanent card from your graveyard to the battlefield. mana={8}{B}{B}{G}{G} type=Legendary Creature @@ -57557,7 +57557,7 @@ toughness=4 [/card] [card] name=Iname, Life Aspect -auto=@movedTo(this|graveyard) from(battlefield):may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveTo(myhand) +auto=_DIES_may all(trigger[to]) moveto(exile) && target(spirit|mygraveyard) moveTo(myhand) text=When Iname, Life Aspect dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand. mana={4}{G}{G} type=Legendary Creature @@ -57945,7 +57945,7 @@ toughness=2 [/card] [card] name=Infectious Host -auto=@movedTo(this|graveyard) from(battlefield):life:-2 target(player) +auto=_DIES_life:-2 target(player) text=When Infectious Host dies, target player loses 2 life. mana={2}{B} type=Creature @@ -58465,7 +58465,7 @@ type=Instant [/card] [card] name=Insidious Bookworms -auto=@movedTo(this|graveyard) from(battlefield):pay({1}{B}) discard:1 target(player) +auto=_DIES_pay({1}{B}) discard:1 target(player) text=When Insidious Bookworms is put into a graveyard from the battlefield, you may pay {1}{B}. If you do, target player discards a card at random. mana={B} type=Creature @@ -59416,8 +59416,8 @@ type=Artifact name=Ivory Gargoyle abilities=flying auto={4}{W}:moveTo(exile) -autograveyard=@movedTo(this|graveyard) from(battlefield):phaseaction[my endofturn] moveTo(mybattlefield) -autograveyard=@movedTo(this|graveyard) from(battlefield):nextphasealter(remove,draw,controller) +autograveyard=_DIES_phaseaction[my endofturn] moveTo(mybattlefield) +autograveyard=_DIES_nextphasealter(remove,draw,controller) text=Flying -- When Ivory Gargoyle is put into a graveyard from the battlefield, return it to the battlefield under its owner's control at the beginning of the next end step and you skip your next draw step. -- {4}{W}: Exile Ivory Gargoyle. mana={4}{W} type=Creature @@ -60528,7 +60528,7 @@ toughness=3 [card] name=Jotun Owl Keeper auto=cumulativeupcost[{WU}] sacrifice -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(counter{0/0.1.Age}) token(Bird,Creature Bird,1/1,white,flying) +auto=_DIES_thisforeach(counter{0/0.1.Age}) token(Bird,Creature Bird,1/1,white,flying) text=Cumulative upkeep {W} or {U} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- When Jotun Owl Keeper dies, put a 1/1 white Bird creature token with flying onto the battlefield for each age counter on it. mana={2}{W} type=Creature @@ -60636,7 +60636,7 @@ toughness=1 [card] name=Jugan, the Rising Star abilities=flying -auto=@movedTo(this|graveyard) from(Battlefield):ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller +auto=_DIES_ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller && ability$!counter(1/1,1) target(creature)!$ controller text=Flying -- When Jugan, the Rising Star is put into a graveyard from the battlefield, you may distribute five +1/+1 counters among any number of target creatures. mana={3}{G}{G}{G} type=Legendary Creature @@ -60726,7 +60726,7 @@ type=Land [/card] [card] name=Jund Sojourners -auto=@movedTo(this|graveyard) from(battlefield):may damage:1 target(creature,player) +auto=_DIES_may damage:1 target(creature,player) autohand={2}{R}{cycle}:name(cycling) draw:1 autohand=@cycled(this|hand):may damage:1 target(*[creature;player]) text=When you cycle Jund Sojourners or it's put into a graveyard from the battlefield, you may have it deal 1 damage to target creature or player. -- Cycling {2}{R} ({2}{R}, Discard this card: Draw a card.) @@ -60860,7 +60860,7 @@ toughness=4 [card] name=Junk Diver abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) text=Flying -- When Junk Diver dies, return another target artifact card from your graveyard to your hand. mana={3} type=Artifact Creature @@ -61170,7 +61170,7 @@ toughness=2 [card] name=Kalastria Highborn auto=@movedto(other vampire|graveyard) from(mybattlefield):pay({B}) choice target(player) life:-2 && life:2 controller -auto=@movedto(this|graveyard) from(battlefield):pay({B}) choice target(player) life:-2 && life:2 controller +auto=_DIES_pay({B}) choice target(player) life:-2 && life:2 controller text=Whenever Kalastria Highborn or another Vampire you control is put into a graveyard from the battlefield, you may pay {B}. If you do, target player loses 2 life and you gain 2 life. mana={B}{B} type=Creature @@ -62267,7 +62267,7 @@ toughness=2 [card] name=Keiga, the Tide Star abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myBattlefield) target(creature) +auto=_DIES_moveTo(myBattlefield) target(creature) text=Flying -- When Keiga, the Tide Star dies, gain control of target creature. mana={5}{U} type=Legendary Creature @@ -62848,7 +62848,7 @@ toughness=1 [card] name=Kingfisher abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller text=Flying -- When Kingfisher dies, draw a card. mana={3}{U} type=Creature @@ -63751,7 +63751,7 @@ subtype=Arcane [card] name=Kokusho, the Evening Star abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):lifeleech:-5 opponent +auto=_DIES_lifeleech:-5 opponent text=Flying -- When Kokusho, the Evening Star dies, each opponent loses 5 life. You gain life equal to the life lost this way. mana={4}{B}{B} type=Legendary Creature @@ -64739,7 +64739,7 @@ name=Krovikan Whispers alias=1194 target=creature auto=cumulativeupcostmulti[{U}{B}] sacrifice all(this) -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(counter{0/0.1.Age}) life:-2 controller +auto=_DIES_thisforeach(counter{0/0.1.Age}) life:-2 controller text=Enchant creature -- Cumulative upkeep {U} or {B} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- You control enchanted creature. -- When Krovikan Whispers is put into a graveyard from the battlefield, you lose 2 life for each age counter on it. mana={3}{U} type=Enchantment @@ -65696,7 +65696,7 @@ type=Instant [card] name=Launch target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=flying text=Enchant creature -- Enchanted creature has flying. -- When Launch is put into a graveyard from the battlefield, return Launch to its owner's hand. mana={1}{U} @@ -65893,7 +65893,7 @@ toughness=2 [/card] [card] name=Lawless Broker -auto=@movedTo(this|graveyard) from(battlefield):target(creature|mybattlefield) counter(1/1,1) +auto=_DIES_target(creature|mybattlefield) counter(1/1,1) text=When Lawless Broker dies, put a +1/+1 counter on target creature you control. mana={2}{B} type=Creature @@ -68624,7 +68624,7 @@ toughness=5 [card] name=Loyal Cathar abilities=vigilance -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) transforms((,newability[moveTo(mybattlefield)],newability[flip(Unhallowed Cathar)])) forever +auto=_DIES_all(trigger[to]) transforms((,newability[moveTo(mybattlefield)],newability[flip(Unhallowed Cathar)])) forever text=Vigilance -- When Loyal Cathar dies, return it to the battlefield transformed under your control at the beginning of the next end step. mana={W}{W} type=Creature @@ -69187,7 +69187,7 @@ toughness=3 [/card] [card] name=Maalfeld Twins -auto=@movedTo(this|graveyard) from(battlefield):token(Zombie,Zombie Creature,2/2,black)*2 +auto=_DIES_token(Zombie,Zombie Creature,2/2,black)*2 text=When Maalfeld Twins dies, put two 2/2 black Zombie creature tokens onto the battlefield. mana={5}{B} type=Creature @@ -71110,7 +71110,7 @@ subtype=Aura [/card] [card] name=Marker Beetles -auto=@movedTo(this|graveyard) from(battlefield):1/1 target(creature|battlefield) ueot +auto=_DIES_1/1 target(creature|battlefield) ueot auto={S}:draw:1 text=When Marker Beetles dies, target creature gets +1/+1 until end of turn. -- {2}, Sacrifice Marker Beetles: Draw a card. mana={1}{G}{G} @@ -71894,7 +71894,7 @@ toughness=1 [card] name=Matter Reshaper aicode=activate target(<1>*[zpos=1]|mylibrary) name(revealed card) moveto(myhand) name(revealed card) and!(if cantargetcard(*[-instant;-sorcery;manacost<=3]|*) then moveto(mybattlefield))! -auto=@movedTo(this|graveyard) from(battlefield):name(Reshape) reveal:1 optionone if type(*[manacost <=3]|reveal)~morethan~0 then target(*|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(myhand) optiontwoend revealend +auto=_DIES_name(Reshape) reveal:1 optionone if type(*[manacost <=3]|reveal)~morethan~0 then target(*|reveal) moveto(mybattlefield) optiononeend optiontwo name(Put in hand) target(<1>*|reveal) moveto(myhand) optiontwoend revealend text=({C} represents colorless mana.) -- When Matter Reshaper dies, reveal the top card of your library. You may put that card onto the battlefield if it's a permanent card with converted mana cost 3 or less. Otherwise, put that card into your hand. mana={2}{C} type=Creature @@ -71928,7 +71928,7 @@ toughness=2 name=Maulfist Revolutionary abilities=trample auto=target(*[artifact;creature;enchantment;land;planeswalker;player]) propagate -auto=@movedTo(this|graveyard) from(battlefield):target(*[artifact;creature;enchantment;land;planeswalker;player]) propagate +auto=_DIES_target(*[artifact;creature;enchantment;land;planeswalker;player]) propagate text=Trample -- When Maulfist Revolutionary enters the battlefield or dies, for each kind of counter on target permanent or player, give that permanent or player another counter of that kind. mana={1}{G}{G} type=Creature @@ -71949,7 +71949,7 @@ toughness=1 [/card] [card] name=Mausoleum Guard -auto=@movedTo(this|graveyard) from(battlefield):token(Spirit,Creature Spirit,1/1,white,flying)*2 +auto=_DIES_token(Spirit,Creature Spirit,1/1,white,flying)*2 text=When Mausoleum Guard dies, put two 1/1 white Spirit creature tokens with flying onto the battlefield. mana={3}{W} type=Creature @@ -72840,7 +72840,7 @@ toughness=3 [/card] [card] name=Merfolk Seer -auto=@movedTo(this|graveyard) from(battlefield):pay({1}{U}) draw:1 +auto=_DIES_pay({1}{U}) draw:1 text=When Merfolk Seer is put into a graveyard from the battlefield, you may pay {1}{U}. If you do, draw a card. mana={2}{U} type=Creature @@ -73037,7 +73037,7 @@ type=Enchantment [/card] [card] name=Messenger Drake -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller abilities=flying text=Flying -- When Messenger Drake dies, draw a card. mana={3}{U}{U} @@ -73926,7 +73926,7 @@ type=Sorcery [card] name=Mindeye Drake abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):deplete:5 target(player) +auto=_DIES_deplete:5 target(player) text=Flying -- When Mindeye Drake dies, target player puts the top five cards of his or her library into his or her graveyard. mana={4}{U} type=Creature @@ -74044,7 +74044,7 @@ toughness=1 [/card] [card] name=Mindslicer -auto=@movedto(this|graveyard) from(battlefield):reject all(*|hand) +auto=_DIES_reject all(*|hand) text=When Mindslicer dies, each player discards his or her hand. mana={2}{B}{B} type=Creature @@ -75085,7 +75085,7 @@ type=Sorcery [/card] [card] name=Mitotic Slime -auto=@movedTo(this|graveyard) from(battlefield):token(-2050321)*2 +auto=_DIES_token(-2050321)*2 text=When Mitotic Slime dies, put two 2/2 green Ooze creature tokens onto the battlefield. They have "When this creature is put into a graveyard, put two 1/1 green Ooze creature tokens onto the battlefield." mana={4}{G} type=Creature @@ -75378,7 +75378,7 @@ toughness=2 [card] name=Mogg War Marshal auto=token(Goblin,Creature Goblin,1/1,red) -auto=@movedTo(this|graveyard) from(battlefield):token(Goblin,Creature Goblin,1/1,red) +auto=_DIES_token(Goblin,Creature Goblin,1/1,red) 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} @@ -75497,7 +75497,7 @@ subtype=Aura [card] name=Moldgraf Monstrosity abilities=trample -auto=@movedTo(this|graveyard) from(battlefield):moveto(exile) && moverandom(creature) from(mygraveyard) to(myhand) && moverandom(creature) from(mygraveyard) to(myhand) +auto=_DIES_moveto(exile) && moverandom(creature) from(mygraveyard) to(myhand) && moverandom(creature) from(mygraveyard) to(myhand) text=Trample -- When Moldgraf Monstrosity dies, exile it, then return two creature cards at random from your graveyard to the battlefield. mana={4}{G}{G}{G} type=Creature @@ -75542,8 +75542,8 @@ toughness=* name=Molten Firebird abilities=flying auto={4}{R}:moveTo(exile) -autograveyard=@movedTo(this|graveyard) from(battlefield):phaseaction[endofturn] moveTo(mybattlefield) -autograveyard=@movedTo(this|graveyard) from(battlefield):nextphasealter(remove,draw,controller) +autograveyard=_DIES_phaseaction[endofturn] moveTo(mybattlefield) +autograveyard=_DIES_nextphasealter(remove,draw,controller) text=Flying -- When Molten Firebird is put into a graveyard from the battlefield, return it to the battlefield under its owner's control at the beginning of the next end step and you skip your next draw step. -- {4}{R}: Exile Molten Firebird. mana={4}{R} type=Creature @@ -76474,7 +76474,7 @@ type=Enchantment [card] name=Mortis Dogs auto=@combat(attacking) source(this):2/0 ueot -auto=@movedTo(this|graveyard) from(battlefield):target(player) dynamicability +auto=_DIES_target(player) dynamicability text=Whenever Mortis Dogs attacks, it gets +2/+0 until end of turn. -- When Mortis Dogs dies, target player loses life equal to its power. mana={3}{B} type=Creature @@ -76510,7 +76510,7 @@ type=Enchantment [/card] [card] name=Mortus Strider -auto=@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveto(ownerhand) +auto=_DIES_all(trigger[to]) moveto(ownerhand) text=When Mortus Strider dies, return it to its owner's hand. mana={1}{U}{B} type=Creature @@ -77344,7 +77344,7 @@ toughness=5 name=Mycosynth Wellspring aicode=activate target(land[basic]|mylibrary) moveto(myhand) auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend -auto=@movedTo(this|graveyard) from(battlefield):name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +auto=_DIES_name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>land[basic]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend text=When Mycosynth Wellspring enters the battlefield or is put into a graveyard from the battlefield, you may search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. mana={2} type=Artifact @@ -77532,7 +77532,7 @@ toughness=4 [/card] [card] name=Myr Retriever -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) text=When Myr Retriever dies, return another target artifact card from your graveyard to your hand. mana={2} type=Artifact Creature @@ -78430,7 +78430,7 @@ type=Land [/card] [card] name=Naya Sojourners -auto=@movedTo(this|graveyard) from(battlefield):may counter(1/1,1) target(creature) +auto=_DIES_may counter(1/1,1) target(creature) autohand={2}{G}{cycle}:name(cycling) draw:1 autohand=@cycled(this|hand):may counter(1/1,1) target(creature) text=When you cycle Naya Sojourners or it's put into a graveyard from the battlefield, you may put a +1/+1 counter on target creature. -- Cycling {2}{G} ({2}{G}, Discard this card: Draw a card.) @@ -78619,7 +78619,7 @@ type=Enchantment name=Necromancer's Magemark target=creature auto=lord(creature[enchanted]|myBattlefield) 1/1 -auto=lord(creature[enchanted]|myBattlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveto(ownerhand)])) +auto=lord(creature[enchanted]|myBattlefield) transforms((,newability[_DIES_all(trigger[to]) moveto(ownerhand)])) text=Enchant creature -- Creatures you control that are enchanted get +1/+1. -- If a creature you control that's enchanted would be put into a graveyard, return it to its owner's hand instead. mana={2}{B} type=Enchantment @@ -78663,7 +78663,7 @@ toughness=4 [card] name=Necropede abilities=infect -auto=@movedTo(this|graveyard) from(battlefield):may counter(-1/-1) target(creature) +auto=_DIES_may counter(-1/-1) target(creature) text=Infect (This creature deals damage to creatures in form of -1/-1 counters and to players in form of poison counters.) -- When Necropede dies, you may put a -1/-1 counter on target creature. mana={2} type=Artifact Creature @@ -79825,7 +79825,7 @@ toughness=2 [card] name=Nihil Spellbomb auto={T}{S}:target(player) moveTo(exile) all(*|targetedpersonsgraveyard) -auto=@movedTo(this|graveyard) from(battlefield):pay({B}) draw:1 +auto=_DIES_pay({B}) draw:1 mana={1} type=Artifact text={T}, Sacrifice Nihil Spellbomb: Exile all cards from target player's graveyard. When Nihil Spellbomb is put into a graveyard from the battlefield, you may pay {B}. If you do, draw a card. @@ -80669,7 +80669,7 @@ type=Land [card] name=Noxious Dragon abilities=flying -auto=@movedTo(this|graveyard) from(Battlefield):may destroy target(creature[manacost<=3]) +auto=_DIES_may destroy target(creature[manacost<=3]) text=Flying -- When Noxious Dragon dies, you may destroy target creature with converted mana cost 3 or less. mana={4}{B}{B} type=Creature @@ -82271,7 +82271,7 @@ type=Enchantment name=Ooze T1 type=Creature subtype=Ooze -auto=@movedTo(this|graveyard) from(battlefield):token(-2050322)*2 +auto=_DIES_token(-2050322)*2 text=When this creature is put into a graveyard, put two 1/1 green Ooze creature tokens onto the battlefield. power=2 toughness=2 @@ -83002,7 +83002,7 @@ toughness=6 [card] name=Origin Spellbomb auto={1}{T}{S}:token(Myr,Artifact Creature Myr,1/1) -auto=@movedTo(this|graveyard) from(battlefield):pay({W}) draw:1 +auto=_DIES_pay({W}) draw:1 mana={1} type=Artifact text={1}, {T}, Sacrifice Origin Spellbomb: Put a 1/1 colorless Myr artifact creature token onto the battlefield. When Origin Spellbomb is put into a graveyard from the battlefield, you may pay {W}. If you do, draw a card. @@ -83305,7 +83305,7 @@ subtype=Arcane name=Otherworldly Outburst target=creature auto=1/0 ueot -auto=transforms((,newability[@movedto(this|graveyard) from(battlefield):token(Eldrazi Horror)])) ueot +auto=transforms((,newability[_DIES_token(Eldrazi Horror)])) ueot text=Target creature gets +1/+0 until end of turn. When that creature dies this turn, put a 3/2 colorless Eldrazi Horror creature token onto the battlefield. mana={R} type=Instant @@ -84070,7 +84070,7 @@ type=Sorcery [card] name=Panic Spellbomb auto={T}{S}:cantblock target(other creature) -auto=@movedTo(this|graveyard) from(battlefield):pay({R}) draw:1 +auto=_DIES_pay({R}) draw:1 mana={1} type=Artifact text={T}, Sacrifice Panic Spellbomb: Target creature can't block this turn. When Panic Spellbomb is put into a graveyard from the battlefield, you may pay {R}. If you do, draw a card. @@ -84681,7 +84681,7 @@ toughness=2 [card] name=Pattern of Rebirth target=creature -auto=teach(creature) transforms((,newability[@movedTo(this|graveyard) from(battlefield):name(search creature) ability$!moveTo(myBattlefield) target(creature|myLibrary)!$ controller])) +auto=teach(creature) transforms((,newability[_DIES_name(search creature) ability$!moveTo(myBattlefield) target(creature|myLibrary)!$ controller])) text=Enchant creature -- When enchanted creature is put into a graveyard, that creature's controller may search his or her library for a creature card and put that card onto the battlefield. If that player does, he or she then shuffles his or her library. mana={3}{G} type=Enchantment @@ -85073,7 +85073,7 @@ toughness=0 [/card] [card] name=Penumbra Bobcat -auto=@movedTo(this|graveyard) from(battlefield):token(Cat,Creature cat,2/1,black) +auto=_DIES_token(Cat,Creature cat,2/1,black) text=When Penumbra Bobcat dies, put a 2/1 black Cat creature token onto the battlefield. mana={2}{G} type=Creature @@ -85083,7 +85083,7 @@ toughness=1 [/card] [card] name=Penumbra Kavu -auto=@movedTo(this|graveyard) from(battlefield):token(Kavu,Creature kavu,3/3,black) +auto=_DIES_token(Kavu,Creature kavu,3/3,black) text=When Penumbra Kavu dies, put a 3/3 black Kavu creature token onto the battlefield. mana={4}{G} type=Creature @@ -85094,7 +85094,7 @@ toughness=3 [card] name=Penumbra Spider abilities=reach -auto=@movedTo(this|graveyard) from(battlefield):token(Spider,Creature spider,2/4,reach black) +auto=_DIES_token(Spider,Creature spider,2/4,reach black) text=Reach (This creature can block creatures with flying.) -- When Penumbra Spider dies, put a 2/4 black Spider creature token with reach onto the battlefield. mana={2}{G}{G} type=Creature @@ -85105,7 +85105,7 @@ toughness=4 [card] name=Penumbra Wurm abilities=trample -auto=@movedTo(this|graveyard) from(battlefield):token(Wurm,Creature wurm,6/6,trample,black) +auto=_DIES_token(Wurm,Creature wurm,6/6,trample,black) text=Trample -- When Penumbra Wurm dies, put a 6/6 black Wurm creature token with trample onto the battlefield. mana={5}{G}{G} type=Creature @@ -85184,7 +85184,7 @@ type=Enchantment [/card] [card] name=Perilous Myr -auto=@movedTo(this|graveyard) from(battlefield):choice damage:2 target(creature,player) +auto=_DIES_choice damage:2 target(creature,player) text=When Perilous Myr dies, it deals 2 damage to target creature or player. mana={2} type=Artifact Creature @@ -86071,7 +86071,7 @@ toughness=1 name=Phyrexian Etchings auto=cumulativeupcost[{B}] sacrifice auto=@each my endofturn:draw:counter{0%0.1.Age} controller -auto=@movedTo(this|graveyard) from(battlefield):life:-counter{0%0.1.Age} controller +auto=_DIES_life:-counter{0%0.1.Age} controller text=Cumulative upkeep {B} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- At the beginning of your end step, draw a card for each age counter on Phyrexian Etchings. -- When Phyrexian Etchings is put into a graveyard from the battlefield, you lose 2 life for each age counter on it. mana={B}{B}{B} type=Enchantment @@ -86854,7 +86854,7 @@ type=Artifact [/card] [card] name=Pitchburn Devils -auto=@movedTo(this|graveyard) from(battlefield):damage:3 target(creature,player) +auto=_DIES_damage:3 target(creature,player) text=When Pitchburn Devils dies, it deals 3 damage to target creature or player. mana={4}{R} type=Creature @@ -86989,7 +86989,7 @@ toughness=5 [card] name=Plague Spitter auto=@each my upkeep:damage:1 all(creature,player) -auto=@movedTo(this|graveyard) from(battlefield):damage:1 all(creature,player) +auto=_DIES_damage:1 all(creature,player) text=At the beginning of your upkeep, Plague Spitter deals 1 damage to each creature and each player. -- When Plague Spitter dies, Plague Spitter deals 1 damage to each creature and each player. mana={2}{B} type=Creature @@ -87464,7 +87464,7 @@ type=Enchantment [/card] [card] name=Polluted Dead -auto=@movedTo(this|graveyard) from(battlefield):destroy target(land) +auto=_DIES_destroy target(land) text=When Polluted Dead dies, destroy target land. mana={4}{B} type=Creature @@ -87685,7 +87685,7 @@ type=Artifact [card] name=Possessed Skaab auto=moveto(myhand) target(*[instant;sorcery]|mygraveyard) -auto=@movedto(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_moveto(exile) text=When Possessed Skaab enters the battlefield, return target instant, sorcery, or creature card from your graveyard to your hand. -- If Possessed Skaab would die, exile it instead. mana={3}{U}{B} type=Creature @@ -88341,7 +88341,7 @@ subtype=Aura [card] name=Primal Druid aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend text=When Primal Druid dies, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. mana={1}{G} type=Creature @@ -91685,7 +91685,7 @@ name=Rancor target=Creature auto=2/0 auto=trample -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Enchant creature -- Enchanted creature gets +2/+0 and has trample. -- When Rancor is put into a graveyard from the battlefield, return Rancor to its owner's hand. mana={G} type=Enchantment @@ -94543,7 +94543,7 @@ toughness=3 [/card] [card] name=Returned Reveler -auto=@movedto(this|graveyard) from(battlefield):deplete:3 controller && deplete:3 opponent +auto=_DIES_deplete:3 controller && deplete:3 opponent text=When Returned Reveler dies, each player puts the top three cards of his or her library into his or her graveyard. mana={1}{B} type=Creature @@ -96036,7 +96036,7 @@ subtype=Aura [card] name=Roc Egg abilities=defender -auto=@movedTo(this|graveyard) from(battlefield):token(Bird,creature bird, 3/3,flying,white) +auto=_DIES_token(Bird,creature bird, 3/3,flying,white) text=Defender -- When Roc Egg dies, put a 3/3 white Bird creature token with flying onto the battlefield. mana={2}{W} type=Creature @@ -96552,8 +96552,8 @@ subtype=Treefolk [/card] [card] name=Rooting Kavu -auto=@movedto(this|graveyard) from(battlefield):moveto(mylibrary) all(other creature|myGraveyard) && shuffle -autograveyard=@movedto(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_moveto(mylibrary) all(other creature|myGraveyard) && shuffle +autograveyard=_DIES_moveto(exile) text=When Rooting Kavu dies, you may exile it. If you do, shuffle all creature cards from your graveyard into your library. mana={2}{G}{G} type=Creature @@ -96726,7 +96726,7 @@ toughness=2 [/card] [card] name=Rotcrown Ghoul -auto=@movedTo(this|graveyard) from(battlefield):deplete:5 target(player) +auto=_DIES_deplete:5 target(player) text=When Rotcrown Ghoul dies, target player puts the top five cards of his or her library into his or her graveyard. mana={4}{U} type=Creature @@ -96757,7 +96757,7 @@ toughness=5 [/card] [card] name=Rotlung Reanimator -auto=@movedTo(this|graveyard) from(battlefield):token(Zombie,Creature Zombie, 2/2,black) +auto=_DIES_token(Zombie,Creature Zombie, 2/2,black) auto=@movedTo(graveyard) from(other cleric|battlefield):token(Zombie,Creature Zombie, 2/2,black) text=Whenever Rotlung Reanimator or another Cleric dies, put a 2/2 black Zombie creature token onto the battlefield. mana={2}{B} @@ -96784,7 +96784,7 @@ toughness=6 [/card] [card] name=Rottenheart Ghoul -auto=@movedTo(this|graveyard) from(battlefield):target(player) ability$!name(discard) target(<1>*|myhand) reject!$ targetedplayer +auto=_DIES_target(player) ability$!name(discard) target(<1>*|myhand) reject!$ targetedplayer text=When Rottenheart Ghoul dies, target player discards a card. mana={3}{B} type=Creature @@ -97292,7 +97292,7 @@ type=Artifact [/card] [card] name=Runed Servitor -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller && draw:1 opponent +auto=_DIES_draw:1 controller && draw:1 opponent text=When Runed Servitor dies, each player draws a card. mana={2} type=Artifact Creature @@ -97377,7 +97377,7 @@ type=Legendary Enchantment [/card] [card] name=Runewing -auto=@movedTo(this|graveyard) from(battlefield):draw:1 controller +auto=_DIES_draw:1 controller abilities=flying text=Flying -- When Runewing dies, draw a card. mana={3}{U} @@ -97730,7 +97730,7 @@ toughness=2 [card] name=Ryusei, the Falling Star abilities=flying -auto=@movedTo(this|graveyard) from(battlefield):damage:5 all(creature[-flying]) +auto=_DIES_damage:5 all(creature[-flying]) text=Flying -- When Ryusei, the Falling Star dies, it deals 5 damage to each creature without flying. mana={5}{R} type=Legendary Creature @@ -97927,7 +97927,7 @@ toughness=1 [/card] [card] name=Sadistic Augermage -auto=@movedto(this|graveyard) from(battlefield):ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ controller && ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ opponent +auto=_DIES_ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ controller && ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ opponent text=When Sadistic Augermage is put into a graveyard from the battlefield, each player puts a card from his or her hand on top of his or her library. mana={2}{B} type=Creature @@ -98028,7 +98028,7 @@ type=Sorcery [/card] [card] name=Saffi Eriksdotter -auto={S}:target(other creature) transforms((,newability[@movedTo(this|graveyard) from(battlefield):all(trigger[to]) moveTo(battlefield)])) ueot +auto={S}:target(other creature) transforms((,newability[_DIES_all(trigger[to]) moveTo(battlefield)])) ueot text=Sacrifice Saffi Eriksdotter: When target creature is put into your graveyard from the battlefield this turn, return that card to the battlefield. mana={G}{W} type=Legendary Creature @@ -98342,7 +98342,7 @@ toughness=4 [card] name=Salvage Drone auto=@combatdamaged(player) from(this):ingest:1 opponent -auto=@movedTo(this|graveyard) from(battlefield):may draw:1 && transforms((,newability[reject notatarget(*|myhand)])) forever +auto=_DIES_may draw:1 && transforms((,newability[reject notatarget(*|myhand)])) forever text=Devoid (This card has no color.) -- Ingest (Whenever this creature deals combat damage to a player, that player exiles the top card of his or her library.) -- When Salvage Drone dies, you may draw a card. If you do, discard a card. mana={U} abilities=devoid @@ -101133,7 +101133,7 @@ toughness=1 [card] name=Searing Blood target=creature -auto=transforms((,newability[@movedto(this|graveyard) from(battlefield):damage:3 controller])) ueot && damage:2 +auto=transforms((,newability[_DIES_damage:3 controller])) ueot && damage:2 text=Searing Blood deals 2 damage to target creature. When that creature dies this turn, Searing Blood deals 3 damage to the creature's controller. mana={R}{R} type=Instant @@ -101484,7 +101484,7 @@ type=Sorcery [card] name=Seed Guardian abilities=reach -auto=@movedTo(this|graveyard) from(battlefield):token(Elemental,Creature Elemental,type:creature:mygraveyard/type:creature:mygraveyard,green) controller +auto=_DIES_token(Elemental,Creature Elemental,type:creature:mygraveyard/type:creature:mygraveyard,green) controller text=Reach -- When Seed Guardian dies, put an X/X green Elemental creature token onto the battlefield, where X is the number of creature cards in your graveyard. mana={2}{G}{G} type=Creature @@ -101532,7 +101532,7 @@ toughness=1 [card] name=Seedguide Ash aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(forest|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(forest|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(forest|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=When Seedguide Ash is put into a graveyard from the battlefield, you may search your library for up to three Forest cards and put them onto the battlefield tapped. If you do, shuffle your library. mana={4}{G} type=Creature @@ -101996,7 +101996,7 @@ toughness=1 [card] name=Selhoff Occultist auto=@movedTo(other creature|graveyard) from(battlefield):deplete:1 target(player) -auto=@movedTo(this|graveyard) from(battlefield):deplete:1 target(player) +auto=_DIES_deplete:1 target(player) text=Whenever Selhoff Occultist or another creature dies, target player puts the top card of his or her library into his or her graveyard. mana={2}{U} type=Creature @@ -102030,7 +102030,7 @@ toughness=2 [/card] [card] name=Sell-Sword Brute -auto=@movedto(this|graveyard) from(battlefield):damage:2 controller +auto=_DIES_damage:2 controller text=When Sell-Sword Brute dies, it deals 2 damage to you. mana={1}{R} type=Creature @@ -102654,7 +102654,7 @@ type=Artifact [card] name=Serum Raker abilities=flying -auto=@movedto(this|graveyard) from(battlefield):ability$!reject notatarget(*|myhand)!$ controller && ability$!reject notatarget(*|myhand)!$ opponent +auto=_DIES_ability$!reject notatarget(*|myhand)!$ controller && ability$!reject notatarget(*|myhand)!$ opponent text=Flying -- When Serum Raker dies, each player discards a card. mana={2}{U}{U} type=Creature @@ -102747,7 +102747,7 @@ type=Sorcery [card] name=Servo Schematic auto=create(Servo:Artifact Creature Servo:1/1) -auto=@movedto(this|graveyard) from(battlefield):create(Servo:Artifact Creature Servo:1/1) +auto=_DIES_create(Servo:Artifact Creature Servo:1/1) text=When Servo Schematic enters the battlefield or is put into a graveyard from the battlefield, create a 1/1 colorless Servo artifact creature token. mana={2} type=Artifact @@ -103233,7 +103233,7 @@ toughness=3 [/card] [card] name=Shambling Goblin -auto=@movedTo(this|graveyard) from(battlefield):-1/-1 target(creature|opponentbattlefield) ueot +auto=_DIES_-1/-1 target(creature|opponentbattlefield) ueot text=When Shambling Goblin dies, target creature an opponent controls gets -1/-1 until end of turn. mana={B} type=Creature @@ -104135,7 +104135,7 @@ type=Land [card] name=Shivan Phoenix abilities=flying -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Flying -- When Shivan Phoenix dies, return Shivan Phoenix to its owner's hand. mana={4}{R}{R} type=Creature @@ -107638,7 +107638,7 @@ toughness=2 name=Slayer's Plate auto={3}:equip auto=teach(creature) 4/2 -auto=teach(human) transforms((,newability[@movedTo(this|graveyard) from(battlefield):create(Spirit:Creature Spirit:1/1:white:flying)])) +auto=teach(human) transforms((,newability[_DIES_create(Spirit:Creature Spirit:1/1:white:flying)])) 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 @@ -107684,7 +107684,7 @@ toughness=3 [card] name=Sleeper's Guile target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=fear text=Enchant creature -- Enchanted creature has fear. (It can't be blocked except by artifact creatures and/or black creatures.) -- When Sleeper's Guile is put into a graveyard from the battlefield, return Sleeper's Guile to its owner's hand. mana={2}{B} @@ -108047,7 +108047,7 @@ toughness=2 name=Slow Motion target=creature auto=teach(creature) upcost[{2}] sacrifice -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Enchant creature -- At the beginning of the upkeep of enchanted creature's controller, that player sacrifices that creature unless he or she pays {2}. -- When Slow Motion is put into a graveyard from the battlefield, return Slow Motion to its owner's hand. mana={2}{U} type=Enchantment @@ -108079,7 +108079,7 @@ toughness=3 [card] name=Sluggishness target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=cantblock text=Enchant creature -- Enchanted creature can't block. -- When Sluggishness is put into a graveyard from the battlefield, return Sluggishness to its owner's hand. mana={1}{R} @@ -108267,7 +108267,7 @@ type=Land [/card] [card] name=Smoldering Efreet -auto=@movedto(this|graveyard) from(battlefield):damage:2 controller +auto=_DIES_damage:2 controller text=When Smoldering Efreet dies, it deals 2 damage to you. mana={1}{R} type=Creature @@ -108872,7 +108872,7 @@ toughness=2 name=Solemn Simulacrum auto=moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary) #auto=name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend -auto=@movedTo(this|graveyard) from(Battlefield):may draw:1 controller +auto=_DIES_may draw:1 controller text=When Solemn Simulacrum enters the battlefield, you may search your library for a basic land card and put that card onto the battlefield tapped. If you do, shuffle your library. -- When Solemn Simulacrum dies, you may draw a card. mana={4} type=Artifact Creature @@ -109736,7 +109736,7 @@ toughness=1 [/card] [card] name=Soulcage Fiend -auto=@movedTo(this|graveyard) from(battlefield):life:-3 opponent && life:-3 controller +auto=_DIES_life:-3 opponent && life:-3 controller text=When Soulcage Fiend dies, each player loses 3 life. mana={1}{B}{B} type=Creature @@ -111051,7 +111051,7 @@ toughness=1 [card] name=Spine of Ish Sah auto=destroy target(*) -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=When Spine of Ish Sah enters the battlefield, destroy target permanent. -- When Spine of Ish Sah is put into a graveyard from the battlefield, return Spine of Ish Sah to its owner's hand. mana={7} type=Artifact @@ -111331,7 +111331,7 @@ subtype=Aura [card] name=Spirit Loop target=creature|myBattlefield -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=teach(creature) spiritlink text=Enchant creature you control -- Whenever enchanted creature deals damage, you gain that much life. -- When Spirit Loop is put into a graveyard from the battlefield, return Spirit Loop to its owner's hand. mana={1}{W} @@ -111915,7 +111915,7 @@ type=Sorcery name=Spreading Algae target=land[swamp] auto=@tapped(mytgt):destroy -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Enchant Swamp -- When enchanted land becomes tapped, destroy it. -- When Spreading Algae is put into a graveyard from the battlefield, return Spreading Algae to its owner's hand. mana={G} type=Enchantment @@ -112429,7 +112429,7 @@ toughness=5 [card] name=Stalking Vengeance abilities=haste -auto=lord(other creature|mybattlefield) transforms((,newability[@movedTo(this|graveyard) from(Battlefield):damage:power target(player)])) +auto=lord(other creature|mybattlefield) transforms((,newability[_DIES_damage:power target(player)])) text=Haste -- Whenever another creature you control dies, it deals damage equal to its power to target player. mana={5}{R}{R} type=Creature @@ -115172,7 +115172,7 @@ type=Instant [/card] [card] name=Sultai Emissary -auto=@movedTo(this|graveyard) from(battlefield):manifest all(*[zpos=1]|mylibrary) +auto=_DIES_manifest all(*[zpos=1]|mylibrary) text=When Sultai Emissary dies, manifest the top card of your library. (Put that card onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) mana={1}{B} type=Creature @@ -116052,7 +116052,7 @@ type=Sorcery [card] name=Surveilling Sprite abilities=flying -auto=@movedto(this|graveyard) from(battlefield):may draw:1 +auto=_DIES_may draw:1 text=Flying -- When Surveilling Sprite dies, you may draw a card. mana={1}{U} type=Creature @@ -116743,8 +116743,8 @@ toughness=3 [/card] [card] name=Sylvan Hierophant -auto=@movedto(this|graveyard) from(battlefield):moveto(myhand) target(other creature|myGraveyard) -autograveyard=@movedto(this|graveyard) from(battlefield):moveto(exile) +auto=_DIES_moveto(myhand) target(other creature|myGraveyard) +autograveyard=_DIES_moveto(exile) text=When Sylvan Hierophant dies, exile Sylvan Hierophant, then return another target creature card from your graveyard to your hand. mana={1}{G} type=Creature @@ -116880,7 +116880,7 @@ type=Instant [/card] [card] name=Symbiotic Beast -auto=@movedTo(this|graveyard) from(battlefield):token(Insect,creature insect, 1/1,green)*4 +auto=_DIES_token(Insect,creature insect, 1/1,green)*4 text=When Symbiotic Beast dies, put four 1/1 green Insect creature tokens onto the battlefield. mana={4}{G}{G} type=Creature @@ -116898,7 +116898,7 @@ type=Enchantment [/card] [card] name=Symbiotic Elf -auto=@movedTo(this|graveyard) from(battlefield):token(Insect,creature insect, 1/1,green)*2 +auto=_DIES_token(Insect,creature insect, 1/1,green)*2 text=When Symbiotic Elf dies, put two 1/1 green Insect creature tokens onto the battlefield. mana={3}{G} type=Creature @@ -116908,7 +116908,7 @@ toughness=2 [/card] [card] name=Symbiotic Wurm -auto=@movedTo(this|graveyard) from(battlefield):token(Insect,creature insect, 1/1,green)*7 +auto=_DIES_token(Insect,creature insect, 1/1,green)*7 text=When Symbiotic Wurm dies, put seven 1/1 green Insect creature tokens onto the battlefield. mana={5}{G}{G}{G} type=Creature @@ -117846,7 +117846,7 @@ toughness=3 [/card] [card] name=Tarpan -auto=@movedTo(this|graveyard) from(battlefield):life:1 controller +auto=_DIES_life:1 controller text=When Tarpan dies, you gain 1 life. mana={G} type=Creature @@ -118971,7 +118971,7 @@ subtype=Arcane [/card] [card] name=Terastodon -auto=may name(destroy) target(*[-creature]|battlefield) transforms((,newability[@movedTo(this|graveyard) from(battlefield):token(Elephant Token)],newability[destroy])) +auto=may name(destroy) target(*[-creature]|battlefield) transforms((,newability[_DIES_token(Elephant Token)],newability[destroy])) text=When Terastodon enters the battlefield, you may destroy up to three target noncreature permanents. For each permanent put into a graveyard this way, its controller puts a 3/3 green Elephant creature token onto the battlefield. mana={6}{G}{G} type=Creature @@ -119091,7 +119091,7 @@ type=Land name=Terrarion auto=tap(noevent) auto={2}{T}{S}:name(add mana) ability$! choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller && ability$! choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller -auto=@movedTo(this|graveyard) from(battlefield):draw:1 +auto=_DIES_draw:1 text=Terrarion enters the battlefield tapped. -- {2}, {T}, Sacrifice Terrarion: Add two mana in any combination of colors to your mana pool. -- When Terrarion is put into the graveyard from battlefield, draw a card. mana={1} type=Artifact @@ -121695,7 +121695,7 @@ type=Sorcery [card] name=Time to Feed target=creature|opponentbattlefield -auto=transforms((prey,newability[@movedto(this|graveyard) from(battlefield):life:3 opponent])) ueot +auto=transforms((prey,newability[_DIES_life:3 opponent])) ueot auto=target(creature|mybattlefield) transforms((,newability[target(creature[prey]|opponentbattlefield) dynamicability])) ueot restriction=type(creature|opponentbattlefield)~morethan~0 text=Choose target creature an opponent controls. When that creature dies this turn, you gain 3 life. Target creature you control fights that creature. (Each deals damage equal to its power to the other.) @@ -123488,7 +123488,7 @@ toughness=4 [card] name=Treacherous Werewolf auto=aslongas(*|mygraveyard) 2/2 >6 -auto=aslongas(*|mygraveyard) transforms((,newability[@movedTo(this|graveyard) from(battlefield):life:-4 controller])) >6 +auto=aslongas(*|mygraveyard) transforms((,newability[_DIES_life:-4 controller])) >6 text=Threshold - As long as seven or more cards are in your graveyard, Treacherous Werewolf gets +2/+2 and has "When Treacherous Werewolf dies, you lose 4 life." mana={2}{B} type=Creature @@ -123553,7 +123553,7 @@ type=Sorcery [/card] [card] name=Treasure Keeper -auto=@movedTo(this|graveyard) from(battlefield):Reveal:1 revealzone(mylibrary) revealuntil(artifact[manacost<=3]|mylibrary) optionone choice name(Cast an Artifact) target(artifact[manacost<=3]|reveal) moveto(mylibrary) and!(castcard(normal))! optiononeend optiontwo target(<1>*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary)! optiontwoend revealend +auto=_DIES_Reveal:1 revealzone(mylibrary) revealuntil(artifact[manacost<=3]|mylibrary) optionone choice name(Cast an Artifact) target(artifact[manacost<=3]|reveal) moveto(mylibrary) and!(castcard(normal))! optiononeend optiontwo target(<1>*|reveal) bottomoflibrary and!(all(*|reveal) bottomoflibrary)! optiontwoend revealend text=When Treasure Keeper dies, reveal cards from the top of your library until you reveal a nonland card with converted mana cost 3 or less. You may cast that card without paying its mana cost. Put all revealed cards not cast this way on the bottom of your library in a random order. mana={4} type=Artifact Creature @@ -124527,7 +124527,7 @@ type=Sorcery [/card] [card] name=Tukatongue Thallid -auto=@movedTo(this|graveyard) from(battlefield):token(Saproling,creature Saproling,1/1,green) +auto=_DIES_token(Saproling,creature Saproling,1/1,green) text=When Tukatongue Thallid dies, put a 1/1 green Saproling creature token onto the battlefield. mana={G} type=Creature @@ -124561,7 +124561,7 @@ toughness=2 [card] name=Tuktuk the Explorer abilities=haste -auto=@movedTo(this|graveyard) from(battlefield):token(Tuktuk the Returned,Legendary Artifact Creature Goblin Golem,5/5) +auto=_DIES_token(Tuktuk the Returned,Legendary Artifact Creature Goblin Golem,5/5) text=Haste -- When Tuktuk the Explorer dies, put a legendary 5/5 colorless Goblin Golem artifact creature token named Tuktuk the Returned onto the battlefield. mana={2}{R} type=Legendary Creature @@ -125498,7 +125498,7 @@ toughness=2 [/card] [card] name=Undead Executioner -auto=@movedto(this|graveyard) from(battlefield):may target(creature) -2/-2 ueot +auto=_DIES_may target(creature) -2/-2 ueot text=When Undead Executioner dies, you may have target creature get -2/-2 until end of turn. mana={3}{B} type=Creature @@ -125726,7 +125726,7 @@ type=Sorcery [/card] [card] name=Undying Beast -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerlibrary) +autograveyard=_DIES_moveTo(ownerlibrary) text=When Undying Beast dies, put Undying Beast on top of its owner's library. mana={3}{B} type=Creature @@ -125753,7 +125753,7 @@ type=Sorcery [card] name=Undying Rage target=creature -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) auto=2/2 auto=cantblock text=Enchant creature -- Enchanted creature gets +2/+2 and can't block. -- When Undying Rage is put into a graveyard from the battlefield, return Undying Rage to its owner's hand. @@ -127764,7 +127764,7 @@ type=Sorcery [card] name=Vengeful Dead auto=@movedto(other zombie|graveyard) from(battlefield):life:-1 opponent -auto=@movedto(this|graveyard) from(battlefield):life:-1 opponent +auto=_DIES_life:-1 opponent text=Whenever Vengeful Dead or another Zombie dies, each opponent loses 1 life. mana={3}{B} type=Creature @@ -128235,7 +128235,7 @@ toughness=2 [/card] [card] name=Veteran Explorer -auto=@movedTo(this|graveyard) from(battlefield):name(fetch) transforms((,newability[ability$! moveto(ownerbattlefield) notatarget(land[basic]|mylibrary) !$ controller],newability[ability$! moveto(ownerbattlefield) notatarget(land[basic]|mylibrary) !$ opponent])) oneshot +auto=_DIES_name(fetch) transforms((,newability[ability$! moveto(ownerbattlefield) notatarget(land[basic]|mylibrary) !$ controller],newability[ability$! moveto(ownerbattlefield) notatarget(land[basic]|mylibrary) !$ opponent])) oneshot text=When Veteran Explorer dies, each player may search his or her library for up to two basic land cards and put them onto the battlefield. Then each player who searched his or her library this way shuffles it. mana={G} type=Creature @@ -128362,7 +128362,7 @@ name=Vexing Sphinx abilities=flying auto=@each my upkeep:counter(0/0,1,Age) auto=thisforeach(counter{0/0.1.Age}) upcost[{D(*|myhand)}] sacrifice -auto=@movedTo(this|graveyard) from(battlefield):thisforeach(counter{0/0.1.Age}) draw:1 controller +auto=_DIES_thisforeach(counter{0/0.1.Age}) draw:1 controller text=Flying -- Cumulative upkeep - Discard a card. (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) -- When Vexing Sphinx dies, draw a card for each age counter on it. mana={1}{U}{U} type=Creature @@ -129186,7 +129186,7 @@ toughness=2 [card] name=Viridian Emissary aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary) -auto=@movedTo(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend text=When Viridian Emissary dies, you may search your library for a basic land card and put that card onto the battlefield tapped. If you do, shuffle your library. mana={1}{G} type=Creature @@ -129783,7 +129783,7 @@ toughness=2 [card] name=Voice of Resurgence auto=@movedTo(*|opponentstack) restriction{myturnonly}:token(Elemental) -auto=@movedTo(this|graveyard) from(battlefield):token(Elemental) +auto=_DIES_token(Elemental) text=Whenever an opponent casts a spell during your turn, or whenever Voice of Resurgence dies, put a green and white Elemental creature token onto the battlefield with "This creature's power and toughness are each equal to the number of creatures you control." mana={G}{W} type=Creature @@ -130009,7 +130009,7 @@ toughness=4 [card] name=Volatile Rig auto=@damaged(this):flipacoin loseability sacrifice all(this) loseabilityend flipend -auto=@movedTo(this|graveyard) from(battlefield):flipacoin loseability damage:4 all(creature,player) loseabilityend flipend +auto=_DIES_flipacoin loseability damage:4 all(creature,player) loseabilityend flipend abilities=trample,mustattack text=Trample -- Volatile Rig attacks each turn if able. -- Whenever Volatile Rig is dealt damage, flip a coin. If you lose the flip, sacrifice Volatile Rig. -- When Volatile Rig dies, flip a coin. If you lose the flip, it deals 4 damage to each creature and each player. mana={4} @@ -132629,7 +132629,7 @@ type=Artifact [card] name=Weatherseed Treefolk abilities=trample -autograveyard=@movedTo(this|graveyard) from(battlefield):moveTo(ownerhand) +autograveyard=_DIES_moveTo(ownerhand) text=Trample -- When Weatherseed Treefolk dies, return Weatherseed Treefolk to its owner's hand. mana={2}{G}{G}{G} type=Creature @@ -132892,7 +132892,7 @@ toughness=2 name=Welkin Hawk abilities=flying aicode=activate moveTo(myHand) target(Welkin Hawk|myLibrary) -auto=@movedto(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(Welkin Hawk|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(Welkin Hawk|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend text=Flying -- When Welkin Hawk dies, you may search your library for a card named Welkin Hawk, reveal that card, put it into your hand, then shuffle your library. mana={1}{W} type=Creature @@ -134637,7 +134637,7 @@ toughness=6 [card] name=Wirewood Herald aicode=activate moveTo(myHand) target(elf|myLibrary) -auto=@movedto(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(elf|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(elf|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend text=When Wirewood Herald dies, you may search your library for an Elf card, reveal that card, put it into your hand, then shuffle your library. mana={1}{G} type=Creature @@ -135506,7 +135506,7 @@ toughness=0 [/card] [card] name=Workshop Assistant -auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(other artifact|mygraveyard) +auto=_DIES_moveTo(myhand) target(other artifact|mygraveyard) text=When Workshop Assistant dies, return another target artifact card from your graveyard to your hand. mana={3} type=Artifact Creature @@ -135593,7 +135593,7 @@ subtype=Equipment [/card] [card] name=Worldspine Wurm -auto=@movedto(this|graveyard) from(battlefield):token(Wurm,Creature Wurm,5/5,green,trample)*3 +auto=_DIES_token(Wurm,Creature Wurm,5/5,green,trample)*3 autograveyard=moveTo(ownerlibrary) && shuffle abilities=trample text=Trample -- When Worldspine Wurm dies, put three 5/5 green Wurm creature tokens with trample onto the battlefield. -- When Worldspine Wurm is put into a graveyard from anywhere, shuffle it into its owner's library. @@ -136021,7 +136021,7 @@ type=Sorcery [card] name=Wurmcoil Engine abilities=lifelink,deathtouch -auto=@movedTo(this|graveyard) from(battlefield):token(Wurm T1) && token(Wurm T2) +auto=_DIES_token(Wurm T1) && token(Wurm T2) text=Deathtouch, Lifelink -- When Wurmcoil Engine dies, put a 3/3 colorless Wurm artifact creature token with deathtouch and a 3/3 colorless Wurm artifact creature token with lifelink onto the battlefield. mana={6} type=Artifact Creature @@ -136284,7 +136284,7 @@ toughness=1 name=Yavimaya Elder auto={2}{S}:draw:1 aicode=activate moveTo(myHand) target(land[basic]|myLibrary) -auto=@movedto(this|graveyard) from(battlefield):name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend +auto=_DIES_name(search card) reveal:plibrarycount optionone name(choose card) target(land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myhand))! afterrevealedend revealend text=When Yavimaya Elder dies, you may search your library for up to two basic land cards, reveal them, and put them into your hand. If you do, shuffle your library. -- {2}, Sacrifice Yavimaya Elder: Draw a card. mana={1}{G}{G} type=Creature