diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/ONE.txt b/projects/mtg/bin/Res/missing_cards_by_sets/ONE.txt index 4716fbd01..87e4eedaf 100644 --- a/projects/mtg/bin/Res/missing_cards_by_sets/ONE.txt +++ b/projects/mtg/bin/Res/missing_cards_by_sets/ONE.txt @@ -9,6 +9,15 @@ power=4 toughness=7 [/card] [card] +name=Melira, the Living Cure +text=If you would get one or more poison counters, instead you get one poison counter and you can't get additional poison counters this turn. -- Exile Melira, the Living Cure: Choose another target creature or artifact. When it's put into a graveyard this turn, return that card to the battlefield under its owner's control. +mana={G}{W} +type=Legendary Creature +subtype=Human Scout +power=3 +toughness=3 +[/card] +[card] name=Mirran Safehouse text=As long as Mirran Safehouse is on the battlefield, it has all activated abilities of all land cards in all graveyards. mana={3} @@ -60,6 +69,15 @@ mana={3} type=Artifact [/card] [card] +name=Melira, the Living Cure +text=If you would get one or more poison counters, instead you get one poison counter and you can't get additional poison counters this turn. -- Exile Melira, the Living Cure: Choose another target creature or artifact. When it's put into a graveyard this turn, return that card to the battlefield under its owner's control. +mana={G}{W} +type=Legendary Creature +subtype=Human Scout +power=3 +toughness=3 +[/card] +[card] name=Drivnod, Carnage Dominus text=If a creature dying causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time. -- {B/P}{B/P}, Exile three creature cards from your graveyard: Put an indestructible counter on Drivnod, Carnage Dominus. ({B/P} can be paid with either {B} or 2 life.) mana={3}{B}{B} diff --git a/projects/mtg/bin/Res/sets/C20/_cards.dat b/projects/mtg/bin/Res/sets/C20/_cards.dat index 0f509f3d0..8b159fef5 100644 --- a/projects/mtg/bin/Res/sets/C20/_cards.dat +++ b/projects/mtg/bin/Res/sets/C20/_cards.dat @@ -16,12 +16,12 @@ id=-484906 rarity=T [/card] [card] -primitive=Treasure Sur +primitive=Treasure id=-484904 rarity=T [/card] [card] -primitive=Treasure Shi +primitive=Treasure id=-484902 rarity=T [/card] diff --git a/projects/mtg/bin/Res/sets/KHM/_cards.dat b/projects/mtg/bin/Res/sets/KHM/_cards.dat index c07110485..f65e1443f 100644 --- a/projects/mtg/bin/Res/sets/KHM/_cards.dat +++ b/projects/mtg/bin/Res/sets/KHM/_cards.dat @@ -81,7 +81,7 @@ id=-503834 rarity=T [/card] [card] -primitive=Treasure For +primitive=Treasure id=-503827 rarity=T [/card] @@ -146,7 +146,7 @@ id=-503758 rarity=T [/card] [card] -primitive=Treasure Mag +primitive=Treasure id=-503754 rarity=T [/card] diff --git a/projects/mtg/bin/Res/sets/M21/_cards.dat b/projects/mtg/bin/Res/sets/M21/_cards.dat index fa135c770..1215ec19b 100644 --- a/projects/mtg/bin/Res/sets/M21/_cards.dat +++ b/projects/mtg/bin/Res/sets/M21/_cards.dat @@ -56,7 +56,7 @@ id=-485471 rarity=T [/card] [card] -primitive=Treasure Gad +primitive=Treasure id=-485469 rarity=T [/card] diff --git a/projects/mtg/bin/Res/sets/MIC/_cards.dat b/projects/mtg/bin/Res/sets/MIC/_cards.dat index 8283cf7b8..d2b08f0d1 100644 --- a/projects/mtg/bin/Res/sets/MIC/_cards.dat +++ b/projects/mtg/bin/Res/sets/MIC/_cards.dat @@ -51,7 +51,7 @@ id=-53939511 rarity=T [/card] [card] -primitive=Treasure Sur +primitive=Treasure id=-540753 rarity=T [/card] diff --git a/projects/mtg/bin/Res/sets/VOC/_cards.dat b/projects/mtg/bin/Res/sets/VOC/_cards.dat index 287524061..639244337 100644 --- a/projects/mtg/bin/Res/sets/VOC/_cards.dat +++ b/projects/mtg/bin/Res/sets/VOC/_cards.dat @@ -31,7 +31,7 @@ id=-546993 rarity=T [/card] [card] -primitive=Treasure Sur +primitive=Treasure id=-546992 rarity=T [/card] diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 14b08c275..8926232b7 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -133,8 +133,8 @@ # Explore, not implemented #AUTO_DEFINE _EXPLORE_ reveal:1 optionone if type(land|reveal)~lessthan~1 then transforms((,newability[counter(1/1)])) optiononeend optiontwo if type(land|reveal)~morethan~0 then name(move to Hand) target(<1>*|reveal) moveto(myHand) else transforms((,newability[Choice name(back to library) target(<1>*|reveal) moveto(mylibrary)],newability[Choice name(put into Graveyard) target(<1>*|reveal) moveto(myGraveyard)])) optiontwoend revealend limit:1 -# Treasure token, Set XLN -#AUTO_DEFINE _TREASURE_ token(Treasure Sur) +# Treasure token +#AUTO_DEFINE _TREASURE_ token(Treasure) # Cast a historic spell #AUTO_DEFINE _CASTHISTORIC_ @movedTo(*[artifact;legendary;saga]|mystack): diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 37934a221..c83fd0071 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -237,9 +237,9 @@ toughness=2 [card] name=Academy Manufactor auto=@tokencreated(food|myBattlefield):token(Clue,notrigger) -auto=@tokencreated(food|myBattlefield):token(Treasure Sur,notrigger) +auto=@tokencreated(food|myBattlefield):token(Treasure,notrigger) auto=@tokencreated(clue|myBattlefield):token(Food,notrigger) -auto=@tokencreated(clue|myBattlefield):token(Treasure Sur,notrigger) +auto=@tokencreated(clue|myBattlefield):token(Treasure,notrigger) auto=@tokencreated(treasure|myBattlefield):token(Food,notrigger) auto=@tokencreated(treasure|myBattlefield):token(Clue,notrigger) text=If you would create a Clue, Food, or Treasure token, instead create one of each. @@ -1987,7 +1987,7 @@ toughness=1 name=An Offer You Can't Refuse target=*[-creature]|stack auto=fizzle -auto=token(Treasure Sur)*2 opponent +auto=token(Treasure)*2 opponent text=Counter target noncreature spell. Its controller creates two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={U} type=Instant @@ -2135,7 +2135,7 @@ toughness=7 [card] name=Ancient Copper Dragon abilities=flying -auto=@combatdamaged(player) from(this):rolld20 20 winability donothing winabilityend rolld20end && create(treasure sur)*lastrollresult +auto=@combatdamaged(player) from(this):rolld20 20 winability donothing winabilityend rolld20end && create(Treasure)*lastrollresult text=Flying -- Whenever Ancient Copper Dragon deals combat damage to a player, roll a d20. You create a number of Treasure tokens equal to the result. mana={4}{R}{R} type=Creature @@ -3949,6 +3949,18 @@ power=3 toughness=3 [/card] [card] +name=Argentum Masticore +abilities=first strike +auto=protection from(*[multicolor]) +auto=@each my upkeep:name(Choose one) transforms((,newability[choice name(Sacrifice masticore) sacrifice],newability[if type(*|myhand)~morethan~0 then choice name(Discard a card) name(Discard a card) target(*|myhand) reject and!( transforms((,newability[name(Destroy permanent) target(*[-land&manacost<=manacost]|opponentbattlefield) destroy])) oneshot )!])) oneshot +text=First strike, protection from multicolored -- At the beginning of your upkeep, sacrifice Argentum Masticore unless you discard a card. When you discard a card this way, destroy target nonland permanent an opponent controls with mana value less than or equal to the mana value of the discarded card. +mana={5} +type=Artifact Creature +subtype=Phyrexian Masticore +power=5 +toughness=5 +[/card] +[card] name=Argivian Avenger auto={1}:name(Gain flying) transforms((,newability[flying],newability[-1/-1])) ueot auto={1}:name(Gain vigilance) transforms((,newability[vigilance],newability[-1/-1])) ueot @@ -4910,6 +4922,17 @@ mana={1}{G} type=Sorcery [/card] [card] +name=Atraxa's Skitterfang +auto=counter(0/0,3,Oil) +auto=@each my combatbegins restriction{compare(hascntoil)~morethan~0}:may name(Remove oil counter) all(this) counter(0/0,-1,Oil) && target(creature|myBattlefield) transforms((,newability[choice name(Gains flying) becomes(^^flying) ueot],newability[choice name(Gains vigilance) becomes(^^vigilance) ueot],newability[name(Gains deathtouch) becomes(^^deathtouch) ueot],newability[choice name(Gains lifelink) becomes(^^lifelink) ueot])) ueot +text=Atraxa's Skitterfang enters the battlefield with three oil counters on it. -- At the beginning of combat on your turn, you may remove an oil counter from Atraxa's Skitterfang. When you do, target creature you control gains your choice of flying, vigilance, deathtouch, or lifelink until end of turn. +mana={3} +type=Artifact Creature +subtype=Phyrexian Insect +power=2 +toughness=2 +[/card] +[card] name=Atraxa, Grand Unifier abilities=deathtouch,flying,lifelink,vigilance aicode=activate transforms((,newability[target(*[zpos<=10]|mylibrary) moveto(myhand) and!( all(*[zpos<=10]) moveto(myreveal) and!( bottomoflibrary )! )! ])) oneshot @@ -5635,7 +5658,7 @@ type=Land [/card] [card] name=Axgard Artisan -auto=@counteradded(1/1) from(this) turnlimited:create(Treasure Sur) +auto=@counteradded(1/1) from(this) turnlimited:create(Treasure) text=Whenever one or more +1/+1 counters are put on Axgard Artisan for the first time each turn, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{R} type=Creature @@ -5924,8 +5947,8 @@ type=Sorcery name=Baeloth Barrityl, Entertainer abilities=backgroundpartner auto=lord(creature[power<=pminus1minusend]|opponentBattlefield) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack])) -auto=@movedto(creature[-blocking;attacking;counter{0/0.1.Goaded}]|graveyard) from(battlefield):name(Create treasure) token(Treasure Sur) -auto=@movedto(creature[-attacking;blocking;counter{0/0.1.Goaded}]|graveyard) from(battlefield):name(Create treasure) token(Treasure Sur) +auto=@movedto(creature[-blocking;attacking;counter{0/0.1.Goaded}]|graveyard) from(battlefield):name(Create treasure) token(Treasure) +auto=@movedto(creature[-attacking;blocking;counter{0/0.1.Goaded}]|graveyard) from(battlefield):name(Create treasure) token(Treasure) text=Creatures your opponents control with power less than Baeloth Barrityl's power are goaded. (They attack each combat if able and attack a player other than you if able.) -- Whenever a goaded attacking or blocking creature dies, you create a Treasure token. -- Choose a Background (You can have a Background as a second commander.) mana={4}{R} type=Legendary Creature @@ -6833,7 +6856,7 @@ toughness=4 name=Battle Angels of Tyr abilities=flying auto=@combatdamaged(player) from(this) restriction{compare(ohandcount)~morethan~compare(phandcount)}:name(Draw a card) name(Draw a card) draw:1 controller -auto=@combatdamaged(player) from(this) restriction{type(land|opponentbattlefield)~morethan~type(land|mybattlefield)}:name(Create Treasure) name(Create Treasure) token(Treasure Sur) +auto=@combatdamaged(player) from(this) restriction{type(land|opponentbattlefield)~morethan~type(land|mybattlefield)}:name(Create Treasure) name(Create Treasure) token(Treasure) auto=@combatdamaged(player) from(this) restriction{compare(opponentlifetotal)~morethan~compare(lifetotal)}:name(Gain 3 life) name(Gain 3 life) life:3 controller text=Flying, myriad -- Whenever Battle Angels of Tyr deals combat damage to a player, draw a card if that player has more cards in hand than each other player. Then you create a Treasure token if that player controls more lands than each other player. Then you gain 3 life if that player has more life than each other player. mana={2}{W}{W} @@ -7078,7 +7101,7 @@ toughness=2 name=Beamtown Beatstick auto=teach(creature) 1/0 auto=teach(creature) menace -auto=teach(creature) transforms((,newability[@combatdamagefoeof(player) from(this):create(Treasure sur)])) +auto=teach(creature) transforms((,newability[@combatdamagefoeof(player) from(this):create(Treasure)])) auto={2}:equip text=Equipped creature gets +1/+0 and has menace. (It can't be blocked except by two or more creatures.) -- Whenever equipped creature deals combat damage to a player or battle, create a Treasure token. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) mana={R} @@ -7782,7 +7805,7 @@ type=Instant [card] name=Big Score auto=draw:2 controller -auto=token(Treasure Sur)*2 +auto=token(Treasure)*2 text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{R}{D(other *|myhand)} type=Instant @@ -8141,7 +8164,7 @@ subtype=Gate name=Black Market Connections auto=@each my firstmain:may name(Hire a Mercenary) Create(Shapeshifter:Creature Shapeshifter:3/2:changeling) && life:-3 auto=@each my firstmain:may name(Buy Information) Draw:1 && life:-2 -auto=@each my firstmain:may name(Sell Contraband) Create(Treasure sur) && life:-1 +auto=@each my firstmain:may name(Sell Contraband) Create(Treasure) && life:-1 text=At the beginning of your precombat main phase, choose one or more - -- - Sell Contraband - Create a Treasure token. You lose 1 life. -- - Buy Information - Draw a card. You lose 2 life. -- - Hire a Mercenary - Create a 3/2 colorless Shapeshifter creature token with changeling. You lose 3 life. (It has every creature type.) mana={2}{B} type=Enchantment @@ -8149,7 +8172,7 @@ type=Enchantment [card] name=Black Market Tycoon auto=@each my upkeep:foreach(treasure|myBattlefield) damage:2 controller -auto={T}:token(Treasure sur) +auto={T}:token(Treasure) text=At the beginning of your upkeep, Black Market Tycoon deals 2 damage to you for each Treasure you control. -- {T}: Create a Treasure token. mana={R}{G} type=Creature @@ -9169,7 +9192,7 @@ toughness=3 [/card] [card] name=Blood Money -auto=@movedto(creature|graveyard):create(treasure sur) and!( tap(noevent) )! +auto=@movedto(creature|graveyard):create(Treasure) and!( tap(noevent) )! auto=destroy all(creature) text=Destroy all creatures. For each nontoken creature destroyed this way, you create a tapped Treasure token. mana={5}{B}{B} @@ -10522,7 +10545,7 @@ toughness=1 [/card] [card] name=Bootleggers' Stash -auto=lord(land|myBattlefield) {T}:token(Treasure sur) +auto=lord(land|myBattlefield) {T}:token(Treasure) text=Lands you control have "{T}: Create a Treasure token." mana={5}{G} type=Artifact @@ -11041,7 +11064,7 @@ toughness=1 [/card] [card] name=Brass's Bounty -auto=name(Create treasures) token(Treasure Sur)*type:land:myBattlefield +auto=name(Create treasures) token(Treasure)*type:land:myBattlefield text=For each land you control, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={6}{R} type=Sorcery @@ -11111,7 +11134,7 @@ toughness=3 [/card] [card] name=Brazen Freebooter -auto=token(Treasure Sur) +auto=token(Treasure) text=When Brazen Freebooter enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{R} type=Creature @@ -11919,7 +11942,7 @@ type=Instant [/card] [card] name=Bucknard's Everfull Purse -auto={1}{T}:name(Roll a d4) rolld4 4 winability token(Treasure Sur)*lastrollresult winabilityend loseability token(Treasure Sur)*lastrollresult loseabilityend rolld4end +auto={1}{T}:name(Roll a d4) rolld4 4 winability token(Treasure)*lastrollresult winabilityend loseability token(Treasure)*lastrollresult loseabilityend rolld4end auto=@dierolled(this):moveto(opponentbattlefield) text={1}, {T}: Roll a d4 and create a number of Treasure tokens equal to the result. The player to your right gains control of Bucknard's Everfull Purse. mana={2} @@ -11977,7 +12000,7 @@ toughness=2 name=Burakos, Party Leader abilities=backgroundpartner auto=becomes(Cleric Rogue Warrior Wizard) -auto=_ATTACKING_damage:calculateparty opponent && create(Treasure sur)*calculateparty +auto=_ATTACKING_damage:calculateparty opponent && create(Treasure)*calculateparty text=Burakos, Party Leader is also a Cleric, Rogue, Warrior, and Wizard. -- Whenever Burakos attacks, defending player loses X life and you create X Treasure tokens, where X is the number of creatures in your party. -- Choose a Background (You can have a Background as a second commander.) mana={3}{B} type=Legendary Creature @@ -11987,7 +12010,7 @@ toughness=4 [/card] [card] name=Burdened Aerialist -auto=token(Treasure Sur) +auto=token(Treasure) auto=@sacrificed(*[token]|mybattlefield):name(Gains flying) transforms((,newability[flying])) ueot text=When Burdened Aerialist enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever you sacrifice a token, Burdened Aerialist gains flying until end of turn. mana={2}{U} @@ -12241,7 +12264,7 @@ type=Sorcery [card] name=Buy Your Silence target=*[-land] -auto=moveto(exile) && create(Treasure Sur) targetController +auto=moveto(exile) && create(Treasure) targetController text=Exile target nonland permanent. Its controller creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={4}{W} type=Sorcery @@ -12899,8 +12922,8 @@ toughness=1 [card] name=Captain Lannery Storm abilities=haste -auto=@sacrificed(TreasureArtifactToken):1/0 ueot -auto=_ATTACKING_token(435451) +auto=@sacrificed(Treasure):1/0 ueot +auto=_ATTACKING_token(Treasure) text=Haste -- Whenever Captain Lannery Storm attacks, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Whenever you sacrifice a Treasure, Captain Lannery Storm gets +1/+0 until end of turn. mana={2}{R} type=Legendary Creature @@ -17188,7 +17211,7 @@ type=Sorcery name=Compleat Devotion target=creature|myBattlefield auto=transforms((,newability[2/2 ueot])) ueot -auto=if cantargetcard(creature[poisontoxic|poisontwotoxic|poisonthreetoxic]|*) then name(Draw a card) draw:1 controller +auto=if cantargetcard(creature[hastoxic]|*) then name(Draw a card) name(Draw a card) draw:1 controller text=Target creature you control gets +2/+2 until end of turn. If that creature has toxic, draw a card. mana={1}{W} type=Instant @@ -17869,7 +17892,7 @@ type=Instant name=Contract Killing target=creature auto=destroy -auto=token(435451)*2 +auto=token(Treasure)*2 text=Destroy target creature. Create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={3}{B}{B} type=Sorcery @@ -18121,7 +18144,7 @@ type=Enchantment [/card] [card] name=Corsair Captain -auto=token(Treasure Sur) +auto=token(Treasure) auto=lord(other creature[pirate]|mybattlefield) 1/1 text=When Corsair Captain enters the battlefield, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Other Pirates you control get +1/+1. mana={2}{U} @@ -18439,7 +18462,7 @@ color=blue name=Crack Open target=artifact,enchantment auto=destroy -auto=token(Treasure Sur) +auto=token(Treasure) text=Destroy target artifact or enchantment. Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{G} type=Sorcery @@ -18716,7 +18739,7 @@ target=player,creature,planeswalker auto=damage:5 aicode=activate transforms((,newability[target(*[zpos<=5]|mylibrary) moveto(myhand) and!( all(*[zpos<=5]|mylibrary) moveto(myreveal) and!( bottomoflibrary )! )!])) ueot auto=name(Reveal 5 cards) reveal:5 optionone name(Get Card) target(*|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) all(*|reveal) bottomoflibrary optiontwoend revealend -autohand={UR}{UR}{D}:token(Treasure Sur) +autohand={UR}{UR}{D}:token(Treasure) text=Creative Outburst deals 5 damage to any target. Look at the top five cards of your library. Put one of them into your hand and the rest on the bottom of your library in a random order. -- {UR}{UR}, Discard Creative Outburst: Create a Treasure token. mana={3}{U}{U}{R}{R} type=Instant @@ -19365,7 +19388,7 @@ type=Sorcery [/card] [card] name=Culmination of Studies -auto=all(land[zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[token(Treasure Sur)])) oneshot )! +auto=all(land[zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[token(Treasure)])) oneshot )! auto=all(*[blue;zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[draw:1 controller])) oneshot )! auto=all(*[red;zpos<=x]|mylibrary) moveto(exile) and!( transforms((,newability[damage:1 opponent])) oneshot )! text=Exile the top X cards of your library. For each land card exiled this way, create a Treasure token. For each blue card exiled this way, draw a card. For each red card exiled this way, Culmination of Studies deals 1 damage to each opponent. @@ -19708,7 +19731,7 @@ subtype=Aura Curse [card] name=Curse of Opulence target=player -auto=@combat(attacking) source(creature|myBattlefield) turnlimited:name(Create Gold) token(435451) +auto=@combat(attacking) source(creature|myBattlefield) turnlimited:name(Create Gold) token(Gold) text=Enchant player -- Whenever enchanted player is attacked, create a colorless artifact token named Gold. It has "Sacrifice this artifact: Add one mana of any color.". Each opponent attacking that player does the same. mana={R} type=Enchantment @@ -20915,7 +20938,7 @@ toughness=4 [/card] [card] name=Deadeye Plunderers -auto={2}{U}{B}:token(435451) +auto={2}{U}{B}:token(Treasure) auto=foreach(artifact|mybattlefield) 1/1 text=Deadeye Plunderers gets +1/+1 for each artifact you control. -- {2}{U}{B}: Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={3}{U}{B} @@ -21009,7 +21032,7 @@ toughness=3 name=Deadly Derision target=creature,planeswalker auto=destroy -auto=create(Treasure sur) +auto=create(Treasure) text=Destroy target creature or planeswalker. Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{B}{B} type=Instant @@ -21025,7 +21048,7 @@ type=Enchantment [card] name=Deadly Dispute auto=draw:2 controller -auto=token(Treasure Sur) +auto=token(Treasure) text=As an additional cost to cast this spell, sacrifice an artifact or creature. -- Draw two cards and create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{B}{S(*[creature;artifact]|myBattlefield)} type=Instant @@ -22124,7 +22147,7 @@ toughness=9 name=Depths of Desire target=creature auto=moveto(ownerhand) -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) text=Return target creature to its owner's hand. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={2}{U} type=Instant @@ -22176,8 +22199,8 @@ toughness=0 [/card] [card] name=Descent into Avernus -auto=@each my upkeep:thisforeach(counter{0/0.1.descent}) create(treasure sur) controller -auto=@each my upkeep:thisforeach(counter{0/0.1.descent}) create(treasure sur) opponent +auto=@each my upkeep:thisforeach(counter{0/0.1.descent}) create(Treasure) controller +auto=@each my upkeep:thisforeach(counter{0/0.1.descent}) create(Treasure) opponent auto=@each my upkeep:counter(0/0,2,descent) && all(player) thisforeach(counter{0/0.1.descent}) damage:1 text=At the beginning of your upkeep, put two descent counters on Descent into Avernus. Then each player creates X Treasure tokens and Descent into Avernus deals X damage to each player, where X is the number of descent counters on Descent into Avernus. mana={2}{R} @@ -22686,7 +22709,7 @@ type=Enchantment [card] name=Diabolical Salvation abilities=split second -auto=name(Create devil) token(Devil,Creature Devil,4/4,red,unreath) and!( transforms((,newability[_DIES_token(Treasure Sur)])) forever )! +auto=name(Create devil) token(Devil,Creature Devil,4/4,red,unreath) and!( transforms((,newability[_DIES_token(Treasure)])) 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 @@ -22817,7 +22840,7 @@ abilities=canbecommander auto=counter(0/0,5,loyalty) auto={C(0/0,+2,Loyalty)}:target(legendary[creature]) transforms((,newability[vigilance],newability[lifelink],newability[indestructible])) uynt auto={C(0/0,+2,Loyalty)}:name(No target) donothing -auto={C(0/0,-3,Loyalty)}:name(Reveal the top four) reveal:4 optionone name(Select any number of legendary) target(*[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(Put into your graveyard) all(<4>*|reveal) moveto(mygraveyard) and!(token(treasure sur))! optiontwoend revealend +auto={C(0/0,-3,Loyalty)}:name(Reveal the top four) reveal:4 optionone name(Select any number of legendary) target(*[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(Put into your graveyard) all(<4>*|reveal) moveto(mygraveyard) and!(token(Treasure))! optiontwoend revealend auto={C(0/0,-11,Loyalty)}:moveto(myBattlefield) all(*[-land]) && all(*[-land]) transforms((,newability[untap],newability[haste])) ueot text=[+2]: Up to one target legendary creature gains vigilance, lifelink, and indestructible until your next turn. -- [-3]: Reveal the top four cards of your library. Put any number of legendary cards from among them into your hand and the rest into your graveyard. Create a Treasure token for each card put into your graveyard this way. -- [-11]: Gain control of all nonland permanents until end of turn. Untap them. They gain haste until end of turn. -- Dihada, Binder of Wills can be your commander. mana={1}{R}{W}{B} @@ -22944,7 +22967,7 @@ toughness=1 [/card] [card] name=Dire Fleet Hoarder -auto=_DIES_token(435451) +auto=_DIES_token(Treasure) 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 @@ -23666,8 +23689,8 @@ toughness=2 [/card] [card] name=Dockside Extortionist -auto=name(Create treasures) token(Treasure Sur)*type:artifact:opponentbattlefield -auto=name(Create treasures) token(Treasure Sur)*type:enchantment:opponentbattlefield +auto=name(Create treasures) token(Treasure)*type:artifact:opponentbattlefield +auto=name(Create treasures) token(Treasure)*type:enchantment:opponentbattlefield text=When Dockside Extortionist enters the battlefield, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control. (Treasure tokens are artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{R} type=Creature @@ -25601,7 +25624,7 @@ aicode=activate target(*[zpos<=3]|mylibrary) moveto(myhand) and!( transforms((,n autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Yawning Portal) name(Yawning Portal) life:1 controller!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Dungeon Level) name(Dungeon Level) _SCRY1_!$ controller -autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~3}:ability$!name(Goblin Bazaar or Twisted Caverns) all(Dungeon of the Mad Mage|mycommandzone) transforms((,newability[choice name(Goblin Bazaar) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend],newability[if type(creature|battlefield)~morethan~0 then choice name(Twisted Caverns) name(Twisted Caverns) target(creature|battlefield) transforms((,newability[cantattack],newability[cantpwattack])) uynt])) oneshot!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~3}:ability$!name(Goblin Bazaar or Twisted Caverns) all(Dungeon of the Mad Mage|mycommandzone) transforms((,newability[choice name(Goblin Bazaar) token(Treasure)*type:*[twodngtrg]:mybattlefieldplus1plusend],newability[if type(creature|battlefield)~morethan~0 then choice name(Twisted Caverns) name(Twisted Caverns) target(creature|battlefield) transforms((,newability[cantattack],newability[cantpwattack])) uynt])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Lost Level) name(Lost Level) _SCRY2_!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~5}:ability$!name(Runestone Caverns or Muiral's Graveyard) transforms((,newability[choice name(Muiral's Graveyard) token(Skeleton Mad)*twicetype:*[twodngtrg]:mybattlefieldplus1plusend],newability[choice name(Runestone Caverns) all(*[zpos<=twicecardcountabiltwodngtrgplus1plusend]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile forever])) forever )!])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Dungeon of the Mad Mage|mycommandzone) restriction{compare(hascntexplore)~equalto~6}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Deep Mines) name(Deep Mines) _SCRY3_!$ controller @@ -25613,7 +25636,7 @@ type=Dungeon [card] name=Dungeoneer's Pack auto=tap(noevent) -auto={2}{T}{S}:name(Create treasure, draw and life) transforms((,newability[_INITIATIVE_CONTROLLER_],newability[token(Treasure Sur)],newability[draw:1 controller],newability[life:3 life])) oneshot asSorcery +auto={2}{T}{S}:name(Create treasure, draw and life) transforms((,newability[_INITIATIVE_CONTROLLER_],newability[token(Treasure)],newability[draw:1 controller],newability[life:3 life])) oneshot asSorcery text=Dungeoneer's Pack enters the battlefield tapped. -- {2}, {T}, Sacrifice Dungeoneer's Pack: You take the initiative, gain 3 life, draw a card, and create a Treasure token. Activate only as a sorcery. (A Treasure token is an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3} type=Artifact @@ -26591,7 +26614,7 @@ color=white [card] name=Elemental Masterpiece auto=token(Elemental,Creature Elemental,4/4,blue,red)*2 -autohand={UR}{UR}{D}:name(Create a treasure) token(Treasure Sur) +autohand={UR}{UR}{D}:name(Create a treasure) token(Treasure) text=Create two 4/4 blue and red Elemental creature tokens. -- {UR}{UR}, Discard Elemental Masterpiece: Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={5}{U}{R} type=Sorcery @@ -29108,9 +29131,9 @@ toughness=3 [card] name=Excavation Technique other={3}{W} name(Demonstrate) -auto=name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot -auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot!$ controller -auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure Sur)*2])) oneshot!$ opponent +auto=name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure)*2])) oneshot +auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure)*2])) oneshot!$ controller +auto=if paid(alternative) then ability$!name(Destroy permanent) name(Destroy permanent) target(*[-land]|battlefield) transforms((,newability[destroy],newability[token(Treasure)*2])) oneshot!$ opponent text=Demonstrate (When you cast this spell, you may copy it. If you do, choose an opponent to also copy it. Players may choose new targets for their copies.) -- Destroy target nonland permanent. Its controller creates two Treasure tokens. mana={3}{W} type=Sorcery @@ -29211,7 +29234,7 @@ toughness=4 [card] name=Exhibition Magician auto=choice create(citizen:creature citizen:1/1:green,white) -auto=choice token(Treasure sur) +auto=choice token(Treasure) text=When Exhibition Magician enters the battlefield, choose one -- Create a 1/1 green and white Citizen creature token. -- Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Creature @@ -29762,7 +29785,7 @@ backside=Reflection of Kiki-Jiki restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0,1,Lore) -auto=token(Goblin, Goblin Shaman Creature,2/2,red) and!( transforms((,newability[_ATTACKING_name(Create treasure) token(Treasure Sur)])) forever )! +auto=token(Goblin, Goblin Shaman Creature,2/2,red) and!( transforms((,newability[_ATTACKING_name(Create treasure) token(Treasure)])) forever )! auto=@each my firstmain:counter(0/0,1,Lore) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}<=2) may name(Discard and draw) reject notatarget(*|myhand) and!( draw:1 controller )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) this(counter{0/0.3.Lore}) moveto(exile) and!( flip(backside) forcetype(Creature) )! asSorcery @@ -29875,7 +29898,7 @@ type=Instant name=Fae Offering auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create clue) token(Clue) auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create food) token(Food) -auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create treasure) token(Treasure Sur) +auto=@each my end restriction{thisturn(*[-creature]|mystack)~morethan~0,thisturn(*[creature]|mystack)~morethan~0}:name(Create treasure) token(Treasure) text=At the beginning of each end step, if you've cast both a creature spell and a noncreature spell this turn, create a Clue token, a Food token, and a Treasure token. mana={2}{G} type=Enchantment @@ -30012,7 +30035,7 @@ type=Instant [card] name=Fain, the Broker auto={T}{S(creature|mybattlefield)}:name(Put two 1/1 counters) target(creature|battlefield) counter(1/1,2) -auto={T}:name(Create a treasure) target(creature[counter{any}]|mybattlefield) transforms((,newability[removesinglecountertype(1)],newability[token(Treasure Sur)])) oneshot +auto={T}:name(Create a treasure) target(creature[counter{any}]|mybattlefield) transforms((,newability[removesinglecountertype(1)],newability[token(Treasure)])) oneshot auto={T}{S(artifact|mybattlefield)}:name(Create an inkling) token(Inkling,Creature Inkling,2/1,white,black,flying) auto={3}{B}:name(Untap Fain, the Broker) untap all(this) text={T}, Sacrifice a creature: Put two +1/+1 counters on target creature. -- {T}, Remove a counter from a creature you control: Create a Treasure token. -- {T}, Sacrifice an artifact: Create a 2/1 white and black Inkling creature token with flying. -- {3}{B}: Untap Fain, the Broker. @@ -32557,7 +32580,7 @@ toughness=1 [card] name=Flensing Raptor abilities=flying,poisontoxic -auto=name(Creature gains 1/1 and flying) target(other creature[poisontoxic|poisontwotoxic|poisonthreetoxic]|myBattlefield) transforms((,newability[1/1],newability[flying])) ueot +auto=name(Creature gains 1/1 and flying) target(other creature[hastoxic]|myBattlefield) transforms((,newability[1/1],newability[flying])) ueot text=Flying -- Toxic 1 (Players dealt combat damage by this creature also get a poison counter.) -- When Flensing Raptor enters the battlefield, another target creature you control with toxic gets +1/+1 and gains flying until end of turn. mana={2}{W} type=Creature @@ -33230,8 +33253,8 @@ type=Sorcery name=Forging the Tyrite Sword auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) -auto=token(Treasure Sur) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(Treasure Sur) +auto=token(Treasure) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) token(Treasure) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search library) target(equipment,Halvar^ God of Battle|mylibrary) moveTo(myhand) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I, II - Create a Treasure token. -- III - Search your library for a card named Halvar, God of Battle or an Equipment card, reveal it, put it into your hand, then shuffle your library. @@ -33333,7 +33356,7 @@ toughness=5 [card] name=Forsworn Paladin abilities=menace -auto={1}{B}{L:1}{T}:name(Create treasure) token(Treasure Sur) +auto={1}{B}{L:1}{T}:name(Create treasure) token(Treasure) auto={2}{B}:name(Pay without treasure) target(creature) 2/0 ueot auto={2}{S(treasure[-tapped]|mybattlefield)}:name(Pay with treasure) target(creature) transforms((,newability[2/0],newability[deathtouch])) ueot text=Menace -- {1}{B}, {T}, Pay 1 life: Create a Treasure token. -- {2}{B}: Target creature get +2/+0 until end of turn. If mana from a Treasure was spent to activate this ability, that creature also gains deathtouch until end of turn. @@ -34099,7 +34122,7 @@ toughness=3 [card] name=Furnace Reins target=creature -auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste,newability[@combatdamaged(player) from(this):create(Treasure sur)])) ueot)! +auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste,newability[@combatdamaged(player) from(this):create(Treasure)])) ueot)! text=Gain control of target creature until end of turn. Untap that creature. Until end of turn, it gains haste and "Whenever this creature deals combat damage to a player or battle, create a Treasure token." (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Sorcery @@ -34208,7 +34231,7 @@ name=Gadrak, the Crown-Scourge abilities=flying auto=aslongas(artifact|myBattlefield) cantattack <4 auto=aslongas(artifact|myBattlefield) cantpwattack <4 -auto=@each my endofturn:foreach(creature[-token;fresh]|graveyard) token(Treasure Sur) +auto=@each my endofturn:foreach(creature[-token;fresh]|graveyard) token(Treasure) text=Flying -- Gadrak, the Crown-Scourge can't attack unless you control four or more artifacts. -- At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Legendary Creature @@ -34312,7 +34335,7 @@ toughness=4 [card] name=Galazeth Prismari abilities=flying -auto=token(Treasure Sur) +auto=token(Treasure) auto=lord(artifact|mybattlefield) transforms((,newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{W}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{B}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{R}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{U}],newability[this(variable{type:*[instant;sorcery]:myhand}>0) {T}:add{G}])) text=Flying -- When Galazeth Prismari enters the battlefield, create a Treasure token. -- Artifacts you control have " {T}: Add one mana of any color. Spend this mana only to cast an instant or sorcery spell." mana={2}{U}{R} @@ -34466,8 +34489,8 @@ type=Sorcery [card] name=Ganax, Astral Hunter abilities=flying,backgroundpartner -auto=token(Treasure sur) -auto=@movedTo(Dragon|myBattlefield):token(Treasure sur) +auto=token(Treasure) +auto=@movedTo(Dragon|myBattlefield):token(Treasure) text=Flying -- Whenever Ganax, Astral Hunter or another Dragon enters the battlefield under your control, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Choose a Background (You can have a Background as a second commander.) mana={4}{R} type=Legendary Creature @@ -35880,7 +35903,7 @@ type=Instant [/card] [card] name=Gilded Pinions -auto=token(Treasure sur) +auto=token(Treasure) auto=teach(creature) flying auto={2}:equip text=When Gilded Pinions enters the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Equipped creature has flying. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) @@ -36349,7 +36372,7 @@ type=Land [card] name=Gleaming Barrier abilities=defender -auto=_DIES_token(Treasure Sur) +auto=_DIES_token(Treasure) 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 @@ -36616,7 +36639,7 @@ subtype=Aura [/card] [card] name=Glittermonger -auto={T}:token(Treasure sur) +auto={T}:token(Treasure) text={T}: Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{G} type=Creature @@ -36814,7 +36837,7 @@ toughness=3 [card] name=Gluntch, the Bestower abilities=flying -auto=@each my endofturn:name(Choose options) transforms((,newability[choice name(Players put counters and opponent draws) draw:2 opponent && target(creature|mybattlefield) counter(1/1.2)],newability[choice name(Players put counters and opponent creates treasure) token(Treasure Sur)*2 opponent && target(creature|mybattlefield) counter(1/1.2)],newability[choice name(Players draws and opponent creates treasure) token(Treasure Sur)*2 opponent && draw:2 controller],newability[choice name(Players draws and opponent put counters) draw:2 controller && ability$!name(Put 1/1 counters) target(creature|mybattlefield) counter(1/1.2)!$ opponent],newability[choice name(Players creates treasure and opponent draws) token(Treasure Sur)*2 controller && draw:2 opponent],newability[choice name(Players creates treasure and opponent put counters) token(Treasure Sur)*2 controller && ability$!name(Put 1/1 counters) target(creature|mybattlefield) counter(1/1.2)!$ opponent])) oneshot +auto=@each my endofturn:name(Choose options) transforms((,newability[choice name(Players put counters and opponent draws) draw:2 opponent && target(creature|mybattlefield) counter(1/1.2)],newability[choice name(Players put counters and opponent creates treasure) token(Treasure)*2 opponent && target(creature|mybattlefield) counter(1/1.2)],newability[choice name(Players draws and opponent creates treasure) token(Treasure)*2 opponent && draw:2 controller],newability[choice name(Players draws and opponent put counters) draw:2 controller && ability$!name(Put 1/1 counters) target(creature|mybattlefield) counter(1/1.2)!$ opponent],newability[choice name(Players creates treasure and opponent draws) token(Treasure)*2 controller && draw:2 opponent],newability[choice name(Players creates treasure and opponent put counters) token(Treasure)*2 controller && ability$!name(Put 1/1 counters) target(creature|mybattlefield) counter(1/1.2)!$ opponent])) oneshot text=Flying -- At the beginning of your end step, choose a player. They put two +1/+1 counters on a creature they control. Choose a second player to draw a card. Then choose a third player to create two Treasure tokens. mana={1}{G}{W} type=Legendary Creature @@ -37870,8 +37893,8 @@ toughness=9 [card] name=Goldspan Dragon abilities=flying,haste -auto=@targeted(this):token(Treasure Sur) -auto=_ATTACKING_token(Treasure Sur) +auto=@targeted(this):token(Treasure) +auto=_ATTACKING_token(Treasure) auto=lord(artifact[treasure]|mybattlefield) transforms((,newability[{T}{S}:add{W}{W}],newability[{T}{S}:add{R}{R}],newability[{T}{S}:add{U}{U}],newability[{T}{S}:add{G}{G}],newability[{T}{S}:add{B}{B}])) text=Flying, haste -- Whenever Goldspan Dragon attacks or becomes the target of a spell, create a Treasure token. -- Treasures you control have "{T}, Sacrifice this artifact: Add two mana of any one color." mana={3}{R}{R} @@ -37884,7 +37907,7 @@ toughness=4 name=Goldvein Pick auto={1}:equip auto=teach(creature) 1/1 -auto=@combatdamaged(player) from(mytgt):token(Treasure Sur) +auto=@combatdamaged(player) from(mytgt):token(Treasure) text=Equipped creature gets +1/+1. -- Whenever equipped creature deals combat damage to a player, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.) mana={2} type=Artifact @@ -37941,7 +37964,7 @@ toughness=0 [card] name=Goliath Hatchery auto=name(Create 2 beasts) token(Phyrexian Beast,Creature Phyrexian Beast,3/3,green,poisontoxic)*2 -auto=@each my upkeep restriction{compare(opponentpoisoncount)~morethan~2}:name(Choose a creature) name(Choose a creature) target(creature|myBattlefield) transforms((,newability[if cantargetcard(*[poisonthreetoxic]|*) then draw:3 controller],newability[if cantargetcard(*[poisontwotoxic]|*) then draw:2 controller],newability[if cantargetcard(*[poisontoxic]|*) then draw:1 controller])) oneshot +auto=@each my upkeep restriction{compare(opponentpoisoncount)~morethan~2}:name(Choose a creature) name(Choose a creature) target(creature[hastoxic]|myBattlefield) transforms((,newability[draw:toxicity controller])) oneshot text=When Goliath Hatchery enters the battlefield, create two 3/3 green Phyrexian Beast creature tokens with toxic 1. (Players dealt combat damage by them also get a poison counter.) -- Corrupted - At the beginning of your upkeep, if an opponent has three or more poison counters, choose a creature you control, then draw cards equal to its total toxic value. mana={4}{G}{G} type=Enchantment @@ -38937,7 +38960,7 @@ color=white name=Grim Bounty target=creature,planeswalker auto=destroy -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) text=Destroy target creature or planeswalker. Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{B}{B} type=Sorcery @@ -38973,7 +38996,7 @@ toughness=2 [/card] [card] name=Grim Hireling -auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Create Treasures) token(Treasure Sur)*2 +auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Create Treasures) token(Treasure)*2 auto=this(variable{type:treasure:mybattlefield}>=1) {B}{S(treasure|mybattlefield)}:name(Sacrifice 1 treasure) target(creature) -1/-1 ueot asSorcery auto=this(variable{type:treasure:mybattlefield}>=2) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 2 treasures) target(creature) -2/-2 ueot asSorcery auto=this(variable{type:treasure:mybattlefield}>=3) {B}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}{S(treasure|mybattlefield)}:name(Sacrifice 3 treasures) target(creature) -3/-3 ueot asSorcery @@ -40294,7 +40317,7 @@ toughness=2 [/card] [card] name=Halo Scarab -autograveyard={2}{E}:token(Treasure sur) +autograveyard={2}{E}:token(Treasure) text={2}, Exile Halo Scarab from your graveyard: Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact Creature @@ -41268,7 +41291,7 @@ auto={1}{T}:Add{U} auto={1}{T}:Add{B} auto={1}{T}:Add{R} auto={1}{T}:Add{G} -auto={1}{T}{T(Gate|myBattlefield)}:token(Treasure sur) +auto={1}{T}{T(Gate|myBattlefield)}:token(Treasure) text={T}: Add {C}. -- {1}, {T}: Add one mana of any color. -- {1}, {T}, Tap an untapped Gate you control: Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") type=Land subtype=Gate @@ -41330,7 +41353,7 @@ type=Instant name=Heartless Pillage target=opponent auto=ability$!name(discard 2 cards) target(<2>*|myhand) reject!$ targetedplayer -auto=if raid then token(Treasure sur) +auto=if raid then token(Treasure) text=Target opponent discards two cards. -- Raid - If you attacked with a creature this turn, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={2}{B} type=Sorcery @@ -41721,7 +41744,7 @@ toughness=3 [/card] [card] name=Herald of Hadar -auto={5}{B}:name(Roll a d20) rolld20 20 winability token(Treasure Sur) winabilityend rolld20end +auto={5}{B}:name(Roll a d20) rolld20 20 winability token(Treasure) winabilityend rolld20end auto=@dierolled(this) from(controller):life:-2 opponent auto=@dierolled(this) result(10) from(controller):life:2 controller auto=@dierolled(this) result(11) from(controller):life:2 controller @@ -42100,8 +42123,8 @@ subtype=Equipment [card] name=Hexgold Slash target=creature -auto=if cantargetcard(creature[-poisontoxic&-poisontwotoxic&-poisonthreetoxic]|*) then damage:2 -auto=if cantargetcard(creature[poisontoxic|poisontwotoxic|poisonthreetoxic]|*) then damage:4 +auto=if cantargetcard(creature[-hastoxic]|*) then damage:2 +auto=if cantargetcard(creature[hastoxic]|*) then damage:4 text=Hexgold Slash deals 2 damage to target creature. If that creature has toxic, Hexgold Slash deals 4 damage to that creature instead. mana={R} type=Instant @@ -42465,7 +42488,7 @@ toughness=4 [/card] [card] name=Hoard Robber -auto=@combatdamaged(player) from(this):name(Create treasure) token(Treasure Sur) +auto=@combatdamaged(player) from(this):name(Create treasure) token(Treasure) text=Whenever Hoard Robber deals combat damage to a player, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{B} type=Creature @@ -42488,7 +42511,7 @@ toughness=6 [/card] [card] name=Hoarding Ogre -auto=_ATTACKING_name(Roll a d20) rolld20 20 winability token(Treasure Sur)*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then token(Treasure Sur) else token(Treasure Sur)*2 loseabilityend rolld20end +auto=_ATTACKING_name(Roll a d20) rolld20 20 winability token(Treasure)*3 winabilityend loseability if compare(lastrollresult)~lessthan~10 then token(Treasure) else token(Treasure)*2 loseabilityend rolld20end text=Whenever Hoarding Ogre attacks, roll a d20. -- 1-9 | Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- 10-19 | Create two Treasure tokens. -- 20 | Create three Treasure tokens. mana={3}{R} type=Creature @@ -43054,7 +43077,7 @@ toughness=2 name=Hornswoggle target=creature|stack auto=fizzle -auto=token(Treasure Sur) +auto=token(Treasure) text=Counter target creature spell. You create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color." mana={2}{U} type=Instant @@ -44883,14 +44906,14 @@ type=Enchantment name=Improvised Weaponry target=player,creature,planeswalker auto=damage:2 -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) text=Improvised Weaponry deals 2 damage to any target. Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Sorcery [/card] [card] name=Impulsive Pilferer -auto=_DIES_token(Treasure Sur) +auto=_DIES_token(Treasure) autograveyard={3}{R}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(treason,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} @@ -45593,7 +45616,7 @@ name=Ingenious Mastery other={2}{U} name(Cast without X) aicode=activate transforms((,newability[all(*[zpos<=2]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto=if paid(alternative) then draw:3 controller -auto=if paid(alternative) then token(Treasure Sur)*2 opponent +auto=if paid(alternative) then token(Treasure)*2 opponent auto=if paid(alternative) then ability$!name(Scry 2) name(Scry 2) _SCRY2_!$ opponent auto=ifnot paid(alternative) then draw:x controller text=You may pay {2}{U} rather than pay this spell's mana cost. -- If the {2}{U} cost was paid, you draw three cards, then an opponent creates two Treasure tokens and they scry 2. If that cost wasn't paid, you draw X cards. @@ -45944,7 +45967,7 @@ toughness=5 [card] name=Inspired Tinkering auto=name(Exile top 3 cards) all(*[zpos<=3]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile uent])) uent )! -auto=name(Create 3 treasures) token(Treasure Sur)*3 +auto=name(Create 3 treasures) token(Treasure)*3 text=Exile the top three cards of your library. Until the end of your next turn, you may play those cards. -- Create three Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={4}{R} type=Sorcery @@ -46053,7 +46076,7 @@ subtype=Aura [card] name=Instrument of the Bards auto=@each my upkeep:may name(Put harmony counter) counter(0/0,1,Harmony) -auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost=hascntharmony]|mylibrary) moveTo(myhand) and!( if cantargetcard(*[legendary]|*) then token(Treasure Sur) )!])) oneshot +auto={3}{G}{T}:name(Search creature) transforms((,newability[target(creature[manacost=hascntharmony]|mylibrary) moveTo(myhand) and!( if cantargetcard(*[legendary]|*) then token(Treasure) )!])) oneshot text=At the beginning of your upkeep, you may put a harmony counter on Instrument of the Bards. -- {3}{G}, {T}: Search your library for a creature card with mana value equal to the number of harmony counters on Instrument of the Bards, reveal it, and put it into your hand. If that card is legendary, create a Treasure token. Then shuffle. mana={G} type=Legendary Artifact @@ -46443,7 +46466,7 @@ backside=Truga Cliffcharger restriction=compare(isflipped)~equalto~0 anyzone={0}:doubleside(backside) auto=counter(0/0.4.Defense) -auto=ability$!name(Create treasure) token(Treasure Sur)!$ controller +auto=ability$!name(Create treasure) token(Treasure)!$ controller auto=ability$!may name(Discard and draw) target(*|myhand) reject and!( transforms((,newability[draw:1 controller])) oneshot )!!$ controller auto=moveto(opponentbattlefield) auto=@defeated(this):name(Exile and transforms) name(Exile and transforms) moveto(ownerexile) and!( flip(backside) forcetype(Creature Rhino) )! @@ -46971,7 +46994,7 @@ type=Sorcery name=Involuntary Employment target=creature auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)! -auto=token(Treasure sur) +auto=token(Treasure) text=Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{R} type=Sorcery @@ -47712,7 +47735,7 @@ toughness=3 [card] name=Jan Jansen, Chaos Crafter abilities=haste -auto={T}{S(artifact[creature]|myBattlefield)}:token(Treasure sur)*2 +auto={T}{S(artifact[creature]|myBattlefield)}:token(Treasure)*2 auto={T}{S(artifact[-creature]|myBattlefield)}:create(construct:artifact creature construct:1/1:colorless:)*2 text=Haste -- {T}, Sacrifice an artifact creature: Create two Treasure tokens. -- {T}, Sacrifice a noncreature artifact: Create two 1/1 colorless Construct artifact creature tokens. mana={R}{W}{B} @@ -47766,7 +47789,7 @@ auto=counter(0/0,5,loyalty) auto={C(0/0,+1,Loyalty)}:create(Kavu:Creature Kavu:3/3:trample:white:blue:black:red:green) auto={C(0/0,-3,Loyalty)}:name(counters equal to number of colors) target(creature) transforms((,newability[counter(1/1.mycolnum)])) auto={C(0/0,-6,Loyalty)}:moveTo(ownerhand) target(*[multicolor]|mygraveyard) -auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(ownerhand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && token(Treasure sur)*2 +auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(ownerhand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && token(Treasure)*2 text=[+1]: Create a 3/3 Kavu creature token with trample that's all colors. -- [-3]: Choose up to two target creatures. For each of them, put a number of +1/+1 counters on it equal to the number of colors it is. -- [-6]: Return target multicolored card from your graveyard to your hand. If that card was all colors, draw a card and create two Treasure tokens. -- Jared Carthalion can be your commander. mana={W}{U}{B}{R}{G} type=Legendary Planeswalker @@ -47968,7 +47991,7 @@ toughness=4 [card] name=Jewel Thief abilities=vigilance,trample -auto=token(Treasure sur) +auto=token(Treasure) text=Vigilance, trample -- When Jewel Thief enters the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{G} type=Creature @@ -47979,7 +48002,7 @@ toughness=3 [card] name=Jewel-Eyed Cobra abilities=deathtouch -auto=_DIES_name(Create Treasure) token(Treasure Sur) +auto=_DIES_name(Create Treasure) token(Treasure) 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 @@ -48144,8 +48167,8 @@ type=Instant [/card] [card] name=Jolene, the Plunder Queen -auto=@each my blockers:name(Create treasure) create(Treasure Sur) -auto=@tokencreated(*[Treasure]|myBattlefield):token(Treasure Sur,notrigger) +auto=@each my blockers:name(Create treasure) create(Treasure) +auto=@tokencreated(*[Treasure]|myBattlefield):token(Treasure,notrigger) auto={S(*[Treasure]|myBattlefield)}{S(*[Treasure]|myBattlefield)}{S(*[Treasure]|myBattlefield)}{S(*[Treasure]|myBattlefield)}{S(*[Treasure]|myBattlefield)} restriction{type(*[Treasure]|myBattlefield)~morethan~4}:counter(1/1,5) text=Whenever a player attacks one or more of your opponents, that attacking player creates a Treasure token. -- If you would create one or more Treasure tokens, instead create those tokens plus an additional Treasure token. -- Sacrifice five Treasures: Put five +1/+1 counters on Jolene. mana={2}{R}{G} @@ -48773,7 +48796,7 @@ type=Sorcery [/card] [card] name=Kalain, Reclusive Painter -auto=token(Treasure Sur) +auto=token(Treasure) auto=@sacrificed(*[treasure]|mybattlefield) restriction{type(creature|myrestrictedcastingzone)~morethan~0}:may name(Treasure sacrificed for next creature) counter(0/0.1.TreasToken) auto=@movedto(other creature|mybattlefield) restriction{compare(hascnttreastoken)~morethan~0}:name(Put 1/1 counter) all(trigger[to]) counter(1/1.hascnttreastoken) && all(this) removeallcounters(0/0.1.TreasToken) auto=@each end restriction{compare(hascnttreastoken)~morethan~0}:removeallcounters(0/0.1.TreasToken) @@ -52979,7 +53002,7 @@ type=Instant [card] name=Life Insurance auto=_EXTORT_ -auto=@movedTo(creature[-token]|graveyard) from(battlefield):life:-1 && token(Treasure sur) +auto=@movedTo(creature[-token]|graveyard) from(battlefield):life:-1 && token(Treasure) text=Extort (Whenever you cast a spell, you may pay {W/B}. If you do, each opponent loses 1 life and you gain that much life.) -- Whenever a nontoken creature dies, you lose 1 life and create a Treasure token. mana={3}{W}{B} type=Enchantment @@ -54020,8 +54043,8 @@ toughness=7 [card] name=Loot Dispute auto=_INITIATIVE_CONTROLLER_ -auto=name(Create treasure) token(Treasure Sur) -auto=@each my blockers restriction{compare(oinitiative)~morethan~0}:name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) +auto=@each my blockers restriction{compare(oinitiative)~morethan~0}:name(Create treasure) token(Treasure) auto=@dungeoncompleted(*[dungeon]|mysideboard) from(controller):name(Create dragon) token(Dragon,Creature Dragon,5/5,red,flying) text=When Loot Dispute enters the battlefield, you take the initiative and create a Treasure token. -- Whenever you attack the player who has the initiative, create a Treasure token. -- Loud Ruckus - Whenever you complete a dungeon, create a 5/5 red Dragon creature token with flying. mana={3}{R} @@ -54262,7 +54285,7 @@ name=Lost Mine of Phandelver restriction=never autocommandzone=transforms((,newability[shroud],newability[indestructible])) forever autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Cave Entrance) name(Cave Entrance) _SCRY1_!$ controller -autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend _GOBLINTOKEN_ and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure Sur)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:ability$!name(Goblin Lair or Mine Tunnels) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Goblin Lair)*type:*[twodngtrg]:mybattlefieldplus1plusend _GOBLINTOKEN_ and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.GoblinLiar) notrg )!],newability[choice name(Mine Tunnels) token(Treasure)*type:*[twodngtrg]:mybattlefieldplus1plusend and!( all(Lost Mine of Phandelver|mycommandzone) counter(0/0.1.MineTunnels) notrg )!])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntgoblinliar)~morethan~0}:ability$!name(Storeroom or Dark Pool) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Storeroom) name(Storeroom) target(creature|battlefield) counter(1/1)],newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend opponent])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntminetunnels)~morethan~0}:ability$!name(Dark Pool or Fungi Cavern) all(Lost Mine of Phandelver|mycommandzone) transforms((,newability[choice name(Dark Pool) life:type:*[twodngtrg]:mybattlefieldplus1plusend controller controller && life:-type:*[twodngtrg]:mybattlefieldplus1plusend controller opponent],newability[if type(creature|battlefield)~morethan~0 then choice name(Fungi Cavern) name(Fungi Cavern) target(creature|battlefield) transforms((,newability[-4/0])) uynt])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Lost Mine of Phandelver|mycommandzone) restriction{compare(hascntexplore)~equalto~4}:choice name(Dungeon completed) all(Lost Mine of Phandelver|mycommandzone) completedungeon:1 controller @@ -55074,7 +55097,7 @@ toughness=4 [card] name=Magda, Brazen Outlaw auto=lord(other dwarf|mybattlefield) 1/0 -auto=@tapped(dwarf|mybattlefield):token(Treasure Sur) +auto=@tapped(dwarf|mybattlefield):token(Treasure) auto={S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}{S(*[treasure]|mybattlefield)}:name(Search dragon or artifact) target(*[dragon;artifact]|mylibrary) moveto(myBattlefield) and!( shuffle )! text=Other Dwarves you control get +1/+0. -- Whenever a Dwarf you control becomes tapped, create a Treasure token. -- Sacrifice five Treasures: Search your library for an artifact or Dragon card, put that card onto the battlefield, then shuffle your library. mana={1}{R} @@ -55308,7 +55331,7 @@ toughness=1 [/card] [card] name=Mahadi, Emporium Master -auto=@each my endofturn:name(Create treasures) token(Treasure sur)*bothalldeadcreature +auto=@each my endofturn:name(Create treasures) token(Treasure)*bothalldeadcreature text=At the beginning of your end step, create a Treasure token for each creature that died this turn. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{B}{R} type=Legendary Creature @@ -55515,7 +55538,7 @@ toughness=1 [card] name=Malcolm, Keen-Eyed Navigator abilities=flying,partner -auto=@combatdamagefoeof(player) from(*[pirate]|myBattlefield):token(Treasure Sur) +auto=@combatdamagefoeof(player) from(*[pirate]|myBattlefield):token(Treasure) text=Flying -- Whenever one or more Pirates you control deal damage to your opponents, you create a Treasure token for each opponent dealt damage. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Partner (You can have two commanders if both have partner.) mana={2}{U} type=Legendary Creature @@ -56032,7 +56055,7 @@ toughness=6 [/card] [card] name=Marching Duodrone -auto=_ATTACKING_token(treasure sur) controller && token(treasure sur) opponent +auto=_ATTACKING_token(Treasure) controller && token(Treasure) opponent text=Whenever Marching Duodrone attacks, each player creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact Creature @@ -56284,7 +56307,7 @@ toughness=2 [card] name=Marut abilities=trample -auto=name(Create treasures) token(Treasure Sur)*type:treasure[fresh]:mygraveyard +auto=name(Create treasures) token(Treasure)*type:treasure[fresh]:mygraveyard text=Trample -- When Marut enters the battlefield, if mana from a Treasure was spent to cast it, create a Treasure token for each mana from a Treasure spent to cast it. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={8} type=Artifact Creature @@ -56671,9 +56694,7 @@ type=Land name=Maze's Mantle abilities=flash target=creature -auto=if cantargetcard(*[poisontoxic]|*) then transforms((,newability[opponentshroud])) ueot -auto=if cantargetcard(*[poisontwotoxic]|*) then transforms((,newability[opponentshroud])) ueot -auto=if cantargetcard(*[poisonthreetoxic]|*) then transforms((,newability[opponentshroud])) ueot +auto=if cantargetcard(*[hastoxic]|*) then transforms((,newability[opponentshroud])) ueot auto=teach(creature) 2/2 text=Flash -- Enchant creature -- When Maze's Mantle enters the battlefield, if enchanted creature has toxic, that creature gains hexproof until end of turn. -- Enchanted creature gets +2/+2. mana={2}{G} @@ -57833,7 +57854,7 @@ toughness=1 [card] name=Minimus Containment target=artifact,creature,enchantment,planeswalker -auto=teach(*) transforms((,newability[flip(Treasure Sur)],newability[counter(0/0.1.MinimusEffect)])) +auto=teach(*) transforms((,newability[flip(Treasure)],newability[counter(0/0.1.MinimusEffect)])) auto=@movedto(this|nonbattlezone) from(battlefield):choice name(Minimus effect ends) target(*[counter{0/0.1.MinimusEffect}]) transforms((,newability[flip(myorigname) undocpy],newability[removeallcounters(0/0.1.MinimusEffect)])) forever text=Enchant nonland permanent -- Enchanted permanent is a Treasure artifact with "{T}, Sacrifice this artifact: Add one mana of any color" and it loses all other abilities. (If it was a creature, it's no longer a creature.) mana={2}{W} @@ -59147,7 +59168,7 @@ toughness=1 [/card] [card] name=Monologue Tax -auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:name(Create Treasure) token(Treasure Sur) +auto=@movedto(*|opponentStack) restriction{thisturn(*|opponentStack)~equalto~1}:name(Create Treasure) token(Treasure) text=Whenever an opponent casts their second spell each turn, you create a Treasure token. mana={2}{W} type=Enchantment @@ -59231,6 +59252,14 @@ power=* toughness=* [/card] [card] +name=Monument to Perfection +auto={3}{T}:name(Search land) target(land[basic;sphere;locus]|mylibrary) moveto(myhand) and!( shuffle )! +auto=this(variable{ninelands}>=9) {3}:name(Becomes phyrexian) name(Becomes phyrexian) all(this) loseabilities forever && all(this) becomes(Artifact Phyrexian Construct Creature,9/9,indestructible,poisonninetoxic) forever +text={3}, {T}: Search your library for a basic, Sphere, or Locus land card, reveal it, put it into your hand, then shuffle. -- {3}: Monument to Perfection becomes a 9/9 Phyrexian Construct artifact creature, loses all abilities, and gains indestructible and toxic 9. Activate only if there are nine or more lands with different names among the basic, Sphere, and Locus lands you control. +mana={2} +type=Artifact +[/card] +[card] name=Monumental Corruption target=player auto=draw:type:artifact:mybattlefield @@ -59586,7 +59615,7 @@ name=Most Wanted abilities=flash target=creature auto=teach(creature) 2/1 -auto=teach(creature) transforms((,newability[_DIES_token(Treasure sur)*2])) controller +auto=teach(creature) transforms((,newability[_DIES_token(Treasure)*2])) controller text=Flash -- Enchant creature -- Enchanted creature gets +2/+1. -- When enchanted creature dies, create two Treasure tokens. mana={2}{G} type=Enchantment @@ -60962,13 +60991,9 @@ subtype=Aura [card] name=Necrogen Rotpriest abilities=poisontwotoxic -auto=@combatdamageof(player) from(creature[poisontoxic]|battlefield):name(Get additional poison) alterpoison:1 controller -auto=@combatdamagefoeof(player) from(creature[poisontoxic]|battlefield):name(Get additional poison) alterpoison:1 opponent -auto=@combatdamageof(player) from(creature[poisontwotoxic]|battlefield):name(Get additional poison) alterpoison:1 controller -auto=@combatdamagefoeof(player) from(creature[poisontwotoxic]|battlefield):name(Get additional poison) alterpoison:1 opponent -auto=@combatdamageof(player) from(creature[poisonthreetoxic]|battlefield):name(Get additional poison) alterpoison:1 controller -auto=@combatdamagefoeof(player) from(creature[poisonthreetoxic]|battlefield):name(Get additional poison) alterpoison:1 opponent -auto={1}{B}{G}:name(Toxic creature gains deathtouch) target(creature|myBattlefield) transforms((,newability[this(variable{hasabilitypoisonthreetoxic}>0)while deathtouch],newability[this(variable{hasabilitypoisontwotoxic}>0)while deathtouch],newability[this(variable{hasabilitypoisontoxic}>0)while deathtouch])) ueot +auto=@combatdamageof(player) from(creature[hastoxic]|battlefield):name(Get additional poison) alterpoison:1 controller +auto=@combatdamagefoeof(player) from(creature[hastoxic]|battlefield):name(Get additional poison) alterpoison:1 opponent +auto={1}{B}{G}:name(Toxic creature gains deathtouch) target(creature[hastoxic]|myBattlefield) transforms((,newability[deathtouch])) ueot text=Toxic 2 (Players dealt combat damage by this creature also get two poison counters.) -- Whenever a creature you control with toxic deals combat damage to a player, that player gets an additional poison counter. -- {1}{B}{G}: Target creature you control with toxic gains deathtouch until end of turn. mana={2}{B}{G} type=Creature @@ -62412,7 +62437,7 @@ toughness=2 name=Noble's Purse auto=tap(noevent) auto=counter(0/0,3,Coin) -auto={T}{C(0/0.-1.Coin)}:token(Treasure sur) +auto={T}{C(0/0.-1.Coin)}:token(Treasure) text=Noble's Purse enters the battlefield tapped and with three coin counters on it. -- {T}, Remove a coin counter from Noble's Purse: Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact @@ -63401,7 +63426,7 @@ toughness=1 [card] name=Ognis, the Dragon's Lash abilities=haste -auto=@combat(attacking) source(creature[haste]|mybattlefield):token(Treasure sur) and!( tap(noevent) )! +auto=@combat(attacking) source(creature[haste]|mybattlefield):token(Treasure) and!( tap(noevent) )! text=Haste -- Whenever a creature you control with haste attacks, create a tapped Treasure token. mana={1}{BR}{R}{RG} type=Legendary Creature @@ -63642,7 +63667,7 @@ toughness=4 [card] name=Old Gnawbone abilities=flying -auto=@combatdamaged(player) from(creature|mybattlefield):name(Create treasure) token(Treasure Sur)*thatmuch +auto=@combatdamaged(player) from(creature|mybattlefield):name(Create treasure) token(Treasure)*thatmuch text=Flying -- Whenever a creature you control deals combat damage to a player, create that many Treasure tokens. mana={5}{G}{G} type=Legendary Creature @@ -63652,8 +63677,8 @@ toughness=7 [/card] [card] name=Old Rutstein -auto=name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! -auto=@each my upkeep:name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure Sur)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! +auto=name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! +auto=@each my upkeep:name(Mill a card) all(*[zpos=1]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[if cantargetcard(land|*) then token(Treasure)],newability[if cantargetcard(creature|*) then _INSECTTOKEN_],newability[if cantargetcard(*[-land;-creature]|*) then token(Blood)])) oneshot )! text=When Old Rutstein enters the battlefield or at the beginning of your upkeep, mill a card. If a land card is milled this way, create a Treasure token. If a creature card is milled this way, create a 1/1 green Insect creature token. If a noncreature, nonland card is milled this way, create a Blood token. mana={1}{B}{G} type=Legendary Creature @@ -65476,8 +65501,8 @@ type=Sorcery [card] name=Pain Distributor abilities=menace -auto=@movedto(*|opponentstack) restriction{thisturn(*|opponentstack)~equalto~1} turnlimited:create(treasure sur) -auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:create(treasure sur) +auto=@movedto(*|opponentstack) restriction{thisturn(*|opponentstack)~equalto~1} turnlimited:create(Treasure) +auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~lessthan~1} turnlimited:create(Treasure) auto=@movedto(artifact|graveyard) from(opponentBattlefield):damage:1 opponent text=Menace -- Whenever a player casts their first spell each turn, they create a Treasure token. -- Whenever an artifact an opponent controls is put into a graveyard from the battlefield, Pain Distributor deals 1 damage to that player. mana={2}{R} @@ -65607,9 +65632,8 @@ toughness=1 [/card] [card] name=Paladin of Predation -abilities=poisonthreetoxic +abilities=poisonsixtoxic auto=cantbeblockedby(creature[power<=2]) -auto=@combatdamaged(player) from(this):alterpoison:3 opponent text=Toxic 6 (Players dealt combat damage by -- this creature also get six poison counters.) -- Paladin of Predation can't be blocked by creatures with power 2 or less. mana={5}{G}{G} type=Creature @@ -66248,8 +66272,8 @@ toughness=2 [/card] [card] name=Patron of the Arts -auto=token(Treasure sur) -auto=_DIES_token(Treasure sur) +auto=token(Treasure) +auto=_DIES_token(Treasure) text=When Patron of the Arts enters the battlefield or dies, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Creature @@ -67377,7 +67401,7 @@ subtype=Equipment [card] name=Pirate's Pillage auto=draw:2 controller -auto=token(Treasure Sur)*2 +auto=token(Treasure)*2 text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{R}{D(other *|myhand)} type=Sorcery @@ -67385,7 +67409,7 @@ type=Sorcery [card] name=Pirate's Prize auto=draw:2 controller -auto=token(435451) +auto=token(Treasure) text=Draw two cards. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={3}{U} type=Sorcery @@ -67453,7 +67477,7 @@ toughness=2 [/card] [card] name=Pitiless Plunderer -auto=@movedto(other creature|graveyard) from(mybattlefield):token(Treasure Sur) +auto=@movedto(other creature|graveyard) from(mybattlefield):token(Treasure) text=Whenever another creature you control dies, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{B} type=Creature @@ -67558,7 +67582,7 @@ toughness=2 [card] name=Plague Nurse abilities=poisontwotoxic -auto={2}{G}:all(other creature|myBattlefield) transforms((,newability[@combatdamaged(player) from(this) restriction{compare(hasabilitypoisontwotoxic)~morethan~0}:alterpoison:1 opponent],newability[@combatdamaged(player) from(this) restriction{compare(hasabilitypoisonthreetoxic)~morethan~0}:alterpoison:1 opponent],newability[@combatdamaged(player) from(this) restriction{compare(hasabilitypoisontoxic)~morethan~0}:alterpoison:1 opponent])) ueot limit:1 +auto={2}{G}:name(All toxic creatures gain toxic 1) all(other creature[hastoxic]|myBattlefield) transforms((,newability[@combatdamagefoeof(player):name(Added toxic 1) alterpoison:1 opponent],newability[@combatdamageof(player):name(Added toxic 1) alterpoison:1 controller])) ueot limit:1 text=Toxic 2 -- {2}{G}: Each other creature you control with toxic gains toxic 1 until end of turn. Activate only once each turn. (A player dealt combat damage by a creature with toxic also gets poison counters equal to that creature's total toxic value.) mana={3}{G} type=Creature @@ -67907,7 +67931,7 @@ type=Instant [card] name=Plundering Barbarian auto=choice name(Destroy artifact) target(artifact) destroy -auto=choice name(Create treasure) token(Treasure Sur) +auto=choice name(Create treasure) token(Treasure) text=When Plundering Barbarian enters the battlefield, Choose one -- Smash the Chest - Destroy target artifact. -- Pry It Open - Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Creature @@ -68236,7 +68260,7 @@ subtype=Background [/card] [card] name=Porcelain Zealot -auto=@each my combatbegins:name(Creature gains 1/1) target(creature|myBattlefield) transforms((,newability[1/1 ueot],newability[if cantargetcard(creature[poisontoxic|poisontwotoxic|poisonthreetoxic]|*) then 1/1 ueot])) ueot +auto=@each my combatbegins:name(Creature gains 1/1) target(creature|myBattlefield) transforms((,newability[1/1 ueot],newability[if cantargetcard(creature[hastoxic]|*) then 1/1 ueot])) ueot text=At the beginning of combat on your turn, target creature you control gets +1/+1 until end of turn. If that creature has toxic, instead it gets +2/+2 until end of turn. mana={3}{W} type=Creature @@ -69107,17 +69131,17 @@ type=Land name=Prismari Command auto=choice name(Deals 2 damage and you draw) target(player,creature,planeswalker) damage:2 && ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller auto=choice name(Deals 2 damage and opponent draws) target(player,creature,planeswalker) damage:2 && ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent -auto=choice name(Deals 2 damage and you create treasure) target(player,creature,planeswalker) damage:2 && Token(Treasure Sur) -auto=choice name(Deals 2 damage and opponent creates treasure) target(player,creature,planeswalker) damage:2 && token(Treasure Sur) opponent +auto=choice name(Deals 2 damage and you create treasure) target(player,creature,planeswalker) damage:2 && Token(Treasure) +auto=choice name(Deals 2 damage and opponent creates treasure) target(player,creature,planeswalker) damage:2 && token(Treasure) opponent auto=choice name(Deals 2 damage and destroy artifact) target(player,creature,planeswalker) damage:2 && ability$!name(Destroy artifact) name(Destroy artifact) target(artifact) destroy!$ controller -auto=choice name(You draw and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && Token(Treasure Sur) -auto=choice name(You draw and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && token(Treasure Sur) opponent -auto=choice name(opponent draws and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && Token(Treasure Sur) -auto=choice name(opponent draws and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && token(Treasure Sur) opponent +auto=choice name(You draw and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && Token(Treasure) +auto=choice name(You draw and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && token(Treasure) opponent +auto=choice name(opponent draws and you create treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && Token(Treasure) +auto=choice name(opponent draws and and opponent creates treasure) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && token(Treasure) opponent auto=choice name(You draw and destroy artifact) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ controller && target(artifact) destroy auto=choice name(opponent draws and destroy artifact) ability$!draw:2 _ choice target(<2>*|myhand) reject!$ opponent && target(artifact) destroy -auto=choice name(You create treasure and destroy artifact) Token(Treasure Sur) && target(artifact) destroy -auto=choice name(Opponent creates treasure and destroy artifact) token(Treasure Sur) opponent && target(artifact) destroy +auto=choice name(You create treasure and destroy artifact) Token(Treasure) && target(artifact) destroy +auto=choice name(Opponent creates treasure and destroy artifact) token(Treasure) opponent && target(artifact) destroy text=Choose two -- Prismari Command deals 2 damage to any target. -- Target player draws two cards, then discards two cards. -- Target player creates a Treasure token. -- Destroy target artifact. mana={1}{U}{R} type=Instant @@ -69194,8 +69218,8 @@ toughness=4 [/card] [card] name=Prized Statue -auto=token(Treasure sur) -auto=_DIES_token(Treasure sur) +auto=token(Treasure) +auto=_DIES_token(Treasure) text=When Prized Statue enters the battlefield or is put into a graveyard from the battlefield, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact @@ -69205,7 +69229,7 @@ name=Prizefight target=creature|myBattlefield auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability])) ueot restriction=type(creature|opponentbattlefield)~morethan~0 -auto=token(Treasure sur) +auto=token(Treasure) text=Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) -- Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{G} type=Instant @@ -69271,7 +69295,7 @@ toughness=3 [card] name=Professional Face-Breaker abilities=menace -auto=@each combatdamage restriction{opponentdamagedbycombat}:token(Treasure Sur) +auto=@each combatdamage restriction{opponentdamagedbycombat}:token(Treasure) auto={S(*[Treasure]|myBattlefield)}:__PLAY_TOP_FROM_EXILE__ text=Menace -- Whenever one or more creatures you control deal combat damage to a player, create a Treasure token. -- Sacrifice a Treasure: Exile the top card of your library. You may play that card this turn. mana={2}{R} @@ -69403,7 +69427,7 @@ toughness=4 name=Prosper, Tome-Bound abilities=deathtouch auto=@each my end:name(Exile top card) all(*[zpos<=1]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile forever])) forever )! -auto=@movedto(*|mystack,mybattlefield) from(myexile):name(Create treasure) token(Treasure Sur) +auto=@movedto(*|mystack,mybattlefield) from(myexile):name(Create treasure) token(Treasure) text=Deathtouch -- Mystic Arcanum - At the beginning of your end step, exile the top card of your library. Until the end of your next turn, you may play that card. -- Pact Boon - Whenever you play a card from exile, create a Treasure token. mana={2}{B}{R} type=Legendary Creature @@ -69413,7 +69437,7 @@ toughness=4 [/card] [card] name=Prosperous Innkeeper -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) auto=@movedto(other creature|mybattlefield):name(Gain 1 life) life:1 text=When Prosperous Innkeeper enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever another creature enters the battlefield under your control, you gain 1 life. mana={1}{G} @@ -69425,14 +69449,14 @@ toughness=1 [card] name=Prosperous Partnership auto=create(citizen:creature citizen:1/1:green,white:)*2 -auto={T(creature[-tapped]|myBattlefield)}{T(creature[-tapped]|myBattlefield)}{T(creature[-tapped]|myBattlefield)}:token(Treasure sur) +auto={T(creature[-tapped]|myBattlefield)}{T(creature[-tapped]|myBattlefield)}{T(creature[-tapped]|myBattlefield)}:token(Treasure) text=When Prosperous Partnership enters the battlefield, create two 1/1 green and white Citizen creature tokens. -- Tap three untapped creatures you control: Create a Treasure token. mana={1}{R}{W} type=Enchantment [/card] [card] name=Prosperous Pirates -auto=token(435451)*2 +auto=token(Treasure)*2 text=When Prosperous Pirates enters the battlefield, create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={4}{U} type=Creature @@ -69443,7 +69467,7 @@ toughness=4 [card] name=Prosperous Thief autohand={1}{U}{N}:ninjutsu -auto=@combatdamaged(player) from(*[ninja;rogue]|mybattlefield):name(Create treasure) token(Treasure Sur) +auto=@combatdamaged(player) from(*[ninja;rogue]|mybattlefield):name(Create treasure) token(Treasure) text=Ninjutsu {1}{U} ({1}{U}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.) -- Whenever one or more Ninja or Rogue creatures you control deal combat damage to a player, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{U} type=Creature @@ -69648,7 +69672,7 @@ toughness=3 [/card] [card] name=Prying Blade -auto=@combatdamaged(player) from(this):token(435451) +auto=@combatdamaged(player) from(this):token(Treasure) auto=teach(creature) 1/0 auto={2}:equip text=Equipped creature gets +1/+0. -- Whenever equipped creature deals combat damage to a player, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) @@ -70873,7 +70897,7 @@ toughness=1 name=Ragavan, Nimble Pilferer other={1}{R} name(Dash) auto=if paid(alternative) then transforms((,newability[haste],newability[phaseaction[endofturn once sourceinplay] moveto(ownerhand)])) forever -auto=@combatdamaged(player) from(this):token(Treasure Sur) +auto=@combatdamaged(player) from(this):token(Treasure) auto=@combatdamagefoeof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|opponentlibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[canplayfromexile],newability[phaseaction[endofturn once checkex] moveTo(ownerexile)])) ueot )! auto=@combatdamageof(player) from(this):name(Exile top card) name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( if cantargetcard(*[-land]|*) then transforms((,newability[this(cantargetcard(*[-land]|*)) canplayfromexile])) ueot )! text=Whenever Ragavan, Nimble Pilferer deals combat damage to a player, create a Treasure token and exile the top card of that player's library. Until end of turn, you may cast that card. -- Dash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.) @@ -71648,10 +71672,10 @@ toughness=1 [card] name=Rankle and Torbran abilities=first strike,flying,haste -auto=@combatdamaged(player) from(this):may name(Create treasure) token(Treasure Sur) and!( token(Treasure Sur) opponent )! +auto=@combatdamaged(player) from(this):may name(Create treasure) token(Treasure) and!( token(Treasure) opponent )! auto=@combatdamaged(player) from(this):may name(Each player sacrifices) target(creature|myBattlefield) sacrifice and!( transforms((,newability[ability$!name(Sacrifice a creature) notatarget(creature|myBattlefield) sacrifice!$ opponent])) oneshot )! auto=@combatdamaged(player) from(this):may name(Duouble the damage) token(Rankle Emblem,Emblem,0/0,shroud,indestructible,treason,notrigger) and!( transforms((,newability[@damaged(battle|battlefield) from(*[-Rankle Emblem]|*):all(trigger[to]) damage:2],newability[@damageof(player) from(*[-Rankle Emblem]|*):damage:2 controller],newability[@damagefoeof(player) from(*[-Rankle Emblem]|*):damage:2 opponent])) forever )! -auto=@combatdamaged(battle) from(this):may name(Create treasure) token(Treasure Sur) and!( token(Treasure Sur) opponent )! +auto=@combatdamaged(battle) from(this):may name(Create treasure) token(Treasure) and!( token(Treasure) opponent )! auto=@combatdamaged(battle) from(this):may name(Each player sacrifices) target(creature|myBattlefield) sacrifice and!( transforms((,newability[ability$!name(Sacrifice a creature) notatarget(creature|myBattlefield) sacrifice!$ opponent])) oneshot )! auto=@combatdamaged(battle) from(this):may name(Duouble the damage) token(Rankle Emblem,Emblem,0/0,shroud,indestructible,treason,notrigger) and!( transforms((,newability[@damaged(battle|battlefield) from(*[-Rankle Emblem]|*):all(trigger[to]) damage:2],newability[@damageof(player) from(*[-Rankle Emblem]|*):damage:2 controller],newability[@damagefoeof(player) from(*[-Rankle Emblem]|*):damage:2 opponent])) forever )! text=Flying, first strike, haste -- Whenever Rankle and Torbran deals combat damage to a player or battle, choose any number -- Each player creates a Treasure token. -- Each player sacrifices a creature. -- If a source would deal damage to a player or battle this turn, it deals that much damage plus 2 instead. @@ -71685,7 +71709,7 @@ type=Sorcery [card] name=Rapacious Dragon abilities=flying -auto=token(435451)*2 +auto=token(Treasure)*2 text=Flying -- When Rapacious Dragon enters the battlefield, create two Treasure tokens. (They're artifacts with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={4}{R} type=Creature @@ -72436,7 +72460,7 @@ type=Sorcery [card] name=Reckless Endeavor auto=all(*[zpos=1]|mylibrary) transforms((,newability[@dierolled(this|mylibrary) from(controller) once:name(Damage all creatures) all(creature|battlefield) damage:lastrollresult],newability[name(Roll a d12) rolld12 12 winability donothing winabilityend rolld12end])) oneshot -auto=name(Roll a d12) rolld12 12 winability token(Treasure Sur)*lastrollresult winabilityend loseability token(Treasure Sur)*lastrollresult loseabilityend rolld12end +auto=name(Roll a d12) rolld12 12 winability token(Treasure)*lastrollresult winabilityend loseability token(Treasure)*lastrollresult loseabilityend rolld12end text=Roll two d12 and choose one result. Reckless Endeavor deals damage equal to that result to each creature. Then create a number of Treasure tokens equal to the other result. mana={5}{R}{R} type=Sorcery @@ -73847,8 +73871,8 @@ toughness=1 [/card] [card] name=Revel in Riches -auto=@movedto(creature|opponentgraveyard) from(opponentbattlefield):token(435451) -auto=@each my upkeep restriction{type(TreasureArtifactToken|mybattlefield)~morethan~9}:winGame controller +auto=@movedto(creature|opponentgraveyard) from(opponentbattlefield):token(Treasure) +auto=@each my upkeep restriction{type(Treasure|mybattlefield)~morethan~9}:winGame controller text=Whenever a creature an opponent controls dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- At the beginning of your upkeep, if you control ten or more Treasures, you win the game. mana={4}{B} type=Enchantment @@ -74203,6 +74227,17 @@ mana={3}{U}{U} type=Sorcery [/card] [card] +name=Ria Ivor, Bane of Bladehold +auto=@each my combatbegins:name(Target creature prevent damage) target(creature|mybattlefield) transforms((,newability[_ATTACKING_name(Prevent damage) preventalldamage from(this) ueot],newability[_ATTACKING_name(Create mite) _PHYREXIANMITETOKEN_])) ueot +auto=_ATTACKING_all(other creature[attacking]|battlefield) 1/0 ueot +text=Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.) -- At the beginning of combat on your turn, the next time target creature would deal combat damage to one or more players this combat, prevent that damage. If damage is prevented this way, create that many 1/1 colorless Phyrexian Mite artifact creature tokens with toxic 1 and "This creature can't block." +mana={2}{W}{B} +type=Legendary Creature +subtype=Phyrexian Knight +power=3 +toughness=4 +[/card] +[card] name=Ribbon Snake abilities=flying auto={2}:-flying ueot @@ -75062,7 +75097,7 @@ toughness=2 [/card] [card] name=Riveteers Requisitioner -auto=_DIES_token(Treasure sur) +auto=_DIES_token(Treasure) other={2}{R}:name(Blitz) auto=if paid(alternative) then moveto(mybattlefield) and!( transforms((,newability[haste],newability[_DIES_draw:1],newability[treason])) forever )! asSorcery text=When Riveteers Requisitioner dies, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Blitz {2}{R} (If you cast this spell for its blitz cost, it gains haste and "When this creature dies, draw a card." Sacrifice it at the beginning of the next end step.) @@ -76592,7 +76627,7 @@ toughness=2 [/card] [card] name=Ruthless Knave -auto={2}{B}{S(creature|mybattlefield)}:token(435451)*2 +auto={2}{B}{S(creature|mybattlefield)}:token(Treasure)*2 text={2}{B}, Sacrifice a creature: Create two colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." -- Sacrifice three Treasures: Draw a card. mana={2}{B} type=Creature @@ -76635,7 +76670,7 @@ toughness=2 [/card] [card] name=Ruthless Technomancer -auto=may name(Sacrifice a creature) target(other creature|mybattlefield) sacrifice and!( transforms((,newability[token(Treasure Sur)*power])) oneshot )! +auto=may name(Sacrifice a creature) target(other creature|mybattlefield) sacrifice and!( transforms((,newability[token(Treasure)*power])) oneshot )! auto={2}{B}{S(artifact|mybattlefield)}:name(Sacrifice 1 artifact) target(creature[power<=1]|mygraveyard) moveto(mybattlefield) auto={2}{B}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(Sacrifice 2 artifacts) target(creature[power<=2]|mygraveyard) moveto(mybattlefield) auto={2}{B}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(Sacrifice 3 artifacts) target(creature[power<=3]|mygraveyard) moveto(mybattlefield) @@ -76803,8 +76838,8 @@ toughness=2 [card] name=Safana, Calimport Cutthroat abilities=menace,backgroundpartner -auto=@each my endofturn restriction{compare(pdungeoncompleted)~morethan~0}:name(Create 3 treasure) token(Treasure Sur)*3 -auto=@each my endofturn restriction{compare(pinitiative)~morethan~0,compare(pdungeoncompleted)~equalto~0}:name(Create 1 treasure) token(Treasure Sur) +auto=@each my endofturn restriction{compare(pdungeoncompleted)~morethan~0}:name(Create 3 treasure) token(Treasure)*3 +auto=@each my endofturn restriction{compare(pinitiative)~morethan~0,compare(pdungeoncompleted)~equalto~0}:name(Create 1 treasure) token(Treasure) text=Menace -- At the beginning of your end step, if you have the initiative, create a Treasure token. Create three of those tokens instead if you've completed a dungeon. -- Choose a Background (You can have a Background as a second commander.) mana={2}{B} type=Legendary Creature @@ -76997,7 +77032,7 @@ toughness=3 [/card] [card] name=Sailor of Means -auto=token(435451) +auto=token(Treasure) text=When Sailor of Means enters the battlefield, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={2}{U} type=Creature @@ -78473,7 +78508,7 @@ subtype=Background [/card] [card] name=Scion of Opulence -auto=@movedto(vampire|graveyard) from(mybattlefield):name(Create treasure) token(Treasure Sur) +auto=@movedto(vampire|graveyard) from(mybattlefield):name(Create treasure) token(Treasure) auto={R}{S(artifact|mybattlefield)}{S(artifact|mybattlefield)}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile])) ueot )! text=Whenever Scion of Opulence or another nontoken Vampire you control dies, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- {R}, Sacrifice two artifacts: Exile the top card of your library. You may play that card this turn. mana={2}{R} @@ -79559,7 +79594,7 @@ type=Instant [card] name=Seize the Spoils auto=draw:2 controller -auto=token(Treasure Sur) +auto=token(Treasure) text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R}{D(other *|myhand)} type=Sorcery @@ -80599,7 +80634,7 @@ toughness=3 [/card] [card] name=Shambling Ghast -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 +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)])) 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 @@ -81269,7 +81304,7 @@ subtype=Equipment [card] name=Shiny Impetus target=creature -auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_token(Treasure Sur)])) +auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_token(Treasure)])) auto=2/2 text=Enchanted creature gets +2/+2 and is goaded. (It attacks each combat if able and attacks a player other than you if able.) -- Whenever enchanted creature attacks, you create a Treasure token. (It's an artifact with "Tap, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} @@ -83221,7 +83256,7 @@ toughness=3 [/card] [card] name=Skullport Merchant -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) auto={1}{B}{S(other *[creature;treasure]|mybattlefield)}:name(Draw card) draw:1 controller text=When Skullport Merchant enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- {1}{B}, Sacrifice another creature or a Treasure: Draw a card. mana={2}{B} @@ -83774,9 +83809,7 @@ type=Sorcery [card] name=Slaughter Singer abilities=poisontwotoxic -auto=@combat(attacking) source(other creature[poisontoxic]|myBattlefield):name(Creature gains 1/1) all(trigger[to]) transforms((,newability[1/1])) ueot -auto=@combat(attacking) source(other creature[poisontwotoxic]|myBattlefield):name(Creature gains 1/1) all(trigger[to]) transforms((,newability[1/1])) ueot -auto=@combat(attacking) source(other creature[poisonthreetoxic]|myBattlefield):name(Creature gains 1/1) all(trigger[to]) transforms((,newability[1/1])) ueot +auto=@combat(attacking) source(other creature[hastoxic]|myBattlefield):name(Creature gains 1/1) all(trigger[to]) transforms((,newability[1/1])) ueot text=Toxic 2 (Players dealt combat damage by this creature also get two poison counters.) -- Whenever another creature you control with toxic attacks, it gets +1/+1 until end of turn. mana={G}{W} type=Creature @@ -84115,7 +84148,7 @@ type=Sorcery [/card] [card] name=Smashing Success -auto=if type(artifact|mybattlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy && token(Treasure Sur) +auto=if type(artifact|mybattlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy && token(Treasure) auto=if type(land|mybattlefield)~morethan~0 then choice name(Destroy land) name(Destroy land) target(land) destroy text=Destroy target artifact or land. If an artifact is destroyed this way, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{R} @@ -84214,7 +84247,7 @@ type=Enchantment [card] name=Smoke Blessing target=creature -auto=teach(creature) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Create treasure) token(Treasure Sur)],newability[@movedto(this|graveyard) from(battlefield):name(Damage controller) damage:1 controller])) +auto=teach(creature) transforms((,newability[@movedto(this|graveyard) from(battlefield):name(Create treasure) token(Treasure)],newability[@movedto(this|graveyard) from(battlefield):name(Damage controller) damage:1 controller])) text=Enchant creature -- When enchanted creature dies, it deals 1 damage to its controller and you create a Treasure token. color=red type=Enchantment @@ -84278,7 +84311,7 @@ toughness=4 [/card] [card] name=Smothering Tithe -auto=@drawfoeof(player):ability$!name(pay or create treasure) pay[[{2}]] donothing?token(Treasure Sur) opponent!$ opponent +auto=@drawfoeof(player):ability$!name(pay or create treasure) pay[[{2}]] donothing?token(Treasure) opponent!$ opponent text=Whenever an opponent draws a card, that player may pay {2} . If the player doesn't, you create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={3}{W} type=Enchantment @@ -85832,7 +85865,7 @@ type=Instant name=Spell Swindle target=*|stack auto=fizzle -anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then token(Treasure Sur)*storedmanacost +anyzone=if casted(this) then if compare(hasstorecard)~morethan~0 then token(Treasure)*storedmanacost text=Counter target spell. Create X colorless Treasure artifact tokens, where X is that spell's mana value. They have "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={3}{U}{U} type=Instant @@ -86183,17 +86216,17 @@ abilities=flash auto={5}:name(Roll a d20) target(creature|battlefield) counter(0/0,1,SpikedEffect) && all(this) rolld20 20 winability donothing winabilityend rolld20end auto=@dierolled(this) from(controller):all(this) sacrifice auto=@dierolled(this) from(controller):ability$!name(Deal 5 damage) all(creature[counter{0/0.1.SpikedEffect}]|battlefield) transforms((,newability[damage:5],newability[removeallcounters(0/0.1.SpikedEffect)])) oneshot!$controller -auto=@dierolled(this) result(10) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(11) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(12) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(13) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(14) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(15) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(16) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(17) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(18) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(19) from(controller):name(Create treasure) token(Treasure Sur) -auto=@dierolled(this) result(20) from(controller):name(Create treasure) token(Treasure Sur) +auto=@dierolled(this) result(10) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(11) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(12) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(13) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(14) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(15) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(16) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(17) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(18) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(19) from(controller):name(Create treasure) token(Treasure) +auto=@dierolled(this) result(20) from(controller):name(Create treasure) token(Treasure) text=Flash -- {5}, {T}, Sacrifice Spiked Pit Trap: Choose target creature, then roll a d20. -- 1-9 | Spiked Pit Trap deals 5 damage to that creature. -- 10-20 | Spiked Pit Trap deals 5 damage to that creature. Create a Treasure token. mana={1} type=Artifact @@ -87759,7 +87792,7 @@ toughness=2 name=Sticky Fingers target=creature auto=teach(creature) menace -auto=@combatdamaged(player) from(mytgt):token(Treasure sur) +auto=@combatdamaged(player) from(mytgt):token(Treasure) auto=@movedto(mytgt|graveyard) from(Battlefield):draw:1 controller text=Enchant creature -- Enchanted creature has menace and "Whenever this creature deals combat damage to a player, create a Treasure token." (It can't be blocked except by two or more creatures. The token is an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- When enchanted creature dies, draw a card. mana={R} @@ -87780,7 +87813,7 @@ toughness=2 [/card] [card] name=Stimulus Package -auto=token(Treasure sur)*2 +auto=token(Treasure)*2 auto={S(*[Treasure]|myBattlefield)}:create(citizen:creature citizen:1/1:green,white) text=When Stimulus Package enters the battlefield, create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Sacrifice a Treasure: Create a 1/1 green and white Citizen creature token. mana={2}{R}{G} @@ -88289,7 +88322,7 @@ type=Sorcery [/card] [card] name=Storm the Vault -auto=@each combatdamage restriction{opponentdamagedbycombat}:token(Treasure Sur) +auto=@each combatdamage restriction{opponentdamagedbycombat}:token(Treasure) auto=@each my upkeep restriction{type(artifact|myBattlefield)~morethan~4}:flip(Vault of Catlacan) text=Whenever one or more creatures you control deal combat damage to a player, create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- At the beginning of your end step, if you control five or more artifacts, transform Storm the Vault. mana={2}{U}{R} @@ -88318,7 +88351,7 @@ toughness=4 [card] name=Storm-Kiln Artist auto=foreach(artifact|mybattlefield) 1/0 -auto=@movedto(*[instant;sorcery]|mystack):name(Create Treasure) token(Treasure Sur) +auto=@movedto(*[instant;sorcery]|mystack):name(Create Treasure) token(Treasure) text=Storm-Kiln Artist gets +1/+0 for each artifact you control. -- Magecraft - Whenever you cast or copy an instant or sorcery spell, create a Treasure token. mana={3}{R} type=Creature @@ -88625,7 +88658,7 @@ toughness=3 [/card] [card] name=Strike It Rich -auto=token(Treasure Sur) +auto=token(Treasure) flashback={2}{R} text=Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") -- Flashback {2}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) mana={R} @@ -88857,7 +88890,7 @@ name=Sudden Breakthrough target=creature auto=2/0 auto=first strike -auto=token(Treasure Sur) +auto=token(Treasure) text=Target creature gets +2/+0 and gains first strike until end of turn. -- Create a Treasure token. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{R} type=Instant @@ -89549,7 +89582,7 @@ type=Artifact [card] name=Surly Badgersaur auto=@discarded(*[creature]|myHand):all(this) counter(1/1) -auto=@discarded(*[land]|myHand):token(Treasure Sur) +auto=@discarded(*[land]|myHand):token(Treasure) auto=@discarded(*[-creature;-land]|myHand):name(Fight target creature you don't control) dynamicability target(creature|opponentBattlefield) text=Whenever you discard a creature card, put a +1/+1 counter on Surly Badgersaur. -- Whenever you discard a land card, create a treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Whenever you discard a noncreature, nonland card, Surly Badgersaur fights up to one target creature you don't control. mana={3}{R} @@ -89793,7 +89826,7 @@ toughness=3 [/card] [card] name=Swashbuckler Extraordinaire -auto=name(Create treasure) token(Treasure Sur) +auto=name(Create treasure) token(Treasure) auto=@each my blockers restriction{type(*[treasure]|myBattlefield)~equalto~1}:may name(Sacrifice 1 treasure) name(Sacrifice 1 treasure) target(*[treasure]|mybattlefield) sacrifice and!( transforms((,newability[name(Creature gains double strike) target(creature|battlefield) transforms((,newability[double strike])) ueot])) oneshot )! auto=@each my blockers restriction{type(*[treasure]|myBattlefield)~equalto~2}:may name(Sacrifice 2 treasures) name(Sacrifice 2 treasures) target(*[treasure]|mybattlefield) sacrifice and!( transforms((,newability[name(Creature gains double strike) target(creature|battlefield) transforms((,newability[double strike])) ueot])) oneshot )! auto=@each my blockers restriction{type(*[treasure]|myBattlefield)~equalto~3}:may name(Sacrifice 3 treasures) name(Sacrifice 3 treasures) target(*[treasure]|mybattlefield) sacrifice and!( transforms((,newability[name(Creature gains double strike) target(creature|battlefield) transforms((,newability[double strike])) ueot])) oneshot )! @@ -91371,7 +91404,7 @@ toughness=5 [/card] [card] name=Tavern Scoundrel -auto=@coinflipped(*|battlefield) result(won) from(controller):name(Create treasures) token(Treasure Sur)*2 +auto=@coinflipped(*|battlefield) result(won) from(controller):name(Create treasures) token(Treasure)*2 auto={1}{T}{S(other *|myBattlefield)}:flipacoin winability donothing winabilityend loseability donothing loseabilityend flipend text=Whenever you win a coin flip, create two Treasure tokens. (They're artifacts with " {T}, Sacrifice this artifact: Add one mana of any color.") -- {1}, {T}, Sacrifice another permanent: Flip a coin. mana={1}{R} @@ -91810,7 +91843,7 @@ type=Sorcery [/card] [card] name=Tempting Contract -auto=@each my upkeep:if compare(genrand2)~equalto~0 then token(Treasure Sur) && token(Treasure Sur) opponent +auto=@each my upkeep:if compare(genrand2)~equalto~0 then token(Treasure) && token(Treasure) opponent text=At the beginning of your upkeep, each opponent may create a Treasure token. For each opponent who does, you create a Treasure token. mana={4} type=Artifact @@ -92761,6 +92794,35 @@ mana={4}{R}{R} type=Sorcery [/card] [card] +name=The Filigree Sylex +auto={T}:name(Put oil counter) counter(0/0,1,Oil) +auto=this(variable{hascntoil}=0) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=0]|battlefield) destroy +auto=this(variable{hascntoil}=1) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=1]|battlefield) destroy +auto=this(variable{hascntoil}=2) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=2]|battlefield) destroy +auto=this(variable{hascntoil}=3) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=3]|battlefield) destroy +auto=this(variable{hascntoil}=4) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=4]|battlefield) destroy +auto=this(variable{hascntoil}=5) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=5]|battlefield) destroy +auto=this(variable{hascntoil}=6) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=6]|battlefield) destroy +auto=this(variable{hascntoil}=7) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=7]|battlefield) destroy +auto=this(variable{hascntoil}=8) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=8]|battlefield) destroy +auto=this(variable{hascntoil}=9) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=9]|battlefield) destroy +auto=this(variable{hascntoil}=10) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=10]|battlefield) destroy +auto=this(variable{hascntoil}=11) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=11]|battlefield) destroy +auto=this(variable{hascntoil}=12) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=12]|battlefield) destroy +auto=this(variable{hascntoil}=13) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=13]|battlefield) destroy +auto=this(variable{hascntoil}=14) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=14]|battlefield) destroy +auto=this(variable{hascntoil}=15) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=15]|battlefield) destroy +auto=this(variable{hascntoil}=16) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=16]|battlefield) destroy +auto=this(variable{hascntoil}=17) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=17]|battlefield) destroy +auto=this(variable{hascntoil}=18) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=18]|battlefield) destroy +auto=this(variable{hascntoil}=19) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=19]|battlefield) destroy +auto=this(variable{hascntoil}>=20) {T}{S}:name(Destroy each nonland permanent) name(Destroy each nonland permanent) all(*[-land;manacost=20]|battlefield) destroy +auto=this(variable{totcntalloil}>=10) {T}:name(Remove 10 oil counters and sacrifice) name(Remove 10 oil counters and sacrifice) transforms((,newability[thisforeach(variable{10minushascntoilminusend}) ability$!name(Remove oil counter) name(Remove oil counter) target(other *[counter{0/0.1.Oil}]|battlefield) removesinglecountertype(1)!$ controller],newability[name(Deal 10 damage) name(Deal 10 damage) damage:10 target(player^creature^planeswalker)],newability[sacrifice])) forever +text={T}: Put an oil counter on The Filigree Sylex. -- {T}, Sacrifice The Filigree Sylex: Destroy each nonland permanent with mana value equal to the number of oil counters on The Filigree Sylex. -- {T}, Remove ten oil counters from among permanents you control and sacrifice The Filigree Sylex: It deals 10 damage to any target. +mana={2} +type=Legendary Artifact +[/card] +[card] name=The First Eruption auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) @@ -92856,7 +92918,7 @@ name=The Great Work auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=name(Damage opponent and creatures) damage:3 opponent && damage:3 all(creature|opponentbattlefield) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Create 3 treasures) token(Treasure Sur)*3 +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) name(Create 3 treasures) token(Treasure)*3 auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Cast spells from graveyard) name(Cast spells from graveyard) all(*[instant;sorcery]|mygraveyard) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Exile and return) moveto(myexile) and!( moveto(mybattlefield) and!( transforms((,newability[becomes(Legendary) forever],newability[@movedto(*[instant;sorcery]|mygraveyard):name(Cast spells from graveyard) name(Cast spells from graveyard) all(trigger[to]) transforms((,newability[canplayfromgraveyard],newability[gainedexiledeath])) ueot])) ueot )! )! text=(As this Saga enters and after your draw step, add a lore counter.) -- I -- The Great Work deals 3 damage to target opponent and each creature they control. -- II -- Create three Treasure tokens. -- III -- Until end of turn, you may cast instant and sorcery spells from any graveyard. If a spell cast this way would be put into a graveyard, exile it instead. Exile The Great Work, then return it to the battlefield (front face up). @@ -93142,8 +93204,8 @@ toughness=4 name=The Reaver Cleaver auto=teach(creature) 1/1 auto=teach(creature) trample -auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):token(Treasure Sur)*thatmuch])) -auto=teach(creature) transforms((,newability[@combatdamaged(planeswalker) from(this):token(Treasure Sur)*thatmuch])) +auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):token(Treasure)*thatmuch])) +auto=teach(creature) transforms((,newability[@combatdamaged(planeswalker) from(this):token(Treasure)*thatmuch])) auto={3}:equip text=Equipped creature gets +1/+1 and has trample and "Whenever this creature deals combat damage to a player or planeswalker, create that many Treasure tokens." -- Equip {3} mana={2}{R} @@ -93395,7 +93457,7 @@ toughness=1 [card] name=Thieves' Tools auto={2}:equip -auto=aslongas(parents) name(Create Token) token(Treasure Sur) <1 +auto=aslongas(parents) name(Create Token) token(Treasure) <1 auto=teach(creature[power<=3]) unblockable text=When Thieves' Tools enters the battlefield, create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -- Equipped creature can't be blocked as long as its power is 3 or less. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) mana={1}{B} @@ -94710,7 +94772,7 @@ toughness=5 [/card] [card] name=Tireless Provisioner -auto=_LANDFALL_ability$!choice name(Create food) token(Food) _ choice name(Create Treasure) token(Treasure Sur) !$ controller +auto=_LANDFALL_ability$!choice name(Create food) token(Food) _ choice name(Create Treasure) token(Treasure) !$ controller text=Landfall - Whenever a land enters the battlefield under your control, create a Food token or a Treasure token. (Food is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life." Treasure is an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{G} type=Creature @@ -96102,14 +96164,14 @@ name=Treasure Chest auto={4}:name(Roll a d20) rolld20 20 winability donothing winabilityend rolld20end auto=@dierolled(this) from(controller):all(this) sacrifice auto=@dierolled(this) result(1) from(controller):name(Loose life) life:-3 controller -auto=@dierolled(this) result(2) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(3) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(4) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(5) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(6) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(7) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(8) from(controller):name(Create treasure) token(Treasure Sur)*5 -auto=@dierolled(this) result(9) from(controller):name(Create treasure) token(Treasure Sur)*5 +auto=@dierolled(this) result(2) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(3) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(4) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(5) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(6) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(7) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(8) from(controller):name(Create treasure) token(Treasure)*5 +auto=@dierolled(this) result(9) from(controller):name(Create treasure) token(Treasure)*5 auto=@dierolled(this) result(10) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller auto=@dierolled(this) result(11) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller auto=@dierolled(this) result(12) from(controller):name(Gain life and draw) life:3 controller && draw:3 controller @@ -96136,7 +96198,7 @@ type=Land name=Treasure Map aicode=activate transforms((,newability[all(*[zpos<=type:zombie:mybattlefield]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={1}{T}:_SCRY1_ && counter(0/0,1,landmark) -auto=@counteradded(0/0,1,landmark) from(this):this(counter{0/0.3.landmark}=) removeallcounters(0/0.1.landmark) && flip(Treasure Cove) && token(Treasure Sur)*3 +auto=@counteradded(0/0,1,landmark) from(this):this(counter{0/0.3.landmark}=) removeallcounters(0/0.1.landmark) && flip(Treasure Cove) && token(Treasure)*3 text={1}, {T}: Scry 1. Put a landmark counter on Treasure Map. Then if there are three or more landmark counters on it, remove those counters, transform Treasure Map, and create three colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={2} type=Artifact @@ -96153,7 +96215,7 @@ power=3 toughness=2 [/card] [card] -name=Treasure Sur +name=Treasure auto={T}{S}:add{W} auto={T}{S}:add{U} auto={T}{S}:add{B} @@ -96166,21 +96228,11 @@ subtype=Treasure [card] name=Treasure Vault auto={T}:Add{C} -auto={X}{X}{T}{S}:name(Create treasures) token(Treasure Sur)*xx +auto={X}{X}{T}{S}:name(Create treasures) token(Treasure)*xx text={T}: Add {C}. -- {X}{X}, {T}, Sacrifice Treasure Vault: Create X Treasure tokens. type=Artifact Land [/card] [card] -name=TreasureArtifactToken -auto={T}{S}:add{W} -auto={T}{S}:add{U} -auto={T}{S}:add{B} -auto={T}{S}:add{R} -auto={T}{S}:add{G} -text={T}, Sacrifice this artifact: Add one mana of any color. -type=Artifact Treasure -[/card] -[card] name=Treefolk Umbra abilities=totemarmor target=creature @@ -96496,7 +96548,7 @@ toughness=4 [/card] [card] name=Trove of Temptation -auto=@each my endofturn:token(435451) +auto=@each my endofturn:token(Treasure) text=Each opponent must attack you or a planeswalker you control with at least one creature each combat if able. -- At the beginning of your end step, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={3}{R} type=Enchantment @@ -97230,9 +97282,8 @@ toughness=4 [/card] [card] name=Tyrranax Rex -abilities=haste,trample,nofizzle,poisonthreetoxic +abilities=haste,trample,nofizzle,poisonfourtoxic auto=_WARD_(4) -auto=@combatdamaged(player) from(this):alterpoison:1 opponent text=This spell can't be countered. -- Trample, ward {4}, haste -- Toxic 4 (Players dealt combat damage by this creature also get four poison counters.) mana={4}{G}{G}{G} type=Creature @@ -97619,7 +97670,7 @@ autocommandzone=transforms((,newability[shroud],newability[indestructible])) for autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Secret Entrance) name(Secret Entrance) target(land[basic]|mylibrary) moveto(myhand)!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~2}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Forge or Lost Well) all(Undercity|mycommandzone) transforms((,newability[if type(creature|battlefield)~morethan~0 then choice name(Forge) name(Forge) all(Undercity|mycommandzone) counter(0/0.1.Forge) && target(creature|battlefield) counter(1/1.2)],newability[choice name(Lost Well) all(Undercity|mycommandzone) counter(0/0.1.LostWell) && _SCRY2_])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntforge)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Trap or Arena) name(Trap or Arena) transforms((,newability[choice name(Target player losses 5 life) all(Undercity|mycommandzone) counter(0/0.1.Trap) && target(player) life:-5],newability[if type(creature|battlefield)~morethan~0 then choice name(Goad creature) name(Goad creature) all(Undercity|mycommandzone) counter(0/0.1.Arena) && target(creature|battlefield) _GOAD_])) oneshot!$ controller -autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntlostwell)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Arena or Stash) name(Arena or Stash) transforms((,newability[choice name(Create treasure) all(Undercity|mycommandzone) counter(0/0.1.Stash) && token(Treasure Sur)],newability[if type(creature|battlefield)~morethan~0 then choice name(Goad creature) name(Goad creature) all(Undercity|mycommandzone) counter(0/0.1.Arena) && target(creature|battlefield) _GOAD_])) oneshot!$ controller +autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~3,compare(hascntlostwell)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Arena or Stash) name(Arena or Stash) transforms((,newability[choice name(Create treasure) all(Undercity|mycommandzone) counter(0/0.1.Stash) && token(Treasure)],newability[if type(creature|battlefield)~morethan~0 then choice name(Goad creature) name(Goad creature) all(Undercity|mycommandzone) counter(0/0.1.Arena) && target(creature|battlefield) _GOAD_])) oneshot!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~4,compare(hascnttrap)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Archives) name(Archives) draw:1 controller!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~4,compare(hascntstash)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Catacombs) name(Catacombs) token(Skeleton^Creature Skeleton^4/1^black^menace)!$ controller autocommandzone=@counteradded(0/0,1,Explore) from(Undercity|mycommandzone) restriction{compare(hascntexplore)~equalto~4,compare(hascntarena)~equalto~1}:thisforeach(variable{type:*[twodngtrg]:myBattlefieldplus1plusend}) ability$!name(Archives or Catacombs) name(Archives or Catacombs) transforms((,newability[choice name(Draw a card) draw:1 controller],newability[choice name(Create skeleton) name(Create skeleton) token(Skeleton^Creature Skeleton^4/1^black^menace)])) oneshot!$ controller @@ -97651,7 +97702,7 @@ toughness=3 [/card] [card] name=Undercity Scrounger -auto={T} restriction{morbid}:token(Treasure sur) +auto={T} restriction{morbid}:token(Treasure) text={T}: Create a Treasure token. Activate only if a creature died this turn. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{B} type=Artifact Creature @@ -97890,7 +97941,7 @@ type=Sorcery [card] name=Unexpected Windfall auto=draw:2 controller -auto=token(Treasure Sur)*2 +auto=token(Treasure)*2 text=As an additional cost to cast this spell, discard a card. -- Draw two cards and create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R}{R}{D(other *|myhand)} type=Instant @@ -98494,7 +98545,6 @@ auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) transforms( auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) name(Search artifact) target(artifact[manacost<=1]|mylibrary) moveto(mybattlefield) and!( shuffle )! auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) sacrifice(this) text=(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.) -- I - Urza's Saga gains "{T}: Add {C}." -- II - Urza's Saga gains "{2}, {T}: Create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control.'" -- III - Search your library for an artifact card with mana cost {0} or {1}, put it onto the battlefield, then shuffle. -mana={0} type=Enchantment Land subtype=Urza's Saga [/card] @@ -99236,7 +99286,7 @@ type=Artifact [/card] [card] name=Vault Robber -auto={1}{T}:name(Exile creature) target(creature|mygraveyard) moveto(myexile) and!( token(Treasure Sur) )! +auto={1}{T}:name(Exile creature) target(creature|mygraveyard) moveto(myexile) and!( token(Treasure) )! text={1}, {T}, Exile a creature card from your graveyard: Create a Treasure token. (it's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{R} type=Creature @@ -100633,7 +100683,7 @@ type=Enchantment [/card] [card] name=Visions of Ruin -auto=ability$! name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|mybattlefield) sacrifice and!( token(Treasure Sur) opponent )! !$ opponent +auto=ability$! name(Sacrifice an artifact) name(Sacrifice an artifact) target(artifact|mybattlefield) sacrifice and!( token(Treasure) opponent )! !$ opponent flashback={8}{R}{R} otherrestriction=compare(convertedcost:highest:*[iscommander]:mycommandplay)~equalto~0 auto=if paid(alternative) then all(this|mystack) moveto(myexile) @@ -100767,6 +100817,17 @@ type=Enchantment subtype=Aura [/card] [card] +name=Vivisection Evangelist +abilities=vigilance +auto=if compare(opponentpoisoncount)~morethan~2 then name(Destroy creature or planeswalker) name(Destroy creature or planeswalker) destroy target(*[creature;planeswalker]|opponentBattlefield) +text=Vigilance -- Corrupted - When Vivisection Evangelist enters the battlefield, if an opponent has three or more poison counters, destroy target creature or planeswalker an opponent controls. +mana={3}{W}{B} +type=Creature +subtype=Phyrexian Cleric +power=4 +toughness=4 +[/card] +[card] name=Vivisurgeon's Insight auto=draw:3 auto=_PROLIFERATE_ @@ -101876,7 +101937,7 @@ toughness=3 [/card] [card] name=Wanted Scoundrels -auto=_DIES_token(435451)*2 opponent +auto=_DIES_token(Treasure)*2 opponent 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 @@ -103314,7 +103375,7 @@ type=Instant [/card] [card] name=Wily Goblin -auto=token(435451) +auto=token(Treasure) text=When Wily Goblin enters the battlefield, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool." mana={R}{R} type=Creature @@ -104585,7 +104646,7 @@ toughness=2 [/card] [card] name=Xorn -auto=@tokencreated(treasure|myBattlefield):token(Treasure Sur,notrigger) +auto=@tokencreated(treasure|myBattlefield):token(Treasure,notrigger) text=If you would create one or more Treasure tokens, instead create those tokens plus an additional Treasure token. mana={2}{R} type=Creature @@ -104923,8 +104984,8 @@ type=Instant name=You Find a Cursed Idol auto=if type(artifact|battlefield)~morethan~0 then choice name(Destroy artifact) name(Destroy artifact) target(artifact) destroy auto=if type(enchantment|battlefield)~morethan~0 then choice name(Destroy enchantment) name(Destroy enchantment) target(enchantment) destroy -auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then choice name(Create treasure) name(Create treasure) token(Treasure Sur) and!( transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot )! -auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~morethan~0 then name(Create treasure) name(Create treasure) token(Treasure Sur) +auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~equalto~0 then choice name(Create treasure) name(Create treasure) token(Treasure) and!( transforms((,newability[if type(*[dungeon]|mycommandzone)~morethan~0 then name(Explore the dungeon) name(Explore the dungeon) all(*[dungeon]|mycommandzone) counter(0/0.1.Explore)],newability[if type(*[dungeon]|mycommandzone)~equalto~0 then name(Choose a new dungeon) name(Choose a new dungeon) target(*[dungeon]|mysideboard) moveTo(mycommandzone) and!( counter(0/0.1.Explore) )!])) oneshot )! +auto=if compare(type:*[nodngplr]:mybattlefieldplustype:*[nodngopp]:opponentbattlefieldplusend)~morethan~0 then name(Create treasure) name(Create treasure) token(Treasure) text=Choose one -- Smash It - Destroy target artifact. -- Lift the Curse - Destroy target enchantment. -- Steal Its Eyes - Create a Treasure token and venture into the dungeon. (Enter the first room or advance to the next room.) mana={1}{G} type=Sorcery @@ -105005,7 +105066,7 @@ type=Instant [card] name=You've Been Caught Stealing auto=choice name(Threaten the Merchant) all(creature|battlefield) mustblock ueot -auto=choice name(Bribe the Guards) this(opponentdamagecount > 0) create(Treasure sur) +auto=choice name(Bribe the Guards) this(opponentdamagecount > 0) create(Treasure) text=Choose one - -- - Threaten the Merchant - Each creature blocks this turn if able. -- - Bribe the Guards - You create a Treasure token for each opponent who was dealt damage this turn. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{R} type=Sorcery @@ -105040,7 +105101,7 @@ name=Young Red Dragon // Bathe in Gold abilities=flying,cantblock,adventure,asflash restriction=can play creature other={1}{R} name(Adventure) -auto=if paid(alternative) then name(Create Treasure) name(Create Treasure) token(Treasure Sur) +auto=if paid(alternative) then name(Create Treasure) name(Create Treasure) token(Treasure) auto=if paid(alternative) then _ADVENTURE_ text=Flying -- Young Red Dragon can't block. // Create a Treasure token. (Then exile this card. You may cast the creature later from exile.) mana={3}{R} @@ -105521,7 +105582,7 @@ type=Land [/card] [card] name=Zhentarim Bandit -auto=_ATTACKING_pay({L:1}) && token(Treasure Sur) +auto=_ATTACKING_pay({L:1}) && token(Treasure) text=Whenever Zhentarim Bandit attacks, you may pay 1 life. If you do, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={1}{B} type=Creature @@ -105552,7 +105613,7 @@ subtype=Swamp Mountain Forest [card] name=Ziatora, the Incinerator abilities=flying -auto=@each my endofturn:may notatarget(other creature|mybattlefield) sacrifice && transforms((,newability[damage:power target(player^creature^planeswalker)],newability[token(Treasure sur)*3])) oneshot +auto=@each my endofturn:may notatarget(other creature|mybattlefield) sacrifice && transforms((,newability[damage:power target(player^creature^planeswalker)],newability[token(Treasure)*3])) oneshot text=Flying -- At the beginning of your end step, you may sacrifice another creature. When you do, Ziatora, the Incinerator deals damage equal to that creature's power to any target and you create three Treasure tokens. mana={3}{B}{R}{G} type=Legendary Creature diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 678a0d7b1..d2cdfc101 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -3525,7 +3525,7 @@ name=Vraska, Betrayal's Sting auto=if paid(alternative) then counter(0/0,4,loyalty) auto=ifnot paid(alternative) then counter(0/0,6,loyalty) auto={C(0/0,0,Loyalty)}:name(0: Draw card and lose life) draw:1 controller && life:-1 controller && _PROLIFERATE_ -auto={C(0/0,-2,Loyalty)}:name(-2: Creature becomes treasure) target(creature|battlefield) flip(Treasure Sur) +auto={C(0/0,-2,Loyalty)}:name(-2: Creature becomes treasure) target(creature|battlefield) flip(Treasure) auto={C(0/0,-9,Loyalty)}:name(-9: You get poison counter) alterpoison:9minusmypoisoncountminusend controller auto={C(0/0,-9,Loyalty)}:name(-9: Opponent gets poison counter) alterpoison:9minusopponentpoisoncountminusend opponent text=Compleated ({B/P} can be paid with {B} or 2 life. If life was paid, this planeswalker enters with two fewer loyalty counters.) -- [0]: You draw a card and you lose 1 life. Proliferate. -- [-2]: Target creature becomes a Treasure artifact with "{T}, Sacrifice this artifact: Add one mana of any color" and loses all other card types and abilities. -- [-9]: If target player has fewer than nine poison counters, they get a number of poison counters equal to the difference. diff --git a/projects/mtg/bin/Res/sets/primitives/unsupported.txt b/projects/mtg/bin/Res/sets/primitives/unsupported.txt index 4babd93bb..faf7a37df 100644 --- a/projects/mtg/bin/Res/sets/primitives/unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/unsupported.txt @@ -2,7 +2,7 @@ grade=unsupported #The cards in this file are not implemented/incomplete yet. #Updated Card lists not in primitives (Borderline, Crappy, Unsupported and Missing Cards) #Please keep these card alphabetized, and try to have the "name=" line at the top of each card -#I sorted this programatically - Vitty85 13-06-2023 +#I sorted this programatically - Vitty85 18-06-2023 [card] name="Ach! Hans, Run!" text=At the beginning of your upkeep, you may say "Ach Hans, run It's the . . ." and name a creature card. If you do, search your library for the named card, put it into play, then shuffle your library. That creature has haste. Remove it from the game at end of turn. @@ -6403,6 +6403,15 @@ mana={4}{R} type=Instant [/card] [card] +name=Melira, the Living Cure +text=If you would get one or more poison counters, instead you get one poison counter and you can't get additional poison counters this turn. -- Exile Melira, the Living Cure: Choose another target creature or artifact. When it's put into a graveyard this turn, return that card to the battlefield under its owner's control. +mana={G}{W} +type=Legendary Creature +subtype=Human Scout +power=3 +toughness=3 +[/card] +[card] name=Memory Crystal text=Buyback costs cost {2} less. mana={3} diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 5a510f8b4..8065c1233 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -1747,7 +1747,7 @@ class ANewAffinity: public MTGAbility public: string tcString; string manaString; - ANewAffinity(GameObserver* observer, int _id, MTGCardInstance * _source,string Tc = "", string mana =""); + ANewAffinity(GameObserver* observer, int _id, MTGCardInstance * _source, string Tc = "", string mana =""); void Update(float dt); int testDestroy(); ANewAffinity * clone() const; @@ -3646,9 +3646,11 @@ public: ActivatedAbility(observer, _id, _source, _cost, 0), _cardName(cardName), starfound(starfound), multiplier(multiplier), who(who), aLivingWeapon(aLivingWeapon) { if (!multiplier) this->multiplier = NEW WParsedInt(1); - MTGCard * card = MTGCollection()->getCardByName(_cardName); - tokenId = card->getId(); - if (card) name = card->data->getName(); + MTGCard * card = MTGCollection()->getCardByName(_cardName, _source->setId); // Try to retrieve token id from the same set of source card (e.g. Urza's Saga). + if (card) { + tokenId = card->getId(); + name = card->data->getName(); + } battleReady = false; andAbility = NULL; cID = ""; @@ -3742,7 +3744,6 @@ public: } for (int i = 0; i < Tokenizer(); ++i) { - //MTGCardInstance * myToken; if (tokenId) { MTGCard * card = MTGCollection()->getCardById(tokenId); diff --git a/projects/mtg/include/CardDescriptor.h b/projects/mtg/include/CardDescriptor.h index 08e770432..df1792835 100644 --- a/projects/mtg/include/CardDescriptor.h +++ b/projects/mtg/include/CardDescriptor.h @@ -52,18 +52,20 @@ class CardDescriptor: public MTGCardInstance int hasFlashbackCost; int hasBackSide; int modified; + int toxicity; int hasPartner; int hasXCost; int anyCounter; int init(); CardDescriptor(); - void unsecureSetKicked(int i); - void unsecureSetHasKickerCost(int i); - void unsecureSetHasConvokeCost(int i); - void unsecureSetHasFlashbackCost(int i); - void unsecureSetHasBackSide(int i); - void unsecureSetModified(int i); - void unsecureSetHasPartner(int i); + void unsecureSetKicked(int k); + void unsecureSetHasKickerCost(int k); + void unsecureSetHasConvokeCost(int k); + void unsecureSetHasFlashbackCost(int k); + void unsecureSetHasBackSide(int k); + void unsecureSetModified(int k); + void unsecureSetHasToxic(int k); + void unsecureSetHasPartner(int k); void unsecureSetTapped(int i); void unsecuresetfresh(int k); void unsecuresetrecent(int j); diff --git a/projects/mtg/include/MTGCardInstance.h b/projects/mtg/include/MTGCardInstance.h index 8281d7629..3967b363f 100644 --- a/projects/mtg/include/MTGCardInstance.h +++ b/projects/mtg/include/MTGCardInstance.h @@ -210,6 +210,7 @@ public: int stepPower(CombatStep step); int afterDamage(); int has(int ability); + int getToxicity(); int cleanup(); MTGCard * model; diff --git a/projects/mtg/include/MTGDeck.h b/projects/mtg/include/MTGDeck.h index 5fcf2a2df..c7e47c41d 100644 --- a/projects/mtg/include/MTGDeck.h +++ b/projects/mtg/include/MTGDeck.h @@ -129,7 +129,7 @@ public: void prefetchCardNameCache(); #endif - MTGCard * getCardByName(string name); + MTGCard * getCardByName(string name, int forcedSetId = -1); void loadFolder(const string& folder, const string& filename="" ); int load(const string& config_file); diff --git a/projects/mtg/include/MTGDefinitions.h b/projects/mtg/include/MTGDefinitions.h index 754ab6fa2..dda3e6ecc 100644 --- a/projects/mtg/include/MTGDefinitions.h +++ b/projects/mtg/include/MTGDefinitions.h @@ -225,7 +225,7 @@ class Constants NOMANA = 97, ONLYMANA = 98, POISONDAMAGER = 99, - soulbond = 100, + SOULBOND = 100, LURE = 101, NOLEGEND = 102, CANPLAYFROMGRAVEYARD = 103, @@ -355,7 +355,14 @@ class Constants AFFINITYATTACKINGCREATURES = 227, AFFINITYGRAVEINSTSORC = 228, CANLOYALTYTWICE = 229, - NB_BASIC_ABILITIES = 230, + POISONFOURTOXIC = 230, + POISONFIVETOXIC = 231, + POISONSIXTOXIC = 232, + POISONSEVENTOXIC = 233, + POISONEIGHTTOXIC = 234, + POISONNINETOXIC = 235, + POISONTENTOXIC = 236, + NB_BASIC_ABILITIES = 237, RARITY_S = 'S', //Special Rarity RARITY_M = 'M', //Mythics diff --git a/projects/mtg/src/CardDescriptor.cpp b/projects/mtg/src/CardDescriptor.cpp index 632ce3f65..46cedd443 100644 --- a/projects/mtg/src/CardDescriptor.cpp +++ b/projects/mtg/src/CardDescriptor.cpp @@ -32,8 +32,9 @@ CardDescriptor::CardDescriptor() hasBackSide = 0; hasPartner = 0; modified = 0; + toxicity = 0; hasXCost = 0; - compareName =""; + compareName = ""; nameComparisonMode = COMPARISON_NONE; colorComparisonMode = COMPARISON_NONE; CDopponentDamaged = 0; @@ -95,6 +96,11 @@ void CardDescriptor::unsecureSetModified(int k) modified = k; } +void CardDescriptor::unsecureSetHasToxic(int k) +{ + toxicity = k; +} + void CardDescriptor::unsecureSetHasPartner(int k) { hasPartner = k; @@ -367,6 +373,11 @@ MTGCardInstance * CardDescriptor::match(MTGCardInstance * card) match = NULL; } + if ((toxicity == -1 && card->getToxicity() > 0) || (toxicity == 1 && card->getToxicity() == 0)) + { + match = NULL; + } + if ((hasPartner == -1 && card->partner != "") || (hasPartner == 1 && card->partner == "")) { match = NULL; diff --git a/projects/mtg/src/CardGui.cpp b/projects/mtg/src/CardGui.cpp index cf29acfe1..2010745c7 100644 --- a/projects/mtg/src/CardGui.cpp +++ b/projects/mtg/src/CardGui.cpp @@ -1568,6 +1568,18 @@ bool CardGui::FilterCard(MTGCard * _card,string filter) cd.unsecureSetModified(1); } } + //Has toxic + else if (attribute.find("hastoxic") != string::npos) + { + if (minus) + { + cd.unsecureSetHasToxic(-1); + } + else + { + cd.unsecureSetHasToxic(1); + } + } //Has partner else if (attribute.find("haspartner") != string::npos) { diff --git a/projects/mtg/src/Damage.cpp b/projects/mtg/src/Damage.cpp index c85a8e854..fc3245667 100644 --- a/projects/mtg/src/Damage.cpp +++ b/projects/mtg/src/Damage.cpp @@ -7,6 +7,7 @@ #include "Translate.h" #include "WResourceManager.h" #include "GameObserver.h" +#include "WParsedInt.h" Damage::Damage(GameObserver* observer, MTGCardInstance * source, Damageable * target) : Interruptible(observer) @@ -213,10 +214,9 @@ int Damage::resolve() } } } - else if (target->type_as_damageable == Damageable::DAMAGEABLE_PLAYER && (source->has(Constants::POISONTOXIC) || - source->has(Constants::POISONTWOTOXIC) || source->has(Constants::POISONTHREETOXIC))) + else if ((target->type_as_damageable == Damageable::DAMAGEABLE_PLAYER) && (source->getToxicity() > 0)) { - //Damage + 1, 2, or 3 poison counters on player + //Damage + poison counters on player Player * _target = (Player *) target; if(!_target->inPlay()->hasAbility(Constants::CANTCHANGELIFE)) a = target->dealDamage(damage); @@ -234,20 +234,7 @@ int Damage::resolve() } if(!_target->inPlay()->hasAbility(Constants::POISONSHROUD)) { - int poison = 0; - if (source->has(Constants::POISONTOXIC)) - { - poison = 1; - } - else if (source->has(Constants::POISONTWOTOXIC)) - { - poison = 2; - } - else - { - poison = 3; - } - _target->poisonCount += poison; + _target->poisonCount += source->getToxicity(); WEvent * e = NEW WEventplayerPoisoned(_target, damage); // Added an event when player receives any poison counter. _target->getObserver()->receiveEvent(e); } diff --git a/projects/mtg/src/MTGCardInstance.cpp b/projects/mtg/src/MTGCardInstance.cpp index cdd722a0a..59fb34cb3 100644 --- a/projects/mtg/src/MTGCardInstance.cpp +++ b/projects/mtg/src/MTGCardInstance.cpp @@ -583,6 +583,33 @@ int MTGCardInstance::has(int basicAbility) return basicAbilities[basicAbility]; } +//Return the toxicity of card +int MTGCardInstance::getToxicity() +{ + int toxicity = 0; + if(has(Constants::POISONTOXIC)) + toxicity = 1; + else if(has(Constants::POISONTWOTOXIC)) + toxicity = 2; + else if(has(Constants::POISONTHREETOXIC)) + toxicity = 3; + else if(has(Constants::POISONFOURTOXIC)) + toxicity = 4; + else if(has(Constants::POISONFIVETOXIC)) + toxicity = 5; + else if(has(Constants::POISONSIXTOXIC)) + toxicity = 6; + else if(has(Constants::POISONSEVENTOXIC)) + toxicity = 7; + else if(has(Constants::POISONEIGHTTOXIC)) + toxicity = 8; + else if(has(Constants::POISONNINETOXIC)) + toxicity = 9; + else if(has(Constants::POISONTENTOXIC)) + toxicity = 10; + return toxicity; +} + ManaCost* MTGCardInstance::getReducedManaCost() { return &reducedCost; diff --git a/projects/mtg/src/MTGDeck.cpp b/projects/mtg/src/MTGDeck.cpp index 1180f45d2..c21123ab0 100644 --- a/projects/mtg/src/MTGDeck.cpp +++ b/projects/mtg/src/MTGDeck.cpp @@ -822,7 +822,7 @@ void MTGAllCards::prefetchCardNameCache() } #endif -MTGCard * MTGAllCards::getCardByName(string nameDescriptor) +MTGCard * MTGAllCards::getCardByName(string nameDescriptor, int forcedSetId) { boost::mutex::scoped_lock lock(instance->mMutex); if (!nameDescriptor.size()) return NULL; @@ -832,7 +832,7 @@ MTGCard * MTGAllCards::getCardByName(string nameDescriptor) map::iterator cached = mtgCardByNameCache.find(nameDescriptor); - if (cached!= mtgCardByNameCache.end()) + if ((forcedSetId < 0) && (cached!= mtgCardByNameCache.end())) { return cached->second; } @@ -845,6 +845,21 @@ MTGCard * MTGAllCards::getCardByName(string nameDescriptor) return result; } + map::iterator it; + if(forcedSetId != -1){ + for (it = collection.begin(); it != collection.end(); it++) + { + MTGCard * c = it->second; + if (forcedSetId != c->setId) continue; + string cardName = c->data->name; + std::transform(cardName.begin(), cardName.end(), cardName.begin(), ::tolower); + if (cardName.compare(nameDescriptor) == 0) { + mtgCardByNameCache[nameDescriptor] = c; + return c; + } + } + } + int setId = -1; size_t found = nameDescriptor.find(" ("); string name = nameDescriptor; @@ -859,9 +874,8 @@ MTGCard * MTGAllCards::getCardByName(string nameDescriptor) //Reconstruct a clean string "name (set)" for cache consistency nameDescriptor = name + " (" + setName + ")"; - } - map::iterator it; + for (it = collection.begin(); it != collection.end(); it++) { MTGCard * c = it->second; @@ -872,8 +886,8 @@ MTGCard * MTGAllCards::getCardByName(string nameDescriptor) mtgCardByNameCache[nameDescriptor] = c; return c; } - } + mtgCardByNameCache[nameDescriptor] = NULL; return NULL; } diff --git a/projects/mtg/src/MTGDefinitions.cpp b/projects/mtg/src/MTGDefinitions.cpp index 5972acbad..60d21bc10 100644 --- a/projects/mtg/src/MTGDefinitions.cpp +++ b/projects/mtg/src/MTGDefinitions.cpp @@ -80,9 +80,9 @@ const char* Constants::MTGBasicAbilities[] = { "cantregen", "oneblocker", "infect", - "poisontoxic", - "poisontwotoxic", - "poisonthreetoxic", + "poisontoxic", // Card has toxic 1 + "poisontwotoxic", // Card has toxic 2 + "poisonthreetoxic", // Card has toxic 3 "phantom",//prevents damage and remove 1 +1/+1 counter "wilting",//source takes damage in the form of -1/-1 counters. "vigor",//instead of taking damage the source gains +1/+1 counters @@ -260,7 +260,14 @@ const char* Constants::MTGBasicAbilities[] = { "affinitygravecreatures", //Cost 1 less for each creature in your graveyard. "affinityattackingcreatures", //Cost 1 less for each attacking creature in your battlefield. "affinitygraveinstsorc", //Cost 1 less for each instant or sorcery in your graveyard. - "canloyaltytwice" //Planeswalker can activate its loyalty abilities twice in a turn (e.g. "Urza, Planeswalker"). + "canloyaltytwice", //Planeswalker can activate its loyalty abilities twice in a turn (e.g. "Urza, Planeswalker"). + "poisonfourtoxic", // Card has toxic 4 + "poisonfivetoxic", // Card has toxic 5 + "poisonsixtoxic", // Card has toxic 6 + "poisonseventoxic", // Card has toxic 7 + "poisoneighttoxic", // Card has toxic 8 + "poisonninetoxic", // Card has toxic 9 + "poisontentoxic" // Card has toxic 10 }; map Constants::MTGBasicAbilitiesMap; diff --git a/projects/mtg/src/MTGRules.cpp b/projects/mtg/src/MTGRules.cpp index 1992fbb6b..0788be4e0 100644 --- a/projects/mtg/src/MTGRules.cpp +++ b/projects/mtg/src/MTGRules.cpp @@ -3063,7 +3063,7 @@ int MTGSoulbondRule::receiveEvent(WEvent * event) MTGCardInstance * card = e->card; if (!card || !card->isCreature()) return 0; int ok = 0; - if(card->has(Constants::soulbond) || soulbonders.size()) + if(card->has(Constants::SOULBOND) || soulbonders.size()) { for (int i = 0; i < 2; i++) { @@ -3071,7 +3071,7 @@ int MTGSoulbondRule::receiveEvent(WEvent * event) if (e->to == p->game->inPlay) { ok = 1; - if(card->basicAbilities[(int)Constants::soulbond]) + if(card->basicAbilities[(int)Constants::SOULBOND]) soulbonders.push_back(e->card); } } diff --git a/projects/mtg/src/TargetChooser.cpp b/projects/mtg/src/TargetChooser.cpp index f514fad7b..af4216792 100644 --- a/projects/mtg/src/TargetChooser.cpp +++ b/projects/mtg/src/TargetChooser.cpp @@ -663,6 +663,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta cd->unsecureSetModified(1); } } + //Has toxic + else if (attribute.find("hastoxic") != string::npos) + { + if (minus) + { + cd->unsecureSetHasToxic(-1); + } + else + { + cd->unsecureSetHasToxic(1); + } + } //Has partner else if (attribute.find("haspartner") != string::npos) { @@ -2237,7 +2249,7 @@ bool pairableChooser::canTarget(Targetable * target,bool) return false; if(card->controller() != source->controller()) return false; - if(!card->has(Constants::soulbond) && !source->has(Constants::soulbond)) + if(!card->has(Constants::SOULBOND) && !source->has(Constants::SOULBOND)) return false; return true; } diff --git a/projects/mtg/src/WParsedInt.cpp b/projects/mtg/src/WParsedInt.cpp index 1056a6f1f..a4dd15be4 100644 --- a/projects/mtg/src/WParsedInt.cpp +++ b/projects/mtg/src/WParsedInt.cpp @@ -1619,6 +1619,29 @@ void WParsedInt::extendedParse(string s, Spell * spell, MTGCardInstance * card) intValue = card->getManaCost()->getManaUsedToCast()->getConvertedCost(); } } + else if(s.find("toxicity") != string::npos){ //Return the toxicity of card. + intValue = card->getToxicity(); + } + else if (s.find("ninelands") != string::npos) //Count the number of lands with different names among the Basic, Sphere, and Locus lands you control. + { + intValue = 0; + vector list; + for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j) + { + if (card->controller()->game->inPlay->cards[j]->isLand() && + (card->controller()->game->inPlay->cards[j]->hasType("basic") || card->controller()->game->inPlay->cards[j]->hasType("sphere") || card->controller()->game->inPlay->cards[j]->hasType("locus"))){ + bool name_found = false; + for(unsigned int i = 0; i < list.size() && !name_found; i++){ + if(list[i] == card->controller()->game->inPlay->cards[j]->name) + name_found = true; + } + if(!name_found){ + list.push_back(card->controller()->game->inPlay->cards[j]->name); + intValue += 1; + } + } + } + } else if(!intValue)//found nothing, try parsing a atoi { intValue = atoi(s.c_str());