From b87be5837a13e612b64fd48343e6adfac93fa0c5 Mon Sep 17 00:00:00 2001 From: Eduardo MG Date: Mon, 17 Apr 2023 16:03:07 -0600 Subject: [PATCH] Bug Fixes on primitives, change in ADAPT macros Modified _ADAPT_ macros to make it clearer Trusty Retriever Howl of the Hunt Urza, Lord High Artificer Puncturing Blow Surge Engine Temporal Machinations Triumph of Gerrard Burning Fields Dragonlord Atarka Cartouche of Strength Tortured Existence Search the Premises Ordeal of Nylea Ebondeath, Dracolich Kraken of the Straits Cleansing --- .../mtg/bin/Res/sets/primitives/_macros.txt | 2 +- .../bin/Res/sets/primitives/borderline.txt | 85 +++++++++---------- projects/mtg/bin/Res/sets/primitives/mtg.txt | 11 ++- 3 files changed, 50 insertions(+), 48 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 49b50014a..3b1f932c9 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -70,7 +70,7 @@ #AUTO_DEFINE _SECOND_DRAW_ @drawof(player) restriction{compare(pdrewcount)~equalto~2}: # Adapt -#AUTO_DEFINE _ADAPT_($c) this(counter{1/1}<1) transforms((,newability[counter(1/1.$c)])) forever +#AUTO_DEFINE _ADAPT_($c) name(Adapt $c) this(counter{1/1}<1) transforms((,newability[counter(1/1.$c)])) forever # Battalion #AUTO_DEFINE _BATTALION_ @combat(attacking) source(this) restriction{type(other creature[attacking]|myBattlefield)~morethan~1}: diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 3e0955e8d..88c9a60f4 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -5850,7 +5850,7 @@ toughness=3 [card] name=Basilica Skullbomb auto={1}{S}:draw:1 -auto={2}{W}{S}:target(creature|myBattlefield) 2/2 && flying ueot draw:1 asSorcery +auto={2}{W}{S}:target(creature|myBattlefield) 2/2 && flying ueot draw:1 controller asSorcery text={1}, Sacrifice Basilica Skullbomb: Draw a card. -- {2}{W}, Sacrifice Basilica Skullbomb: Target creature you control gets +2/+2 and gains flying until end of turn. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -11625,7 +11625,7 @@ name=Cartouche of Strength target=creature|myBattlefield auto=1/1 auto=trample -auto=may target(creature) transforms((,newability[target(creature) dynamicability])) ueot +auto=may all(mytgt) transforms((,newability[target(creature) dynamicability])) ueot text=Enchant creature you control -- When Cartouche of Strength enters the battlefield, you may have enchanted creature fight target creature an opponent controls. (Each deals damage equal to its power to the other.) -- Enchanted creature gets +1/+1 and has trample. mana={2}{G} type=Enchantment @@ -14167,7 +14167,7 @@ toughness=2 [/card] [card] name=Cleansing -auto=all(land|battlefield) transforms((,newability[pay[[{1}]] name(pay 1 mana) donothing?destroy])) forever +auto=all(land|battlefield) transforms((,newability[pay[[{L:1}]] name(pay 1 life) donothing?destroy])) forever text=For each land, destroy that land unless any player pays 1 life. mana={W}{W}{W} type=Sorcery @@ -21734,7 +21734,7 @@ toughness=3 [card] name=Drafna, Founder of Lat-Nam auto={1}{U}:target(artifact|myBattlefield) moveto(ownerhand) -auto={3}{T}:copy target(artifact|mystack) +auto={3}{T}:clone target(artifact|mystack) text={1}{U}: Return target artifact you control to its owner's hand. -- {3}, {T}: Copy target artifact spell you control. (The copy becomes a token.) mana={1}{U} type=Legendary Creature @@ -21976,7 +21976,7 @@ toughness=2 [card] name=Dragonlord Atarka abilities=flying,trample -auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature;planeswalker|opponentBattlefield) damage:1!$ controller +auto=thisforeach(variable{5}) ability$!name(Deal 1 damage) name(Deal 1 damage) target(creature,planeswalker|opponentBattlefield) damage:1!$ controller text=Flying, trample -- When Dragonlord Atarka enters the battlefield, it deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers your opponents control. mana={5}{R}{G} type=Legendary Creature @@ -22717,7 +22717,7 @@ toughness=2 [card] name=Dross Skullbomb auto={1}{S}:draw:1 -auto={2}{B}{S}:target(creature|mygraveyard) moveto(ownerhand) && draw:1 asSorcery +auto={2}{B}{S}:target(creature|mygraveyard) moveto(ownerhand) && draw:1 controller asSorcery text={1}, Sacrifice Dross Skullbomb: Draw a card. -- {2}{B}, Sacrifice Dross Skullbomb: Return target creature card from your graveyard to your hand. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -23482,7 +23482,7 @@ type=Sorcery name=Ebondeath, Dracolich abilities=flash,flying auto=tap(noevent) -autograveyard={2}{B}{B} restriction{thisturn(creature[-Ebondeath^ Dracolich;fresh]|mygraveyard)~morethan~0}:name(Cast from graveyard) activate castcard(normal) +autograveyard=aslongas(other creature[fresh]|graveyard) CanPlayFromGraveyard text=Flash -- Flying -- Ebondeath, Dracolich enters the battlefield tapped. -- You may cast Ebondeath, Dracolich from your graveyard if a creature not named Ebondeath, Dracolich died this turn. mana={2}{B}{B} type=Legendary Creature @@ -27227,7 +27227,7 @@ toughness=2 name=Fblthp, the Lost auto=draw:1 auto=@movedTo(battlefield) from(library):draw:1 -auto=@targeted(this):moveto(mylibrary) && shuffle +auto=@targeted(this) from(*|stack):moveto(mylibrary) && shuffle text=When Fblthp, the Lost enters the battlefield, draw a card. If it entered from your library or was cast from your library, draw two cards instead. -- When Fblthp becomes the target of a spell, shuffle Fblthp into its owner's library. mana={1}{U} type=Legendary Creature @@ -30387,7 +30387,7 @@ type=Enchantment [card] name=Furnace Skullbomb auto={1}{S}:draw:1 -auto={1}{R}{S}:counter(0/0,2,oil) target(artifact,creature|myBattlefield) && draw:1 asSorcery +auto={1}{R}{S}:counter(0/0,2,oil) target(artifact,creature|myBattlefield) && draw:1 controller asSorcery text={1}, Sacrifice Furnace Skullbomb: Draw a card. -- {1}{R}, Sacrifice Furnace Skullbomb: Put two oil counters on target artifact or creature you control. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -36663,7 +36663,7 @@ type=Legendary Artifact [/card] [card] name=Hazoret's Undying Fury -auto=moverandom(*[manacost<=5;-land]) from(mylibrary) to(mybattlefield) +auto=moverandom(*[manacost<=5;-land]) from(mylibrary) to(mybattlefield) auto=all(land|mybattlefield) frozen text=Shuffle your library, then exile the top four cards. You may cast any number of nonland cards with mana value 5 or less from among them without paying their mana costs. Lands you control don't untap during your next untap step. mana={4}{R}{R} @@ -37325,9 +37325,8 @@ toughness=2 [/card] [card] name=Hero of the Dunes -auto=name(target artifact) target(artifact[manacost<=3]|myGraveyard) moveTo(mybattlefield) -auto=name(target creature) target(creature[manacost<=3]|myGraveyard) moveTo(mybattlefield) -auto=lord(creature[[manacost<=3]]|myBattlefield) 1/0 +auto=name(target artifact or creature) target(*[artifact;creature;manacost<=3]|myGraveyard) moveTo(mybattlefield) +auto=lord(creature[manacost<=3]|myBattlefield) 1/0 text=When Hero of the Dunes enters the battlefield, return target artifact or creature card with mana value 3 or less from your graveyard to the battlefield. -- Creatures you control with mana value 3 or less get +1/+0. mana={3}{W}{B} type=Creature @@ -38515,10 +38514,9 @@ toughness=2 name=Howl of the Hunt abilities=flash target=creature -auto=teach(creature) vigilance +auto=teach(*[wolf;werewolf]) untap auto=teach(creature) 2/2 -auto=teach(creature[wolf;werewolf]) untap -auto={2}{W}{S} restriction{coven}:name(Exile enchanted creature) imprint +auto=teach(creature) vigilance text=Flash -- Enchant creature -- When Howl of the Hunt enters the battlefield, if enchanted creature is a Wolf or Werewolf, untap that creature. -- Enchanted creature gets +2/+2 and has vigilance. mana={2}{G} type=Enchantment @@ -40149,17 +40147,17 @@ type=Sorcery [/card] [card] name=Incubation Druid -auto=this(variable{plandg}>0) {t}:out{g} -auto=this(variable{plandu}>0) {t}:out{u} -auto=this(variable{plandr}>0) {t}:out{r} -auto=this(variable{plandb}>0) {t}:out{b} auto=this(variable{plandw}>0) {t}:out{w} +auto=this(variable{plandu}>0) {t}:out{u} +auto=this(variable{plandb}>0) {t}:out{b} +auto=this(variable{plandr}>0) {t}:out{r} +auto=this(variable{plandg}>0) {t}:out{g} auto=this(variable{plandc}>0) {t}:out{1} -auto=this(counter{1/1}) this(variable{plandG}>0) {t}:out{G}{G}{G} -auto=this(counter{1/1}) this(variable{plandU}>0) {t}:out{U}{U}{U} -auto=this(counter{1/1}) this(variable{plandR}>0) {t}:out{R}{R}{R} -auto=this(counter{1/1}) this(variable{plandB}>0) {t}:out{B}{B}{B} auto=this(counter{1/1}) this(variable{plandW}>0) {t}:out{W}{W}{W} +auto=this(counter{1/1}) this(variable{plandU}>0) {t}:out{U}{U}{U} +auto=this(counter{1/1}) this(variable{plandB}>0) {t}:out{B}{B}{B} +auto=this(counter{1/1}) this(variable{plandR}>0) {t}:out{R}{R}{R} +auto=this(counter{1/1}) this(variable{plandG}>0) {t}:out{G}{G}{G} auto=this(counter{1/1}) this(variable{plandC}>0) {t}:out{1}{1}{1} auto={3}{G}{G}:_ADAPT_(3) text={T}: Add one mana of any type that a land you control could produce. If Incubation Druid has a +1/+1 counter on it, add three mana of that type instead. -- {3}{G}{G}: Adapt 3. (If this creature has no +1/+1 counters on it, put three +1/+1 counters on it.) @@ -44893,7 +44891,7 @@ toughness=9 [/card] [card] name=Kraken of the Straits -auto=_ATTACKING_lord(creature[power<=type:island:mybattlefield]|opponentbattlefield) cantblock ueot +auto=cantbeblockedby(creature[power<=type:island:mybattlefieldminus1minusend]) text=Creatures with power less than the number of Islands you control can't block Kraken of the Straits. mana={5}{U}{U} type=Creature @@ -49982,7 +49980,7 @@ toughness=2 [card] name=Maze Skullbomb auto={1}{S}:draw:1 -auto={2}{G}{S}:target(creature|myBattlefield) 3/3 && trample ueot && draw:1 asSorcery +auto={2}{G}{S}:target(creature|myBattlefield) 3/3 && trample ueot && draw:1 controller asSorcery text={1}, Sacrifice Maze Skullbomb: Draw a card. -- {2}{G}, Sacrifice Maze Skullbomb: Target creature you control gets +3/+3 and gains trample until end of turn. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -56182,7 +56180,7 @@ type=Sorcery [card] name=One with the Multiverse abilities=showfromtoplibrary,canplayfromlibrarytop -auto={0}:name(cast a spell without paying its mana cost) castcard(normal) notatarget(*|myhand,mylibrary) limit:1 myturnonly +auto={0}:name(cast a spell without paying its mana cost) castcard(normal) notatarget(*[-land]|myhand,mylibrary) limit:1 myturnonly text=You may look at the top card of your library any time. -- You may play lands and cast spells from the top of your library. -- Once during each of your turns, you may cast a spell from your hand or the top of your library without paying its mana cost. mana={6}{U}{U} type=Enchantment @@ -56595,7 +56593,7 @@ name=Ordeal of Nylea target=creature auto=@combat(attacking) source(mytgt):counter(1/1) auto=teach(creature) transforms((,newability[this(counter{1/1}>=3) sacrifice target(Ordeal of Nylea|mybattlefield)])) -auto=_DIES_notatarget(land[basic]|mylibrary) transforms((,newability[name(move to battlefield) notatarget(land[basic]|mylibrary) moveTo(myBattlefield) and!(tap(noevent))!],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot +auto=_DIES_notatarget(land[basic]|mylibrary) transforms((,newability[name(move to battlefield) notatarget(land[basic]|mylibrary) moveTo(myBattlefield) and!(tap(noevent))!],newability[moveTo(myBattlefield) and!(tap(noevent))!])) oneshot text=Enchant creature -- Whenever enchanted creature attacks, put a +1/+1 counter on it. Then if it has three or more +1/+1 counters on it, sacrifice Ordeal of Nylea. -- When you sacrifice Ordeal of Nylea, search your library for up to two basic land cards, put them onto the battlefield tapped, then shuffle your library. mana={1}{G} type=Enchantment @@ -56815,7 +56813,7 @@ toughness=3 [card] name=Orzhov Advokist auto=@each my upkeep: may lord(creature|opponentBattlefield) cantattack ueot && target(creature|opponentBattlefield) counter(1/1,2) -auto=@each my upkeep: may lord(creature|myBattlefield) cantattack ueot && target(creature|myBattlefield) counter(1/1,2) +auto=@each my upkeep: may lord(creature|myBattlefield) target(creature|myBattlefield) counter(1/1,2) text=At the beginning of your upkeep, each player may put two +1/+1 counters on a creature they control. If a player does, creatures that player controls can't attack you or a planeswalker you control until your next turn. mana={2}{W} type=Creature @@ -61191,8 +61189,8 @@ type=Enchantment [card] name=Puncturing Blow target=creature +auto=teach(creature) exiledeath ueot auto=damage:5 -auto=exiledeath text=Puncturing Blow deals 5 damage to target creature. If that creature would die this turn, exile it instead. mana={2}{R}{R} type=Sorcery @@ -69486,7 +69484,7 @@ type=Snow Sorcery [/card] [card] name=Search the Premises -auto=@each blockers:name(Investigate) name(Create clue) token(Clue) controller +auto=@combat(attacking) source(creature|opponentBattlefield):name(Investigate) name(Create clue) token(Clue) controller text=Whenever a creature attacks you or a planeswalker you control, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") mana={3}{W} type=Enchantment @@ -71544,9 +71542,9 @@ toughness=4 [card] name=Shoreline Scout auto=may name(Exile merfolk or land) target(*[merfolk;land]|myHand) moveto(exile) and!( conjure cards(Tropical Island) zone(myhand) )! -auto=if thisturn(*[land]|mybattlefield)~morethan~0 then 1/0 ueot -auto=if thisturn(*[land]|mybattlefield)~equalto~0 then if thisturn(*[merfolk]|mybattlefield)~morethan~1 then 1/0 ueot -auto=@movedto(*[merfolk;land]|mybattlefield) turnlimited:1/0 ueot +auto=if thisturn(*[island]|mybattlefield)~morethan~0 then 1/0 ueot +auto=if thisturn(*[island]|mybattlefield)~equalto~0 then if thisturn(*[merfolk]|mybattlefield)~morethan~1 then 1/0 ueot +auto=@movedto(*[merfolk;island]|mybattlefield) turnlimited:1/0 ueot text=When Shoreline Scout enters the battlefield, you may exile a Merfolk card or a land card from your hand. If you do, conjure a Tropical Island card into your hand. -- As long as another Merfolk or an Island entered the battlefield under your control this turn, Shoreline Scout gets +1/+0. mana={U} type=Creature @@ -78287,7 +78285,8 @@ toughness=2 [card] name=Sudden Breakthrough target=creature -auto=transforms((,newability[2/0],newability[first strike])) ueot +auto=2/0 +auto=first strike auto=token(Treasure Sur) 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} @@ -78867,7 +78866,7 @@ toughness=3 [card] name=Surge Engine abilities=defender -auto={U}:-defender forever && becomes(unblockable) forever +auto={U}:-defender forever && becomes(,unblockable) forever auto=this(cantargetcard(*[-defender]) {2}{U}:becomes(,5/4,blue) forever auto=this(cantargetcard(*[blue;-effect]) {4}{U}{U}:draw:3 && becomes(effect) forever text=Defender -- {U}: Surge Engine loses defender and gains "This creature can't be blocked." -- {2}{U}: Surge Engine becomes blue and has base power and toughness 5/4. Activate only if Surge Engine doesn't have defender. -- {4}{U}{U}: Draw three cards. Activate only if Surge Engine is blue and only once. @@ -78933,7 +78932,7 @@ toughness=3 [card] name=Surgical Skullbomb auto={1}{S}:draw:1 -auto={2}{U}{S}:target(creature) moveto(ownerhand) && draw:1 asSorcery +auto={2}{U}{S}:target(creature) moveto(ownerhand) && draw:1 controller asSorcery text={1}, Sacrifice Surgical Skullbomb: Draw a card. -- {2}{U}, Sacrifice Surgical Skullbomb: Return target creature to its owner's hand. Draw a card. Activate only as a sorcery. mana={1} type=Artifact @@ -80838,7 +80837,7 @@ type=Sorcery name=Temporal Machinations target=creature auto=moveTo(ownerHand) -auto=aslongas(artifact|myBattlefield) draw:1 +auto=aslongas(artifact|myBattlefield) draw:1 controller text=Return target creature to its owner's hand. If you control an artifact, draw a card. mana={2}{U} type=Sorcery @@ -84823,7 +84822,7 @@ auto=counter(0/0,1,Lore) auto=@each my firstmain:counter(0/0,1,Lore) auto=counter(1/1) target(creature[power=power:highest:creature:myBattlefield]|mybattlefield) auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.2.Lore}=) counter(1/1) target(creature|mybattlefield) -auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) flying target(creature) +auto=@counteradded(0/0,1,Lore) from(this):this(counter{0/0.3.Lore}) target(creature|mybattlefield) transforms((,newability[flying],newability[first strike],newability[lifelink])) ueot 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 - Put a +1/+1 counter on target creature you control with the greatest power. -- III - Target creature you control with the greatest power gains flying, first strike, and lifelink until end of turn. mana={1}{W} @@ -85056,7 +85055,7 @@ toughness=3 [card] name=Trusty Retriever auto=choice name(Put counter) counter(1/1) -auto=choice name(Return enchantment) moveto(myhand) target(enchantment|mygraveyard) +auto=choice name(Return artifact or enchantment) moveto(myhand) target(artifact,enchantment|mygraveyard) text=When Trusty Retriever enters the battlefield, Choose one -- Put a +1/+1 counter on Trusty Retriever. -- Return target artifact or enchantment card from your graveyard to your hand. mana={3}{W} type=Creature @@ -86733,7 +86732,7 @@ toughness=5 name=Urza, Lord High Artificer auto=token(-464024) auto={T(artifact|myBattlefield)}:add{U} -auto={5}:name(Suffle and cast) shuffle && reveal:1 optionone name(Reveal)if type(*|reveal)~morethan~0 then name(Check to cast) target(*|reveal) transforms((,newability[if type(*|mybattlefield)~morethan~0 then castcard(putinplay)])) else name(not a creature) target(*|reveal) donothing optiononeend optiontwo choice all(*|reveal) bottomoflibrary optiontwoend revealend +auto={5}:name(Suffle and play) shuffle && reveal:1 optionone name(Reveal)if type(*|reveal)~morethan~0 then name(Check to cast) target(*|reveal) transforms((,newability[if type(*|mybattlefield)~morethan~0 then castcard(putinplay)])) else name(do not play) target(*|reveal) donothing optiononeend optiontwo choice all(*|reveal) moveTo(exile) optiontwoend revealend text=When Urza, Lord High Artificer enters the battlefield, create a 0/0 colorless Construct artifact creature token with "This creature gets +1/+1 for each artifact you control." -- Tap an untapped artifact you control: Add {U}. -- {5}: Shuffle your library, then exile the top card. Until end of turn, you may play that card without paying its mana cost. mana={2}{U}{U} type=Legendary Creature @@ -86753,8 +86752,8 @@ toughness=4 [/card] [card] name=Urza, Prince of Kroog -auto=lord(artifact[creature]|myBattlefield) +2/+2 -auto={6}:target(artifact|myBattlefield) clone and!( transforms((creature Soldier,setpower=1,settoughness=1,haste,treason)) forever )! +auto=lord(artifact[creature]|myBattlefield) 2/2 +auto={6}:target(artifact|myBattlefield) clone and!( transforms((creature Soldier,setpower=1,settoughness=1)) forever )! text=Artifact creatures you control get +2/+2. -- {6}: Create a token that's a copy of target artifact you control, except it's a 1/1 Soldier creature in addition to its other types. mana={2}{W}{U} type=Legendary Creature diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 8af3c6aa0..6ddf43fe9 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -15805,8 +15805,9 @@ type=Enchantment [/card] [card] name=Burning Fields -auto=Damage:5 opponent -text=Burning Fields deals 5 damage to target opponent. +target=opponent,planeswalker +auto=damage:5 +text=Burning Fields deals 5 damage to target opponent or planeswalker. mana={4}{R} type=Sorcery [/card] @@ -22498,6 +22499,8 @@ auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefiel auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}:counter(1/1,8) >7 auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}:counter(1/1,9) >8 auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}:counter(1/1,10) >9 +auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}:counter(1/1,11) >10 +auto=aslongas(land|myBattlefield) {T}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}{S(land|myBattlefield)}:counter(1/1,12) >11 text=Flying -- {T}, Sacrifice X lands: Put X +1/+1 counters on Copper-Leaf Angel. mana={5} type=Artifact Creature @@ -51266,7 +51269,7 @@ toughness=5 [card] name=Guardian of the Ages abilities=defender -auto=@combat(attacking) source(creature|opponentbattlefield): transforms((,newability[-defender],newability[trample])) forever dontremove +auto=@combat(attacking) source(creature|opponentbattlefield):transforms((,newability[-defender],newability[trample])) forever dontremove text=Defender. -- Whenever a creature attacks you or a planeswalker you control, if Guardian of the Ages has defender, it loses defender and gains trample. mana={7} type=Artifact Creature @@ -122761,7 +122764,7 @@ type=Artifact [/card] [card] name=Tortured Existence -auto={D(creature|myhand)}:moveTo(myhand) target(creature|mygraveyard) +auto={B}{D(creature|myhand)}:moveTo(myhand) target(creature|mygraveyard) text={B}, Discard a creature card: Return target creature card from your graveyard to your hand. mana={B} type=Enchantment