diff --git a/projects/mtg/bin/Res/sets/primitives/_macros.txt b/projects/mtg/bin/Res/sets/primitives/_macros.txt index 0b03021bb..50c12dded 100644 --- a/projects/mtg/bin/Res/sets/primitives/_macros.txt +++ b/projects/mtg/bin/Res/sets/primitives/_macros.txt @@ -221,6 +221,9 @@ # Must be blocked this turn if able #AUTO_DEFINE _MUST_BE_BLOCKD_ newability[@combat(attacking) source(this):ability$! notatarget(creature|myBattlefield) transforms((,newability[mustblock])) ueot!$ opponent] +# Suspect it (It has menace and can't block.) +#AUTO_DEFINE _SUSPECT_IT_ name(Suspect it) transforms((,menace,cantblock,newability[becomes(suspect) forever])) forever + # Angel Token #AUTO_DEFINE _ANGELTOKEN_ create(Angel:Creature Angel:4/4:white:flying) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 88d40b983..0b9964db5 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -105,7 +105,7 @@ type=Instant name=Abominable Treefolk abilities=trample anyzone=type:*[snow]:myBattlefield/type:*[snow]:myBattlefield cdaactive -auto=target(creature|opponentbattlefield) transforms((,newability[tap],newability[frozen])) +auto=target(creature|opponentbattlefield) transforms((,newability[freeze])) text=Trample -- Abominable Treefolk's power and toughness are each equal to the number of snow permanents you control. -- When Abominable Treefolk enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step. mana={2}{G}{U} type=Snow Creature @@ -614,8 +614,7 @@ type=Conspiracy [/card] [card] name=Adriana, Captain of the Guard -auto=_ATTACKING_1/1 ueot -auto=lord(other creature[attacking]|myBattlefield) 1/1 ueot +auto=@combat(attacking) source(creature|myBattlefield):all(trigger[to]) 1/1 ueot text=Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.) -- Other creatures you control have melee. (If a creature has multiple instances of melee, each triggers separately.) mana={3}{R}{W} type=Legendary Creature @@ -787,7 +786,7 @@ type=Instant [card] name=Aerie Auxiliary abilities=flying -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) text=Flying -- When Aerie Auxiliary enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) mana={3}{W} type=Creature @@ -2220,9 +2219,8 @@ toughness=3 [card] name=Anax, Hardened in the Forge anyzone=type:manaR:mybattlefield/3 cdaactive -auto=_DIES_token(Satyr,Creature Satyr,1/1,red,cantblock) -auto=@movedTo(other creature[-token;power<=3]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock) -auto=@movedTo(other creature[-token;power>=4]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock)*2 +auto=@movedTo(creature[-token;power<=3]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock) +auto=@movedTo(creature[-token;power>=4]|mygraveyard) from(Battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock)*2 text=Anax's power is equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts toward your devotion to red.) -- Whenever Anax or another nontoken creature you control dies, create a 1/1 red Satyr creature token with "This creature can't block." If the creature had power 4 or greater, create two of those tokens instead. mana={1}{R}{R} type=Legendary Enchantment Creature @@ -3881,8 +3879,8 @@ toughness=3 [card] name=Archangel of Strife abilities=flying -auto=choice name(War) all(creature|myBattlefield) 3/0 && flipacoin winability all(creature|opponentBattlefield) 3/0 winabilityend loseability all(creature|opponentBattlefield) 0/3 loseabilityend flipend -auto=choice name(Peace) all(creature|myBattlefield) 0/3 && flipacoin winability all(creature|opponentBattlefield) 3/0 winabilityend loseability all(creature|opponentBattlefield) 0/3 loseabilityend flipend +auto=choice name(War) lord(creature) 3/0 +auto=choice name(Peace) lord(creature) 0/3 text=Flying -- As Archangel of Strife enters the battlefield, each player chooses war or peace. -- Creatures controlled by players who chose war get +3/+0. -- Creatures controlled by players who chose peace get +0/+3. mana={5}{W}{W} type=Creature @@ -5049,7 +5047,7 @@ toughness=* name=Ashcoat of the Shadow Swarm auto=_ATTACKING_name(Rats gain X/X) all(other rat|myBattlefield) type:rat:mybattlefield/type:rat:mybattlefield ueot auto=@combat(blocking) source(this):name(Rats gain X/X) all(other rat|myBattlefield) type:rat:mybattlefield/type:rat:mybattlefield ueot -auto=@each my endofturn:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((toberat,newability[may name(Return 2 rats) target(toberat[creature&rat]|mygraveyard) moveto(ownerHand)])) ueot )!])) ueot )! +auto=@each my endofturn:may name(Mill 4 cards) all(*[zpos<=3]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[all(*[zpos=4]|mylibrary) moveto(mygraveyard) and!( transforms((,newability[may name(Return 2 rats) target(*[creature&rat]|mygraveyard) moveto(ownerHand)])) ueot )!])) ueot )! text=Whenever Ashcoat of the Shadow Swarm attacks or blocks, other Rats you control get +X/+X until end of turn, where X is the number of Rats you control. -- At the beginning of your end step, you may mill four cards. If you do, return up to two Rat creature cards from your graveyard to your hand. (To mill a card, put the top card of your library into your graveyard.) mana={3}{B} type=Legendary Creature @@ -5072,7 +5070,7 @@ toughness=1 name=Ashes of the Abhorrent auto=lord(*[-land]|graveyard) changecost(colorless:+999) forcedalive auto=lord(*[-land]|graveyard) -canPlayFromGraveyard -auto=@movedto(*|graveyard) from(battlefield):life:1 controller +auto=@movedto(creature|graveyard) from(battlefield):life:1 controller text=Players can't cast spells from graveyards or activate abilities of cards in graveyards. -- Whenever a creature dies, you gain 1 life. mana={1}{W} type=Enchantment @@ -5162,8 +5160,8 @@ toughness=1 [/card] [card] name=Asmodeus the Archfiend -auto=replacedraw transforms((,newability[all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )!])) oneshot -auto={B}{B}{B}:name(Draw 7 cards) all(*[zpos<=7]|mylibrary) moveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )! +auto=replacedraw transforms((,newability[all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )!])) oneshot +auto={B}{B}{B}:name(Draw 7 cards) all(*[zpos<=7]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.AsmodeusExiled) )! auto={B}:name(Return exiled cards) all(*[counter{0/0.1.AsmodeusExiled}]|myexile) transforms((,newability[moveto(ownerhand)],newability[life:-1 controller])) oneshot text=Binding Contract - If you would draw a card, exile the top card of your library face down instead. -- {B}{B}{B}: Draw seven cards. -- {B}: Return all cards exiled with Asmodeus the Archfiend to their owner's hand and you lose that much life. mana={4}{B}{B} @@ -5222,8 +5220,8 @@ type=Instant [card] name=Assassin's Ink target=creature,planeswalker -anyzone=this(variable{type:artifact:mybattlefield}>0)while altercost(colorless,-1) -anyzone=this(variable{type:enchantment:mybattlefield}>0)while altercost(colorless,-1) +anyzone=while(restriction{type:artifact:mybattlefield}>0) changecost(colorless:-1) forcedalive +anyzone=while(restriction{type:enchantment:mybattlefield}>0) changecost(colorless:-1) forcedalive auto=destroy text=This spell costs {1} less to cast if you control an artifact and {1} less to cast if you control an enchantment. -- Destroy target creature or planeswalker. mana={2}{B}{B} @@ -6432,8 +6430,8 @@ type=Legendary Artifact [card] name=Azor, the Lawbringer abilities=flying -auto=emblem transforms((,newability[@each opponent untap:name(Opponent can't cast spell) all(*[instant;sorcery]|opponentcastingzone) transforms((,newability[changecost(colorless:+9999)])) ueot])) uynt -auto=emblem transforms((,newability[@each opponent draw:name(Opponent can't cast spell) all(*[instant;sorcery]|opponentcastingzone) transforms((,newability[changecost(colorless:+9999)])) ueot])) uynt +auto=emblem transforms((,newability[@each opponent untap:name(Opponent can't cast spell) all(*[instant;sorcery]|opponentcastingzone) transforms((,newability[changecost(colorless:+99)])) ueot])) uynt +auto=emblem transforms((,newability[@each opponent draw:name(Opponent can't cast spell) all(*[instant;sorcery]|opponentcastingzone) transforms((,newability[changecost(colorless:+99)])) ueot])) uynt auto=_ATTACKING_may name(Gain X life and draw X cards) pay({X}{W}{U}{U}) name(Gain X life and draw X cards) life:x controller && draw:x controller text=Flying -- When Azor, the Lawbringer enters the battlefield, each opponent can't cast instant or sorcery spells during that player's next turn. -- Whenever Azor attacks, you may pay {X}{W}{U}{U}. If you do, you gain X life and draw X cards. mana={2}{W}{W}{U}{U} @@ -10958,7 +10956,7 @@ type=Instant [/card] [card] name=Boar -auto=@movedto(this|ownergraveyard) from(battlefield):token(Food) +auto=_DIES_token(Food) text=When this creature dies, create a Food token. (A Food token is an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") type=Creature subtype=Boar @@ -11214,7 +11212,7 @@ toughness=2 [card] name=Bomat Courier abilities=haste -auto=_ATTACKING_name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,BomatExiled) )! +auto=_ATTACKING_name(Exile top card) all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0,1,BomatExiled) )! auto={R}{S}:name(Return all exiled cards) discard:phandcount && transforms((,newability[all(*[counter{0/0.1.BomatExiled}]|myexile) moveto(ownerhand)])) oneshot text=Haste -- Whenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.) -- {R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands. mana={1} @@ -11954,7 +11952,7 @@ type=Instant [/card] [card] name=Bound in Gold -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=cantattack auto=cantpwattack auto=cantblock @@ -12239,8 +12237,8 @@ toughness=1 [/card] [card] name=Branching Bolt -auto=ability$!may name(damage to creature with flying) target(creature[flying]) damage:3 !$ controller -auto=ability$!may name(damage to creature without flying) target(creature[-flying]) damage:3 !$ controller +auto=ability$!may name() name(damage to creature with flying) target(creature[flying]) damage:3 !$ controller +auto=ability$!may name() name(damage to creature without flying) target(creature[-flying]) damage:3 !$ controller text=Choose one or both Branching Bolt deals 3 damage to target creature with flying; and/or Branching Bolt deals 3 damage to target creature without flying. mana={1}{R}{G} type=Instant @@ -14402,7 +14400,9 @@ toughness=2 name=Captain N'ghathrod auto=lord(horror|myBattlefield) menace auto=@combatdamaged(player) from(horror|myBattlefield):name(Opponent mills cards) deplete:thatmuch opponent -auto=@each my endofturn:name(Choose one) transforms((,newability[if type(creature[fresh]|opponentgraveyard)~morethan~0 then choice name(Put creature in play) name(Put creature in play) target(creature[fresh]|opponentgraveyard) moveto(mybattlefield)],newability[if type(artifact[fresh]|opponentgraveyard)~morethan~0 then choice name(Put artifact in play) name(Put artifact in play) target(artifact[fresh]|opponentgraveyard) moveto(mybattlefield)])) oneshot +auto=@movedTo(artifact|opponentgraveyard) from(opponentlibrary):all(trigger[to]) transforms((Captain)) ueot +auto=@movedTo(creature|opponentgraveyard) from(opponentlibrary):all(trigger[to]) transforms((Captain)) ueot +auto=@each my endofturn:target(*[Captain]|opponentgraveyard) moveto(mybattlefield) text=Horrors you control have menace. -- Whenever a Horror you control deals combat damage to a player, that player mills that many cards. -- At the beginning of your end step, choose target artifact or creature card in an opponent's graveyard that was put there from their library this turn. Put it onto the battlefield under your control. mana={3}{U}{B} type=Legendary Creature @@ -15374,7 +15374,7 @@ toughness=3 [/card] [card] name=Celeborn the Wise -auto=@combat(attacking) source(elf|mybattlefield) turnlimited:name(Scry 1) _SCRY1_ +auto=@combat(attacking) source(elf|mybattlefield) turnLimited:name(Scry 1) _SCRY1_ auto=@scryed(*|myzones):name(Gains x/x) scryedcards/scryedcards ueot text=Whenever you attack with one or more Elves, scry 1. -- Whenever you scry, Celeborn the Wise gets +1/+1 until end of turn for each card you looked at while scrying this way. mana={3}{G} @@ -15493,7 +15493,7 @@ toughness=2 [card] name=Cement Shoes auto=teach(creature) 3/3 -auto=@each my end:tap(mytgt) +auto=teach(creature) transforms((,newability[@each my end:tap])) auto=teach(creature) doesnotuntap auto={2}:equip text=Equipped creature gets +3/+3 and has "At the beginning of your end step, tap this creature." -- Equipped creature doesn't untap during its controller's untap step. -- Equip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.) @@ -15931,7 +15931,7 @@ toughness=4 [/card] [card] name=Champion of Wits -auto=may draw:power controller && && transforms((,newability[target(<2>*|myhand) reject])) ueot +auto=may draw:power controller && transforms((,newability[target(<2>*|myhand) reject])) ueot autograveyard={5}{U}{U}{E}:_ETERNALIZE_ text=When Champion of Wits enters the battlefield, you may draw cards equal to its power. If you do, discard two cards. -- Eternalize {5}{U}{U} ({5}{U}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Snake Wizard with no mana cost. Eternalize only as a sorcery.) mana={2}{U} @@ -16450,18 +16450,6 @@ power=7 toughness=5 [/card] [card] -name=Charging Cinderhorn -abilities=Haste -auto=@each my endofturn:combat(-attacking[creature|mybattlefield]):counter(0/0,1,Fury) all (this) then foreach(counter[0/0,1,Fury]):damage:1 controller -auto=@each opponent endofturn:combat(-attacking[creature|opponentbattlefield]):counter(0/0,1,Fury) all (this) then foreach(counter[0/0,1,Fury]):damage:1 opponent -text=Haste -- At the beginning of each player's end step, if no creatures attacked this turn, put a fury counter on Charging Cinderhorn. Then Charging Cinderhorn deals damage equal to the number of fury counters on it to that player. -mana={3}{R} -type=Creature -subtype=Elemental Ox -power=4 -toughness=2 -[/card] -[card] name=Charging Hooligan auto=_ATTACKING_foreach(creature[attacking]) 1/0 ueot auto=aslongas(*[Rat&attacking]|mybattlefield) trample ueot @@ -17269,7 +17257,7 @@ type=Enchantment [/card] [card] name=Circle of Despair -auto={1}{S(creature|myBattlefield)}:name(prevent damage) notatarget(*|battlefield,stack,hand,graveyard) preventalldamage from(mytgt) ueot +auto={1}{S(creature|myBattlefield)}:name(prevent damage) notatarget(*|battlefield,stack) preventalldamage from(mytgt) ueot text={1}, Sacrifice a creature: The next time a source of your choice would deal damage to target creature or player this turn, prevent that damage. mana={1}{W}{B} type=Enchantment @@ -17286,7 +17274,7 @@ toughness=1 [/card] [card] name=Circle of Protection: Artifacts -auto={2}:name(prevent damage) notatarget(artifact|battlefield,stack,hand,graveyard) preventalldamage from(mytgt) ueot +auto={2}:name(prevent damage) notatarget(artifact|battlefield) preventalldamage from(mytgt) ueot text={2}: The next time an artifact source of your choice would deal damage to you this turn, prevent that damage. mana={1}{W} type=Enchantment @@ -21571,7 +21559,7 @@ toughness=4 [/card] [card] name=Curator's Ward -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=teach(mytgt) opponentshroud auto=teach(*[artifact;legendary;saga]) @movedTo(this|nonbattlezone) from(battlefield):draw:2 text=Enchant permanent -- Enchanted permanent has hexproof. -- When enchanted permanent leaves the battlefield, if it was historic, draw two cards. (Artifacts, legendaries, and Sagas are historic.) @@ -21653,8 +21641,8 @@ toughness=1 name=Curious Obsession target=creature auto=teach(creature) 1/1 -auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):may draw:1])) forever -auto=all(creature|mybattlefield) transforms((,newability[@each my endofturn restriction{didntattack}:sacrifice notAtarget(Curious Obsession|mybattlefield)])) forever +auto=teach(creature) transforms((,newability[@combatdamaged(player) from(this):may draw:1])) +auto=@each my combatends restriction{type(creature[attacking]|mybattlefield)~equalto~0}:phaseaction[endofturn once] sacrifice all(this) text=Enchant creature -- Enchanted creature gets +1/+1 and has "Whenever this creature deals combat damage to a player, you may draw a card." -- At the beginning of your end step, if you didn't attack with a creature this turn, sacrifice Curious Obsession. mana={U} type=Enchantment @@ -23656,7 +23644,9 @@ type=Instant [/card] [card] name=Deep Forest Hermit -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=token(Squirrel,creature squirrel, 1/1,green)*4 auto=lord(creature[squirrel]|myBattlefield) 1/1 text=Vanishing 3 (This creature enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Deep Forest Hermit enters the battlefield, create four 1/1 green Squirrel creature tokens. -- Squirrels you control get +1/+1. @@ -30003,7 +29993,7 @@ toughness=1 [/card] [card] name=Elvish Doomsayer -auto=@movedto(this|ownergraveyard) from(battlefield):ability$!name(discard) notatarget(*|myhand) reject!$ opponent +auto=_DIES_ability$!name(discard) notatarget(*|myhand) reject!$ opponent text=When Elvish Doomsayer dies, each opponent discards a card. mana={1}{B} type=Creature @@ -30014,7 +30004,7 @@ toughness=1 [card] name=Elvish Dreadlord abilities=deathtouch -auto=@movedto(this|ownergraveyard) from(battlefield):all(creature[-elf]|battlefield) -3/-3 ueot +auto=_DIES_all(creature[-elf]|battlefield) -3/-3 ueot autograveyard={5}{B}{B}:name(Activate Encore) name(Activate Encore) moveto(exile) and!(clone with(treason,haste,mustattack))! asSorcery text=Deathtouch -- When Elvish Dreadlord dies, non-Elf creatures get -3/-3 until end of turn. -- Encore {5}{B}{B} ({5}{B}{B}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) mana={3}{B}{B} @@ -32798,7 +32788,6 @@ toughness=3 name=Experimental Frenzy abilities=showfromtoplibrary,canplayfromlibrarytop auto=lord(*|myhand) altercost(colorless, 99) -auto=maxPlay(land)-99 auto={3}{R}:destroy all(this) text=You may look at the top card of your library any time. -- You may play the top card of your library. -- You can't play cards from your hand. -- {3}{R}: Destroy Experimental Frenzy. mana={3}{R} @@ -35475,7 +35464,7 @@ toughness=4 name=Fire // Ice other={1}{U} name(Ice) auto=ifnot paid(alternative) then thisforeach(variable{2}) ability$!name(Choose one) choice name(Damage creature) damage:1 target(creature) _ choice name(Damage player) damage:1 target(player) _ choice name(Damage planeswalker) damage:1 target(planeswalker)!$ controller -auto=if paid(alternative) then name(Tap target permanent) name(Tap target permanent) target(*|battlefield) tap(noevent) && draw:1 controller +auto=if paid(alternative) then tap target(*|battlefield) and!(draw:1 controller)! text=Fire deals 2 damage divided as you choose among one or two targets. -- Tap target permanent. Draw a card. mana={1}{R} type=Instant @@ -38053,7 +38042,7 @@ type=Instant [/card] [card] name=Furious Rise -auto=@each my endofturn restriction{type(creature[power>=4]|myBattlefield)~morethan~0}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile uynt])) uynt )! +auto=@each my endofturn restriction{type(creature[power>=4]|myBattlefield)~morethan~0}:name(Exile top card) all(*[zpos=1]|mylibrary) moveto(exile) and!( transforms((,newability[canplayfromexile])) uent )! text=At the beginning of your end step, if you control a creature with power 4 or greater, exile the top card of your library. You may play that card until you exile another card with Furious Rise. mana={2}{R} type=Enchantment @@ -46510,7 +46499,7 @@ toughness=3 [card] name=Heirloom Blade auto=teach(creature) 3/1 -auto=teach(creature) transforms((,newability[@movedto(mygraveyard) from(this|mybattlefield):Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(creature|myreveal) moveto(ownerHand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller optiontwoend revealend])) +auto=teach(creature) transforms((,newability[_DIES_Reveal:1 revealzone(mylibrary) revealuntil(*[creature;share!types!]|mylibrary) optionone name(Get Creature) target(*[creature;share!types!]|myreveal) moveto(ownerHand) optiononeend optiontwo choice name(Shuffle) all(*|myreveal) bottomoflibrary && shuffle controller optiontwoend revealend])) auto={1}:equip text=Equipped creature gets +3/+1. -- Whenever equipped creature dies, you may reveal cards from the top of your library until you reveal a creature card that shares a creature type with it. Put that card into your hand and the rest on the bottom of your library in a random order. -- Equip {1} mana={3} @@ -48956,7 +48945,7 @@ type=Sorcery [card] name=Hunted Bonebrute abilities=menace -auto=create(Dog:Creature Dog:1/1:white)*2 opponent +auto=target(opponent) create(Dog:Creature Dog:1/1:white)*2 targetedPlayer auto=_DIES_life:-3 opponent facedown={3} autofacedown=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot @@ -49663,22 +49652,6 @@ power=3 toughness=3 [/card] [card] -name=Illithid Harvester // Plant Tadpoles -abilities=adventure -other={X}{U}{U} name(Adventure) -restriction=can play creature -otherrestriction=type(creature|battlefield)~morethan~0 -auto=if paid(alternative) then name(Tap X creatures) name(Tap X creatures) target(creature|Battlefield) freeze -auto=if paid(alternative) then _ADVENTURE_ -auto=ifnot paid(alternative) then may name(Turn creatures) name(Turn creatures) target(creature[-token;tapped]|battlefield) flip(Soldier Bas) and!( transforms((Artifact Creature Horror,setpower=2,settoughness=2)) forever )! -text=Ceremorphosis - When Illithid Harvester enters the battlefield, turn any number of target tapped nontoken creatures face down. They're 2/2 Horror creatures. // Tap X target creatures. They don't untap during their controllers' next untap steps. (Then exile this card. You may cast the creature later from exile.) -mana={4}{U} -type=Creature -subtype=Horror -power=4 -toughness=4 -[/card] -[card] name=Illuminate abilities=hasotherkicker target=creature @@ -50330,7 +50303,7 @@ toughness=5 [/card] [card] name=In Bolas's Clutches -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] alias=1194 auto=transforms((legendary)) text=Enchant permanent -- You control enchanted permanent. -- Enchanted permanent is legendary. @@ -50487,9 +50460,9 @@ type=Sorcery [card] name=Incremental Growth restriction=type(creature|battlefield)~morethan~2 -auto=ability$!name(Add 1 counter) name(Add 1 counter) counter(1/1) target(creature|battlefield)!$ controller -auto=ability$!name(Add 2 counters) name(Add 2 counters) counter(1/1,2) target(creature|battlefield)!$ controller -auto=ability$!name(Add 3 counters) name(Add 3 counters) counter(1/1,3) target(creature|battlefield)!$ controller +auto=ability$!name() name(Add 1 counter) counter(1/1) target(creature|battlefield)!$ controller +auto=ability$!name() name(Add 2 counters) counter(1/1,2) target(creature|battlefield)!$ controller +auto=ability$!name() name(Add 3 counters) counter(1/1,3) target(creature|battlefield)!$ controller text=Put a +1/+1 counter on target creature, two +1/+1 counters on another target creature, and three +1/+1 counters on a third target creature. mana={3}{G}{G} type=Sorcery @@ -50767,7 +50740,7 @@ auto=if type(swamp|myBattlefield)~morethan~14 then choice name(Move 15 Swamps) n auto=if type(swamp|myBattlefield)~morethan~15 then choice name(Move 16 Swamps) name(Move 16 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<16>swamp|myBattlefield) auto=if type(swamp|myBattlefield)~morethan~16 then choice name(Move 17 Swamps) name(Move 17 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<17>swamp|myBattlefield) auto=if type(swamp|myBattlefield)~morethan~17 then choice name(Move 18 Swamps) name(Move 18 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<18>swamp|myBattlefield) -auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 19 Swamps) name(Move 19 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller &&& moveto(ownerhand) target(<19>swamp|myBattlefield) +auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 19 Swamps) name(Move 19 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<19>swamp|myBattlefield) auto=if type(swamp|myBattlefield)~morethan~19 then choice name(Move 20 Swamps) name(Move 20 Swamps) ability$!name(Choose a creature) damage:1 target(creature)!$ controller && moveto(ownerhand) target(<20>swamp|myBattlefield) text=As an additional cost to cast Infernal Harvest, return X Swamps you control to their owner's hand. -- Infernal Harvest deals X damage divided as you choose among any number of target creatures. mana={1}{B} @@ -51596,7 +51569,7 @@ type=Instant [/card] [card] name=Intercessor's Arrest -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=cantattack auto=cantpwattack auto=cantblock @@ -53013,7 +52986,7 @@ type=Instant [card] name=Iymrith, Desert Doom abilities=flying -auto=this(variable{tapped}<1) transforms((,newability[@targeted(this) from(*|opponentstack):choice name(This spell costs 4 more) name(This spell costs 4 more) target(*|opponentstack) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot])) +auto=this(variable{tapped}<1) transforms((,newability[@targeted(this) from(*|opponentzones):choice name() name(This spell costs 4 more) target(*|opponentzones) transforms((,newability[pay[[{4}]] name(pay 4 mana) donothing?fizzle])) oneshot])) auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~equalto~0}:name(Draw 3 cards) draw:3 controller auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~equalto~1}:name(Draw 2 cards) draw:2 controller auto=@combatdamaged(player) from(this) restriction{type(*|myhand)~morethan~1}:name(Draw 1 card) draw:1 controller @@ -53778,7 +53751,7 @@ type=Instant [/card] [card] name=Jolene, Plundering Pugilist -auto=_ATTACKING_if type(creature[power>=4]|myBattlefield)~morethan~0 then create(Treasure) +auto=@each my blockers restriction{type(creature[attacking;power>=4]|myBattlefield)~morethan~0}:create(Treasure) auto={1}{R}{S(*[Treasure]|myBattlefield)}:damage:1 target(anyTarget) text=Whenever you attack with one or more creatures with power 4 or greater, create a Treasure token. -- {1}{R}, Sacrifice a Treasure: Jolene, Plundering Pugilist deals 1 damage to any target. mana={1}{R}{G} @@ -55260,7 +55233,7 @@ type=Instant [/card] [card] name=Keeper of Fables -auto=@each combatdamage restriction{opponentdamagedbycombat}:draw:1 +auto=@each combatdamage restriction{opponentdamagedbycombat} turnLimited:draw:1 text=Whenever one or more non-Human creatures you control deal combat damage to a player, draw a card. mana={3}{G}{G} type=Creature @@ -55610,7 +55583,7 @@ toughness=4 [card] name=Kethek, Crucible Goliath aicode=activate transforms((,newability[target(creature[-legendary;manacost<=manacostminus1minusend]|mylibrary) moveto(myBattlefield) and!( shuffle )! ])) oneshot -auto=@each my endofturn:may name(Sacrifice another creature) target(creature|myBattlefield) sacrifice and!( transforms((,newability[name(Reveal top cards) reveal:1 revealzone(mylibrary) revealuntil(creature[-legendary;manacost<=manacostminus1minusend]|mylibrary) optionone moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mybattlefield) afterrevealedend])) ueot )! +auto=@each my endofturn:may name(Sacrifice another creature) target(creature|myBattlefield) sacrifice and!( transforms((,newability[name(Reveal top cards) reveal:1 revealzone(mylibrary) revealuntil(creature[-legendary;manacost<=manacostminus1minusend]|mylibrary) optionone target(creature[-legendary;manacost<=manacostminus1minusend]|reveal) moveto(MyBattlefield) optiononeend optiontwo choice name(Put on Bottom) all(*|reveal) bottomoflibrary optiontwoend afterrevealed afterrevealedend])) ueot )! text=At the beginning of your end step, you may sacrifice another creature. If you do, reveal cards from the top of your library until you reveal a nonlegendary creature card with lesser mana value, put it onto the battlefield, then put the rest on the bottom of your library in a random order. mana={2}{B}{R} type=Legendary Creature @@ -57475,7 +57448,7 @@ toughness=3 [/card] [card] name=Kyren Archive -auto=@each my upkeep:may name(Exile top card) all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0,1,KyrenExiled) )! +auto=@each my upkeep:may name(Exile top card) all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0,1,KyrenExiled) )! auto={5}{S}:all(*|myhand) reject && ability$!name(Move back exiled cards) name(Move back exiled cards) all(*[counter{0/0.1.KyrenExiled}]|myexile) moveto(ownerhand)!$ controller text=At the beginning of your upkeep, you may exile the top card of your library face down. -- {5}, Discard your hand, Sacrifice Kyren Archive: Put all cards exiled with Kyren Archive into their owner's hand. mana={3} @@ -58145,7 +58118,7 @@ type=Sorcery [card] name=Lay Claim abilities=cycling -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] alias=1194 autohand=__CYCLING__({2}) text=Enchant permanent -- You control enchanted permanent. -- Cycling {2} ({2}, Discard this card: Draw a card.) @@ -59849,8 +59822,8 @@ toughness=5 [card] name=Livio, Oathsworn Sentinel abilities=partner -auto={1}{W}:target(other creature) may moveto(exile) -auto={2}{W}{T}:moveto(ownerbattlefield) all(creature|exile) +auto={1}{W}:target(other creature) may transforms((,newability[counter(0/0.1.aegis)],newability[moveto(exile)])) +auto={2}{W}{T}:moveto(ownerbattlefield) all(creature[counter{0/0.1.aegis}]|exile) text={1}{W}: Choose another target creature. Its controller may exile it with an aegis counter on it. -- {2}{W}, {T}: Return all exiled cards with aegis counters on them to the battlefield under their owners' control. -- Partner (You can have two commanders if both have partner.) mana={1}{W} type=Legendary Creature @@ -60546,7 +60519,7 @@ type=Enchantment [/card] [card] name=Lost Jitte -auto=@combatdamaged(anytarget) from(mytgt):counter(0/0,1,Charge) all(this) +auto=@combatdamaged(anytarget) from(mytgt) turnLimited:counter(0/0,1,Charge) all(this) autoskill={C(0/0,-1,Charge)}:untap target(land) autoskill={C(0/0,-1,Charge)}:target(creature) cantblock ueot autoskill={C(0/0,-1,Charge)}:counter(1/1) @@ -64103,7 +64076,7 @@ toughness=2 [card] name=Metamorphic Alteration target=creature -auto=teach(mytgt) copy NotATarget(creature) +auto=teach(creature) transforms((,newability[copy NotATarget(creature)])) text=Enchant creature -- As Metamorphic Alteration enters the battlefield, choose a creature. -- Enchanted creature is a copy of the chosen creature. mana={1}{U} type=Enchantment @@ -64523,8 +64496,8 @@ subtype=Treasure [/card] [card] name=Mimic Vat -auto=@movedto(creature[-token]|graveyard) from(battlefield):may name(Imprint card) name(Imprint card) all(trigger[to]) transforms((,newability[moveTo(ownerGraveyard) all(other creature[counter{0/0.1.MimicImprinted}]|exile)],newability[moveto(exile) and!( counter{0/0.1.MimicImprinted} )!])) forever -auto={3}{T}:target(creature|exile) clone with(haste,unearth) +auto=@movedto(creature[-token]|graveyard) from(battlefield):may name(Imprint card) name(Imprint card) all(trigger[to]) moveto(exile) and!(transforms((MimicVat,newability[moveTo(ownerGraveyard) all(other creature[MimicVat]|exile)])) forever )! +auto={3}{T}:target(creature[MimicVat]|exile) clone with(haste,unearth) text=Imprint - Whenever a nontoken creature dies, you may exile that card. If you do, return each other card exiled with Mimic Vat to its owner's graveyard. -- {3}, {T}: Create a token that's a copy of a card exiled with Mimic Vat. It gains haste. Exile it at the beginning of the next end step. mana={3} type=Artifact @@ -64857,7 +64830,7 @@ toughness=3 [/card] [card] name=Minthara, Merciless Soul -auto=@targeted(this) from(*|opponentzones) restriction{compare(hascntexperience)~equalto~1}:choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[1]] name(pay 1 mana) donothing?fizzle])) oneshot +auto=@targeted(this) from(*|opponentzones) restriction{compare(hascntexperience)~equalto~1}:choice name(This spell costs 1 more) name(This spell costs 1 more) target(*|opponentzones) transforms((,newability[pay[[1]] name(pay 1 mana) donothing?fizzle])) oneshot auto=@targeted(this) from(*|opponentzones) restriction{compare(hascntexperience)~equalto~2}:choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[2]] name(pay 2 mana) donothing?fizzle])) oneshot auto=@targeted(this) from(*|opponentzones) restriction{compare(hascntexperience)~equalto~3}:choice name(This spell costs 3 more) name(This spell costs 3 more) target(*|opponentzones) transforms((,newability[pay[[3]] name(pay 3 mana) donothing?fizzle])) oneshot auto=@targeted(this) from(*|opponentzones) restriction{compare(hascntexperience)~equalto~4}:choice name(This spell costs 4 more) name(This spell costs 4 more) target(*|opponentzones) transforms((,newability[pay[[4]] name(pay 4 mana) donothing?fizzle])) oneshot @@ -68704,7 +68677,7 @@ toughness=3 [/card] [card] name=Nessian Hornbeetle -auto=@each my combatbegins restriction{type(creature[power>=4]|mybattlefield)~morethan~0}:counter(1/1) +auto=@each my combatbegins restriction{type(other creature[power>=4]|mybattlefield)~morethan~0}:counter(1/1) text=At the beginning of combat on your turn, if you control another creature with power 4 or greater, put a +1/+1 counter on Nessian Hornbeetle. mana={1}{G} type=Creature @@ -72365,7 +72338,7 @@ toughness=1 name=Orcus, Prince of Undeath abilities=flying,trample auto=choice name(Creatures get -X/-X) all(other creature|battlefield) -x/-x ueot && life:-x controller -auto=choice name(Return X creatures) target(creature|mygraveyard) moveto(myBattlefield) and!( transforms((,newability[haste])) ueot )! +auto=choice name(Return X creatures) target(creature|mygraveyard) moveto(myBattlefield) and!( transforms((,haste)) ueot )! text=Flying, trample -- When Orcus, Prince of Undeath enters the battlefield, Choose one -- Each other creature gets -X/-X until end of turn. You lose X life. -- Return up to X target creature cards with total mana value X or less from your graveyard to the battlefield. They gain haste until end of turn. mana={X}{2}{B}{R} type=Legendary Creature @@ -72903,7 +72876,9 @@ type=Instant [/card] [card] name=Out of Time -auto=vanishing:type:creature|battlefield +auto=counter(0/0,type:creature:battlefield,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=all(creature|battlefield) transforms((,newability[untap],newability[phaseout])) ueot auto=@each upkeep restriction{compare(hascnttime)~morethan~0}:phaseout all(creature|battlefield) auto=@each my upkeep restriction{compare(hascnttime)~equalto~0}:sacrifice @@ -73784,7 +73759,7 @@ type=Instant [card] name=Parasitic Impetus target=creature -auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_life:-2 controller],newability[_ATTACKING_life:2 owner])) +auto=teach(creature) transforms((,newability[counter(0/0.1.Goaded)],newability[this(counter{0/0.1.Goaded}>0) mustattack],newability[_ATTACKING_life:-2 controller],newability[_ATTACKING_life:2 opponent])) auto=2/2 text=Enchant creature -- 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, its controller loses 2 life and you gain 2 life. mana={2}{B} @@ -73939,6 +73914,7 @@ auto=if type(creature[counter{1/1.18}]|battlefield)~morethan~0 then choice name( auto=if type(creature[counter{1/1.19}]|battlefield)~morethan~0 then choice name(Destroy creature with 19 counters 1/1) target(creature[counter{1/1.19}]|battlefield) transforms((,newability[destroy],newability[draw:19 controller],newability[life:-19 controller])) forever auto=if type(creature[counter{1/1.20}]|battlefield)~morethan~0 then choice name(Destroy creature with 20 counters 1/1) target(creature[counter{1/1.20}]|battlefield) transforms((,newability[destroy],newability[draw:20 controller],newability[life:-20 controller])) forever text=Destroy target creature. You draw X cards and you lose X life, where X is the number of counters on that creature. +restriction=type(creature)~morethan~0 mana={2}{B} type=Sorcery [/card] @@ -74276,9 +74252,9 @@ type=Instant [/card] [card] name=Peace Talks -auto=lord(creature|battlefield) transforms((,newability[cantattack])) uynt -auto=lord(creature|battlefield) transforms((,newability[cantpwattack])) uynt -auto=lord(*|battlefield) transforms((,newability[shroud],newability[controllershroud])) uynt +auto=all(creature|battlefield) transforms((,newability[cantattack])) uynt +auto=all(creature|battlefield) transforms((,newability[cantpwattack])) uynt +auto=all(*|battlefield) transforms((,newability[shroud],newability[controllershroud])) uynt text=This turn and next turn, creatures can't attack, and players and permanents can't be the targets of spells or activated abilities. mana={1}{W} type=Sorcery @@ -77221,11 +77197,11 @@ type=Enchantment [/card] [card] name=Primal Wellspring -auto={T}:add{W} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)])) -auto={T}:add{U} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)])) -auto={T}:add{B} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)])) -auto={T}:add{R} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)])) -auto={T}:add{G} && transforms((,newability[@movedto(instant,sorcery|mystack):all(trigger) castcard(noevent)])) +auto={T}:add{W} && transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot +auto={T}:add{U} && transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot +auto={T}:add{B} && transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot +auto={T}:add{R} && transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot +auto={T}:add{G} && transforms((,newability[@movedto(*[instant;sorcery]|mystack) turnlimited:all(trigger[to]) activate castcard(copied noevent)])) ueot text=(Transforms from Primal Amulet.) -- {T}: Add one mana of any color. When that mana is spent to cast an instant or sorcery spell, copy that spell and you may choose new targets for the copy. type=Land [/card] @@ -77787,7 +77763,7 @@ subtype=Equipment name=Protean Hulk aicode=activate moveTo(myBattlefield) target(creature[manacost<=6]|myLibrary) auto=_DIES_name(Search any number of creatures with casting cost 6 or less) reveal:plibrarycount optionone name(Choose card) target(creature[manacost<=6]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(Put them back) target(*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(activate castcard(putinplay))! afterrevealedend revealend -text=When Protean Hulk dies, search your library for any number of creature cards with total mana value 6 or less, put them onto the battlefield, then shuffle your library. +text=When Protean Hulk dies, search your library for any number of creature cards with total mana value 6 or less, put them onto the battlefield, then shuffle. mana={5}{G}{G} type=Creature subtype=Beast @@ -78567,7 +78543,7 @@ type=Instant [/card] [card] name=Pyxis of Pandemonium -auto={T}:name(Exile top cards) all(*[zpos=1]|library) moveto(ownerexile) and!( counter(0/0.1.PyxisExiled) )! +auto={T}:name(Exile top cards) all(*[zpos=1]|library) hiddenmoveto(ownerexile) and!( counter(0/0.1.PyxisExiled) )! auto={7}{T}:name(Put permanents in play) all(*[-instant;-sorcery;counter{0/0.1.PyxisExiled}]|exile) moveto(ownerbattlefield) text={T}: Each player exiles the top card of their library face down. -- {7}, {T}, Sacrifice Pyxis of Pandemonium: Each player turns face up all cards they owns exiled with Pyxis of Pandemonium, then puts all permanent cards among them onto the battlefield. mana={1} @@ -80728,8 +80704,10 @@ type=Sorcery [/card] [card] name=Reality Acid -target=artifact,creature,enchantment,land,planeswalker -auto=vanishing:3 +target=*[artifact;battle;creature;enchantment;land;planeswalker] +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=@movedTo(this|nonbattlezone) from(battlefield):sacrifice mytgt text=Enchant permanent -- Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Reality Acid leaves the battlefield, enchanted permanent's controller sacrifices it. mana={2}{U} @@ -80856,7 +80834,7 @@ abilities=adventure other={3}{B} name(Adventure) auto=if paid(alternative) then ability$!name(discard 2 cards) name(discard 2 cards) target(<2>*|myhand) reject!$ opponent auto=if paid(alternative) then _ADVENTURE_ -auto=@combat(attacking) source(this) restriction{type(*|opponenthand)~lessthan~3}:name(Gains flying) all(this) transforms((,newability[flying])) ueot +auto=@combat(attacking) source(this) restriction{type(*|opponenthand)~lessthan~3}:flying ueot text=Whenever Reaper of Night attacks, if defending player has two or fewer cards in hand, it gains flying until end of turn. // Target opponent discards two cards. (Then exile this card. You may cast the creature later from exile.) mana={5}{B}{B} type=Creature @@ -85453,7 +85431,7 @@ type=Instant [/card] [card] name=Rune of Flight -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=draw:1 controller auto=teach(creature) flying auto=teach(equipment) transforms((,newability[teach(creature) flying])) @@ -85464,7 +85442,7 @@ subtype=Aura Rune [/card] [card] name=Rune of Might -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=draw:1 controller auto=teach(creature) 1/1 auto=teach(creature) trample @@ -85476,7 +85454,7 @@ subtype=Aura Rune [/card] [card] name=Rune of Mortality -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=draw:1 controller auto=teach(creature) deathtouch auto=teach(equipment) transforms((,newability[teach(creature) deathtouch])) @@ -85488,7 +85466,7 @@ subtype=Aura Rune [card] name=Rune of Protection: Artifacts abilities=cycling -auto={W}:name(prevent damage) notatarget(artifact|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(artifact) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time an artifact source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85497,7 +85475,7 @@ type=Enchantment [card] name=Rune of Protection: Black abilities=cycling -auto={W}:name(prevent damage) notatarget(*[black]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(*[black]|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a black source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85506,7 +85484,7 @@ type=Enchantment [card] name=Rune of Protection: Blue abilities=cycling -auto={W}:name(prevent damage) notatarget(*[blue]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(*[blue]|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a blue source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85515,7 +85493,7 @@ type=Enchantment [card] name=Rune of Protection: Green abilities=cycling -auto={W}:name(prevent damage) notatarget(*[green]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(*[green]|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a green source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85524,7 +85502,7 @@ type=Enchantment [card] name=Rune of Protection: Lands abilities=cycling -auto={W}:name(prevent damage) notatarget(land|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(land|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a land source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85533,7 +85511,7 @@ type=Enchantment [card] name=Rune of Protection: Red abilities=cycling -auto={W}:name(prevent damage) notatarget(*[red]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(*[red]|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a red source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85542,7 +85520,7 @@ type=Enchantment [card] name=Rune of Protection: White abilities=cycling -auto={W}:name(prevent damage) notatarget(*[white]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={W}:name(prevent damage) notatarget(*[white]|battlefield,stack) preventalldamage to(controller) from(mytgt) ueot autohand=__CYCLING__({2}) text={W}: The next time a white source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) mana={1}{W} @@ -85550,7 +85528,7 @@ type=Enchantment [/card] [card] name=Rune of Speed -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=draw:1 controller auto=teach(creature) 1/0 auto=teach(creature) haste @@ -85562,7 +85540,7 @@ subtype=Aura Rune [/card] [card] name=Rune of Sustenance -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=draw:1 controller auto=teach(creature) lifelink auto=teach(equipment) transforms((,newability[teach(creature) lifelink])) @@ -92757,9 +92735,9 @@ toughness=3 [card] name=Skanos Dragonheart abilities=backgroundpartner -auto=@combat(attacking) source(this) restriction{compare(power:highest:dragon:mybattlefield)~morethan~compare(power:highest:dragon:mygraveyard)}:name(Gain X/X) transforms((,newability[power:highest:dragon:mybattlefield/power:highest:dragon:mybattlefield])) ueot -auto=@combat(attacking) source(this) restriction{compare(power:highest:dragon:mybattlefield)~equalto~compare(power:highest:dragon:mygraveyard)}:name(Gain X/X) transforms((,newability[power:highest:dragon:mybattlefield/power:highest:dragon:mybattlefield])) ueot -auto=@combat(attacking) source(this) restriction{compare(power:highest:dragon:mygraveyard)~morethan~compare(power:highest:dragon:mybattlefield)}:name(Gain X/X) transforms((,newability[power:highest:dragon:mygraveyard/power:highest:dragon:mygraveyard])) ueot +auto=@combat(attacking) source(this) restriction{compare(otherpower:highest:dragon:mybattlefield)~morethan~compare(power:highest:dragon:mygraveyard)}:name(Gain X/X) transforms((,newability[otherpower:highest:dragon:mybattlefield/otherpower:highest:dragon:mybattlefield])) ueot +auto=@combat(attacking) source(this) restriction{compare(otherpower:highest:dragon:mybattlefield)~equalto~compare(power:highest:dragon:mygraveyard)}:name(Gain X/X) transforms((,newability[otherpower:highest:dragon:mybattlefield/otherpower:highest:dragon:mybattlefield])) ueot +auto=@combat(attacking) source(this) restriction{compare(power:highest:dragon:mygraveyard)~morethan~compare(otherpower:highest:dragon:mybattlefield)}:name(Gain X/X) transforms((,newability[power:highest:dragon:mygraveyard/power:highest:dragon:mygraveyard])) ueot text=Whenever Skanos Dragonheart attacks, it gets +X/+X until end of turn, where X is the greatest power among other Dragons you control and Dragon cards in your graveyard. -- Choose a Background (You can have a Background as a second commander.) mana={4}{G} type=Legendary Creature @@ -93314,7 +93292,7 @@ subtype=Aura [card] name=Skyboon Evangelist abilities=flying -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) auto=@combat(attacking) source(creature[counter{any}]|mybattlefield):all(trigger[to]) flying ueot text=Flying -- When Skyboon Evangelist enters the battlefield, support 6. (Put a +1/+1 counter on each of up to six other target creatures.) -- Whenever a creature with a counter on it attacks one of your opponents, that creature gains flying until end of turn. mana={4}{W} @@ -93840,7 +93818,7 @@ name=Sleep-Cursed Faerie abilities=flying auto=@targeted(this) from(*|opponentzones):choice name(This spell costs 2 more) name(This spell costs 2 more) target(*|opponentzones) transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) oneshot auto=tap(noevent) -auto=all(this) transforms((newability[counter(0/0.3.Stun)])) oneshot +auto=all(this) transforms((,newability[counter(0/0.3.Stun)])) oneshot auto={1}{U}:untap text=Flying, ward {2} -- Sleep-Cursed Faerie enters the battlefield tapped with three stun counters on it. (If it would become untapped, remove a stun counter from it instead.) -- {1}{U}: Untap Sleep-Cursed Faerie. mana={U} @@ -94707,9 +94685,9 @@ type=Artifact [card] name=Sol, Advocate Eternal abilities=flying,vigilance,partner -auto=@combat(attacking) source(this) restriction{type(creature[-blocking;attacking;iscommander]|myBattlefield)~morethan~1}:name(Support 4) target(creature|battlefield) counter(1/1) +auto=@combat(attacking) source(this) restriction{type(creature[-blocking;attacking;iscommander]|myBattlefield)~morethan~1}:may name(Support 4) target(creature|battlefield) counter(1/1) auto=@combat(attacking) source(this) restriction{type(creature[-blocking;attacking;iscommander]|myBattlefield)~morethan~1}:name(Investigate 4 times) token(Clue)*4 -auto=@combat(blocking) source(this) restriction{type(creature[-attacking;blocking;iscommander]|myBattlefield)~morethan~1}:name(Support 4) target(creature|battlefield) counter(1/1) +auto=@combat(blocking) source(this) restriction{type(creature[-attacking;blocking;iscommander]|myBattlefield)~morethan~1}:may name(Support 4) target(creature|battlefield) counter(1/1) auto=@combat(blocking) source(this) restriction{type(creature[-attacking;blocking;iscommander]|myBattlefield)~morethan~1}:name(Investigate 4 times) token(Clue)*4 text=Legendary partner (You can have two commanders if this is one of them. The other one is promoted to legendary.) -- Flying, vigilance -- Teamwork - Whenever you attack or block with both Sol, Advocate Eternal and its partner, support 4 and investigate four times. mana={G}{W}{U}{B} @@ -94787,7 +94765,7 @@ toughness=1 [/card] [card] name=Soldevi Sentry -auto={1}:regenerate && may draw:1 opponent +auto={1}:regenerate && ability$! may draw:1 !$ opponent text={1}: Choose target opponent. Regenerate Soldevi Sentry. When it regenerates this way, that player may draw a card. mana={1} type=Artifact Creature @@ -95039,7 +95017,7 @@ type=Sorcery [/card] [card] name=Song of the Dryads -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=loseabilities auto=transforms((removetypes,newability[becomes(Forest Land)])) forever text=Enchant permanent -- Enchanted permanent is a colorless Forest land. @@ -95474,7 +95452,7 @@ name=Soulblade Renewer abilities=partner partner=Soulblade Corrupter auto=_PARTNER_ -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) text=Partner with Soulblade Corrupter (When this creature enters the battlefield, target player may put Soulblade Corrupter into their hand from their library, then shuffle.) -- When Soulblade Renewer enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) mana={4}{G} type=Creature @@ -100107,7 +100085,7 @@ toughness=3 [/card] [card] name=Supreme Will -auto=choice transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever target(*|stack) +auto=choice restriction{type(*|stack)~morethan~0} transforms((,newability[pay[[{3}]] name(pay 3 mana) donothing?fizzle])) forever target(*|stack) auto=choice reveal:4 optionone name(Get a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend text=Choose one -- Counter target spell unless its controller pays {3}. -- Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. mana={2}{U} @@ -103651,7 +103629,7 @@ toughness=8 [/card] [card] name=The Crowd Goes Wild -auto=target(creature|battlefield) counter(1/1) +auto=may target(creature|battlefield) counter(1/1) auto=all(creature[counter{1/1.1}]) trample text=Assist (Another player can pay up to {X} of this spell's cost. You choose the value of X.) -- Support X. (Put a +1/+1 counter on each of up to X target creatures.) -- Each creature with a +1/+1 counter on it gains trample until end of turn. mana={X}{G} @@ -106380,7 +106358,7 @@ toughness=3 [/card] [card] name=Together Forever -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) auto={1}:target(creature[counter{any}]) transforms((,newability[_DIES_all(trigger[to]) moveTo(ownerHand)])) ueot text=When Together Forever enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) -- {1}: Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. mana={W}{W} @@ -111062,7 +111040,7 @@ type=Artifact [/card] [card] name=Vault Plunderer -auto=draw:1 && life:-1 +auto=target(player) ability$! draw:1 && life:-1 !$ targetedPlayer text=When Vault Plunderer enters the battlefield, target player draws a card and loses 1 life. mana={2}{B} type=Creature @@ -111153,7 +111131,7 @@ toughness=1 [/card] [card] name=Vedalken Humiliator -auto=aslongas(artifact|mybattlefield) _ATTACKING_all(creature|opponentBattlefield) transforms((newability[loseabilities],setpower=1,settoughness=1)) >2 +auto=aslongas(artifact|mybattlefield) _ATTACKING_all(creature|opponentBattlefield) transforms((,newability[loseabilities],setpower=1,settoughness=1)) >2 text=Metalcraft - Whenever Vedalken Humiliator attacks, if you control three or more artifacts, creatures your opponents control lose all abilities and have base power and toughness 1/1 until end of turn. mana={3}{U} type=Creature @@ -113759,7 +113737,7 @@ toughness=5 [card] name=Wall of Mourning abilities=defender -auto=all(*[zpos=1]|mylibrary) moveto(myexile) and!( counter(0/0.1.WallExiled) )! +auto=all(*[zpos=1]|mylibrary) hiddenmoveto(myexile) and!( counter(0/0.1.WallExiled) )! auto=@each my endofturn restriction{coven}:name(Return exiled card) target(*[counter{0/0.1.WallExiled}]|myexile) moveTo(ownerhand) text=Defender -- When Wall of Mourning enters the battlefield, exile a card from the top of your library face down for each opponent you have. -- Coven - At the beginning of your end step, if you control three or more creatures with different powers, put a card exiled with Wall of Mourning into its owner's hand. mana={1}{W} @@ -115153,7 +115131,7 @@ toughness=2 [/card] [card] name=Wicked Guardian -auto= ability$!name(damage) may target(other creature|myBattlefield) damage:2 && draw:1 controller !$ controller +auto=ability$!name(damage) may target(other creature|myBattlefield) damage:2 && draw:1 controller !$ controller text=When Wicked Guardian enters the battlefield, you may have it deal 2 damage to another creature you control. If you do, draw a card. mana={3}{B} type=Creature @@ -116330,7 +116308,7 @@ toughness=4 [/card] [card] name=Wolf Gar -auto=@movedto(this|ownergraveyard) from(battlefield):counter(0/0,1,loyalty) all(Garruk) +auto=_DIES_counter(0/0,1,loyalty) all(Garruk) text=When this creature dies, put a loyalty counter on each Garruk you control. type=Creature subtype=Wolf @@ -117356,7 +117334,7 @@ type=Sorcery [/card] [card] name=You Find the Villains' Lair -auto=choice name(Counter spell) target(*|stack) fizzle +auto=choice restriction{type(*|stack)~morethan~0} name(Counter spell) target(*|stack) fizzle auto=choice name(Draw and discard) draw:2 && transforms((,newability[target(<2>*|myhand) reject])) forever text=Choose one -- Foil Their Scheme - Counter target spell. -- Learn Their Secrets - Draw two cards, then discard two cards. mana={1}{U}{U} diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 89688e4b7..a0dcafa8c 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -1629,7 +1629,7 @@ type=Instant [/card] [card] name=Aftershock -target=artifact,creature,land +target=*[artifact;creature;land] auto=destroy auto=damage:3 controller text=Destroy target artifact, creature, or land. Aftershock deals 3 damage to you. @@ -2335,7 +2335,7 @@ type=Legendary Artifact [card] name=Akroma's Vengeance abilities=cycling -auto=destroy all(artifact,creature,enchantment) +auto=destroy all(*[artifact;creature;enchantment]) autohand=__CYCLING__({3}) text=Destroy all artifacts, creatures, and enchantments. -- Cycling {3} ({3}, Discard this card: Draw a card.) mana={4}{W}{W} @@ -2384,7 +2384,7 @@ type=Artifact [card] name=Alabaster Dragon auto=flying -auto=@movedTo(graveyard) from(this|battlefield):moveto(ownerlibrary) all(trigger[from]) && shuffle +auto=_DIES_moveto(ownerlibrary) all(trigger[from]) && shuffle text=Flying -- When Alabaster Dragon dies, shuffle Alabaster Dragon into its owner's library. mana={4}{W}{W} type=Creature @@ -3675,8 +3675,8 @@ toughness=4 [card] name=Angel of Fury abilities=flying -auto=@movedTo(mygraveyard) from(this|battlefield):may moveto(mylibrary) all(trigger[from]) && shuffle -text=Flying -- When Angel of Fury is put into your graveyard from the battlefield, you may shuffle it into your library. +auto=_DIES_may moveto(mylibrary) all(trigger[from]) && shuffle +text=Flying -- When Angel of Fury dies, you may shuffle it into its owner's library. mana={4}{W}{W} type=Creature subtype=Angel @@ -4496,7 +4496,7 @@ toughness=1 [card] name=Aphetto Vulture abilities=flying -auto=@movedTo(graveyard) from(this|battlefield):may moveto(mylibrary) target(zombie|mygraveyard) +auto=_DIES_may moveto(mylibrary) target(zombie|mygraveyard) text=Flying -- When Aphetto Vulture dies, you may put target Zombie card from your graveyard on top of your library. mana={4}{B}{B} type=Creature @@ -4796,8 +4796,8 @@ toughness=5 [card] name=Arbiter of the Ideal abilities=flying -auto=lord(*[counter{0%0.1.manifestation}]|mybattlefield) transforms((enchantment)) forever -auto=@untapped(this):reveal:1 optionone target(artifact,creature,land|reveal) moveto(mybattlefield) and!(counter(0/0,1,manifestation))! optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend +auto=lord(*[counter{0%0.1.manifstation}]|mybattlefield) transforms((enchantment)) forever +auto=@untapped(this):reveal:1 optionone target(*[artifact;creature;land]|reveal) moveto(mybattlefield) and!(counter(0/0,1,manifstation))! optiononeend optiontwo name(Put on Top) target(<1>*|reveal) moveto(mylibrary) optiontwoend revealend text=Flying -- Inspired -- Whenever Arbiter of the Ideal becomes untapped, reveal the top card of your library. If it's an artifact, creature, or land card, you may put it onto the battlefield with a manifestation counter on it. That permanent is an enchantment in addition to its other types. mana={4}{U}{U} type=Creature @@ -5799,8 +5799,8 @@ toughness=2 [card] name=Armament of Nyx target=Creature -auto=teach(-enchantment) preventalldamage from(this) -auto=teach(enchantment) double strike +auto=teach(creature[enchantment]) double strike +auto=teach(creature[-enchantment]) preventalldamage from(this) text=Enchant creature -- Enchanted creature has double strike as long as it's an enchantment. Otherwise, prevent all damage that would be dealt by enchanted creature. (A creature with double strike deals both first-strike and regular combat damage.) mana={2}{W} type=Enchantment @@ -6373,7 +6373,7 @@ toughness=1 [/card] [card] name=Ashen-Skin Zubera -auto=@movedto(mygraveyard) from(this|mybattlefield):choice target(opponent) ability$!name(discard) target(*|myhand) reject !$ targetedplayer +auto=_DIES_choice target(opponent) ability$!name(discard) target(*|myhand) reject !$ targetedplayer text=When Ashen-Skin Zubera dies, target opponent discards a card for each Zubera put into a graveyard from the battlefield this turn. mana={1}{B} type=Creature @@ -7373,7 +7373,7 @@ toughness=2 name=Avacyn's Collar auto=teach(creature) 1/0 auto=teach(creature) vigilance -auto=teach(human) transforms((,newability[@movedto(mygraveyard) from(this|mybattlefield):token(Spirit Token)])) +auto=teach(human) transforms((,newability[_DIES_token(Spirit Token)])) auto={2}:equip text=Equipped creature gets +1/+0 and has vigilance. -- Whenever equipped creature dies, if it was a Human, put a 1/1 white Spirit creature token with flying onto the battlefield. -- Equip {2} mana={1} @@ -7689,7 +7689,9 @@ name=Aven Riftwatcher abilities=flying auto=life:2 auto=@movedTo(this|nonbattlezone) from(myBattlefield):life:2 -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice text=Flying -- Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Aven Riftwatcher enters the battlefield or leaves the battlefield, you gain 2 life. mana={2}{W} type=Creature @@ -7850,7 +7852,7 @@ toughness=5 [card] name=Avenging Angel auto=flying -auto=@movedTo(graveyard) from(this|battlefield):may all(trigger[from]) moveto(ownerlibrary) +auto=_DIES_may all(trigger[from]) moveto(ownerlibrary) text=Flying -- When Avenging Angel dies, you may put Avenging Angel on top of its owner's library. mana={3}{W}{W} type=Creature @@ -11095,7 +11097,7 @@ type=Sorcery [card] name=Blade of the Bloodchief auto={1}:equip -auto=teach(creature) @movedto(creature|graveyard) from(creature|battlefield):counter(1/1) && if cantargetcard(vampire) then counter(1/1) +auto=teach(creature) @movedto(creature|graveyard) from(battlefield):counter(1/1) && if cantargetcard(vampire) then counter(1/1) text=Whenever a creature dies, put a +1/+1 counter on equipped creature. If equipped creature is a Vampire, put two +1/+1 counters on it instead. -- Equip {1} mana={1} type=Artifact @@ -13010,7 +13012,7 @@ toughness=5 name=Body Snatcher auto=choice restriction{type(creature|myhand)~morethan~0} reject notatarget(creature|myhand) auto=choice moveTo(exile) -auto=@movedTo(mygraveyard) from(this|battlefield):moveTo(myBattlefield) target(creature|mygraveyard) +auto=_DIES_moveTo(myBattlefield) target(creature|mygraveyard) autograveyard=moveTo(exile) text=When Body Snatcher enters the battlefield, you may discard a creature card. If you don't, exile Body Snatcher. -- When Body Snatcher dies, exile Body Snatcher and return target creature card from your graveyard to the battlefield. mana={2}{B}{B} @@ -15293,8 +15295,8 @@ toughness=3 [/card] [card] name=Brood of Cockroaches -auto=@movedTo(mygraveyard) from(this|battlefield):phaseaction[endofturn once] life:-1 controller -auto=@movedTo(mygraveyard) from(this|battlefield):phaseaction[endofturn once] moveto(ownerHand) +auto=@movedTo(this|mygraveyard) from(battlefield):phaseaction[endofturn once] life:-1 controller +auto=@movedTo(this|mygraveyard) from(battlefield):phaseaction[endofturn once] moveto(ownerHand) text=When Brood of Cockroaches is put into your graveyard from the battlefield, at the beginning of the next end step, you lose 1 life and return Brood of Cockroaches to your hand. mana={1}{B} type=Creature @@ -15844,7 +15846,7 @@ toughness=2 [/card] [card] name=Burning Sands -auto=lord(creature) transforms((,newability[@movedto(graveyard) from(this|mybattlefield):target(land|mybattlefield) sacrifice])) +auto=lord(creature) transforms((,newability[_DIES_target(land|mybattlefield) sacrifice])) text=Whenever a creature dies, that creature's controller sacrifices a land. mana={3}{R}{R} type=Enchantment @@ -16362,7 +16364,9 @@ toughness=4 [card] name=Calciderm abilities=shroud -auto=vanishing:4 +auto=counter(0/0,4,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice text=Shroud -- Vanishing 4 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) mana={2}{W}{W} type=Creature @@ -19774,7 +19778,9 @@ toughness=5 [card] name=Chronozoa abilities=flying -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=_DIES_this(counter{0/0.1.Time}=0) token(111066)*2 text=Flying -- Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Chronozoa dies, if it had no time counters on it, put two tokens that are copies of it onto the battlefield. mana={3}{U} @@ -19987,7 +19993,7 @@ type=Enchantment [/card] [card] name=Circle of Protection: Shadow -auto={1}:name(prevent damage) notatarget(creature[shadow]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +auto={1}:name(prevent damage) notatarget(creature[shadow]) preventalldamage to(controller) from(mytgt) ueot text={1}: The next time a creature of your choice with shadow would deal damage to you this turn, prevent that damage. mana={1}{W} type=Enchantment @@ -20001,7 +20007,7 @@ type=Enchantment [/card] [card] name=Circle of Solace -auto=chooseatype transforms((,newability[{1}{W}:notatarget(creature[chosentype]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot])) chooseend +auto=chooseatype transforms((,newability[{1}{W}:notatarget(creature[chosentype]) preventalldamage to(controller) from(mytgt) ueot])) chooseend text=As Circle of Solace enters the battlefield, choose a creature type. -- {1}{W}: The next time a creature of the chosen type would deal damage to you this turn, prevent that damage. mana={3}{W} type=Enchantment @@ -21853,7 +21859,7 @@ type=Instant [/card] [card] name=Confiscate -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] alias=1194 text=Enchant permanent (Target a permanent as you cast this. This card enters the battlefield attached to that permanent.) -- You control enchanted permanent. mana={4}{U}{U} @@ -23532,7 +23538,7 @@ toughness=2 [card] name=Creature Bond target=creature -auto=@movedto(graveyard) from(mytgt|Battlefield):damage:t targetController +auto=@movedto(mytgt|graveyard):damage:t targetController text=Enchant creature -- When enchanted creature is put into a graveyard, Creature Bond deals damage equal to that creature's toughness to the creature's controller. mana={1}{U} type=Enchantment @@ -26814,7 +26820,9 @@ type=Artifact [/card] [card] name=Deadly Grub -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=_DIES_this(counter{0/0.1.Time}<1) all(trigger) token(Insect,Creature Insect,6/1,shroud green) text=Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Deadly Grub dies, if it had no time counters on it, put a 6/1 green Insect creature token with shroud onto the battlefield. (It can't be the target of spells or abilities.) mana={2}{B} @@ -26882,7 +26890,9 @@ type=Sorcery [/card] [card] name=Deadwood Treefolk -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=moveto(ownerHand) target(other creature|myGraveyard) auto=@movedTo(this|nonbattlezone) from(myBattlefield):moveto(ownerHand) target(other creature|myGraveyard) text=Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Deadwood Treefolk enters the battlefield or leaves the battlefield, return another target creature card from your graveyard to your hand. @@ -30718,7 +30728,7 @@ toughness=6 [/card] [card] name=Door of Destinies -auto=chooseatype transforms((,newability[@movedTo(creature[chosentype]|mystack):counter(0/0.1.Charge)],newability[thisforeach(counter{0/0.1.Charge}) lord(creature[chosentype]|mybattlefield) 1/1])) chooseend +auto=chooseatype transforms((,newability[@movedTo(*[chosentype]|mystack):counter(0/0.1.Charge)],newability[thisforeach(counter{0/0.1.Charge}) lord(creature[chosentype]|mybattlefield) 1/1])) chooseend text=As Door of Destinies enters the battlefield, choose a creature type. -- Whenever you cast a spell of the chosen type, put a charge counter on Door of Destinies. -- Creatures you control of the chosen type get +1/+1 for each charge counter on Door of Destinies. mana={4} type=Artifact @@ -31842,7 +31852,7 @@ type=Instant [/card] [card] name=Dream Leash -target=*[artifact;enchantment;land;planeswalker;creature;tapped] +target=*[artifact;battle;creature;enchantment;land;planeswalker;tapped] alias=1194 text=Enchant permanent -- You can't choose an untapped permanent as Dream Leash's target as you cast Dream Leash. -- You control enchanted permanent. mana={3}{U}{U} @@ -32415,7 +32425,7 @@ toughness=2 [card] name=Dross Harvester abilities=protection from white -auto=@movedTo(graveyard) from(creature|battlefield):life:2 +auto=@movedTo(creature|graveyard) from(battlefield):life:2 auto=@each my end:life:-4 controller text=Protection from white -- At the beginning of your end step, you lose 4 life. -- Whenever a creature dies, you gain 2 life. mana={1}{B}{B} @@ -33696,7 +33706,7 @@ toughness=2 [card] name=Earthlink auto=upcost[{2}] sacrifice -auto=lord(creature) transforms((,newability[@movedto(graveyard) from(this|mybattlefield):target(land|mybattlefield) sacrifice])) +auto=lord(creature) transforms((,newability[_DIES_target(land|mybattlefield) sacrifice])) text=At the beginning of your upkeep, sacrifice Earthlink unless you pay {2}. -- Whenever a creature dies, that creature's controller sacrifices a land. mana={3}{B}{R}{G} type=Enchantment @@ -36212,7 +36222,7 @@ toughness=2 [card] name=Enigma Sphinx abilities=Flying -auto=@movedTo(graveyard) from(this|battlefield): moveto(ownerlibrary) +auto=@movedTo(mygraveyard) from(battlefield): moveto(ownerlibrary) autostack=if casted(this) then cascade:plibrarycount text=Flying -- When Enigma Sphinx is put into your graveyard from the battlefield, put into your library third from the top. mana={4}{W}{U}{B} @@ -37850,7 +37860,7 @@ type=Artifact [card] name=Expedition Raptor abilities=flying -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) text=Flying -- When Expedition Raptor enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) mana={3}{W}{W} type=Creature @@ -38203,7 +38213,7 @@ type=Legendary Land [/card] [card] name=Eye of Yawgmoth -auto={3}{T}{S(creature|mybattlefield)}:reveal:storedmanacost optionone name(pick a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) target(<1>*|reveal) moveto(myexile) and!( moveto(exile) all(*|reveal) )! optiontwoend revealend +auto={3}{T}{S(creature|mybattlefield)}:reveal:storedpower optionone name(pick a card) target(<1>*|reveal) moveto(ownerHand) optiononeend optiontwo name(Put in exile) target(<1>*|reveal) moveto(myexile) and!( moveto(exile) all(*|reveal) )! optiontwoend revealend text={3}, {T}, Sacrifice a creature: Reveal a number of cards from the top of your library equal to the sacrificed creature's power. Put one into your hand and exile the rest. mana={3} type=Artifact @@ -38611,7 +38621,7 @@ type=Sorcery [/card] [card] name=Faith's Fetters -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=teach(creature) cantattack auto=teach(creature) cantpwattack auto=teach(creature) cantblock @@ -39252,11 +39262,9 @@ type=Instant [card] name=Fateful Showdown target=anytarget -auto=count(type:*:myhand) -auto=damage:countedamount -auto=all(*|myhand) reject -auto=draw:countedamount controller -text=Fateful Showdown deals damage to target creature or player equal to the number of cards in your hand. Discard all the cards in your hand, then draw that many cards. +auto=damage:type:*:myhand +auto=all(*|myhand) transforms((,newability[draw:1],newability[reject])) +text=Fateful Showdown deals damage to any target equal to the number of cards in your hand. Discard all the cards in your hand, then draw that many cards. mana={2}{R}{R} type=Instant [/card] @@ -43484,7 +43492,7 @@ toughness=2 [/card] [card] name=Frenzied Fugue -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield) oneshot],newability[untap],newability[haste])) ueot auto=@each my upkeep:transforms((,newability[moveTo(opponentbattlefield)],newability[phaseaction[endofturn sourceinplay] moveTo(ownerbattlefield)],newability[untap],newability[haste])) ueot text=Enchant permanent -- When Frenzied Fugue enters the battlefield or at the beginning of your upkeep, gain control of enchanted permanent until end of turn. Untap that permanent. It gains haste until end of turn. @@ -46703,7 +46711,7 @@ toughness=1 [/card] [card] name=Gladehart Cavalry -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) auto=@movedto(graveyard) from(creature[counter{1/1.1}]|mybattlefield):life:2 controller text=When Gladehart Cavalry enters the battlefield, support 6. (Put a +1/+1 counter on each of up to six other target creatures.) -- Whenever a creature you control with a +1/+1 counter on it dies, you gain 2 life. mana={5}{G}{G} @@ -57244,8 +57252,7 @@ toughness=4 [/card] [card] name=Illusionist's Stratagem -target=creature|mybattlefield -auto=(blink) +auto=may target(creature|mybattlefield) (blink) auto=draw:1 controller text=Exile up to two target creatures you control, then return those cards to the battlefield under their owner's control. -- Draw a card. mana={3}{U} @@ -57901,7 +57908,7 @@ toughness=1 [/card] [card] name=Indestructibility -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=indestructible text=Enchant permanent -- Enchanted permanent is indestructible. (Effects that say "destroy" don't destroy that permanent. An indestructible creature can't be destroyed by damage.) mana={3}{W} @@ -58958,7 +58965,7 @@ type=Instant [card] name=Inverter of Truth abilities=flying -auto=all(*|mylibrary) moveto(exile) && all(*|mygraveyard) moveto(mylibrary) +auto=all(*|mylibrary) hiddenmoveto(exile) && all(*|mygraveyard) moveto(mylibrary) text=Devoid (This card has no color.) -- Flying -- When Inverter of Truth enters the battlefield, exile all cards from your library face down, then shuffle all cards from your graveyard into your library. mana={2}{B}{B} abilities=devoid @@ -60514,7 +60521,7 @@ toughness=1 [/card] [card] name=Jokulhaups -auto=bury all(artifact,creature,land) +auto=bury all(*[artifact;creature;land]) text=Destroy all artifacts, creatures, and lands. They can't be regenerated. mana={4}{R}{R} type=Sorcery @@ -60596,7 +60603,7 @@ toughness=4 [/card] [card] name=Joraga Auxiliary -auto={4}{G}{W}:target(other creature|battlefield) counter(1/1) +auto={4}{G}{W}:may target(other creature|battlefield) counter(1/1) text={4}{G}{W}: Support 2. (Put a +1/+1 counter on each of up to two other target creatures.) mana={1}{G}{W} type=Creature @@ -61258,7 +61265,7 @@ type=Sorcery [card] name=Kagemaro, First to Suffer anyzone=type:*:myhand/type:*:myhand cdaactive -auto={B}{S}:-type:*:myhand/-type:*:myhand all(creature) ueot +auto={B}{S}:all(creature) -type:*:myhand/-type:*:myhand ueot text=Kagemaro, First to Suffer's power and toughness are each equal to the number of cards in your hand. -- {B}, Sacrifice Kagemaro: All creatures get -X/-X until end of turn, where X is the number of cards in your hand. mana={3}{B}{B} type=Legendary Creature @@ -65989,7 +65996,9 @@ type=Land [/card] [card] name=Lavacore Elemental -auto=vanishing:1 +auto=counter(0/0,1,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=@combatdamaged(player) from(creature|myBattlefield):counter(0/0,1,Time) text=Vanishing 1 (This permanent enters the battlefield with a time counter on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- Whenever a creature you control deals combat damage to a player, put a time counter on Lavacore Elemental. mana={2}{R} @@ -66103,8 +66112,7 @@ type=Instant [/card] [card] name=Lead by Example -target=creature|battlefield -auto=counter(1/1) +auto=may target(creature|battlefield) counter(1/1) text=Support 2. (Put a +1/+1 counter on each of up to two target creatures.) mana={1}{G} type=Instant @@ -68469,7 +68477,9 @@ type=Instant [/card] [card] name=Lost Auramancers -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=_DIES_this(counter{0/0.1.Time}=0) ability$!may moveto(mybattlefield) notatarget(enchantment|mylibrary)!$ controller text=Vanishing 3 (This permanent enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- When Lost Auramancers dies, if it had no time counters on it, you may search your library for an enchantment card and put it onto the battlefield. If you do, shuffle your library. mana={2}{W}{W} @@ -69506,7 +69516,9 @@ name=Maelstrom Djinn abilities=flying facedown={3} autofacedown={2}{u}:morph -autofaceup=vanishing:2 +autofaceup=counter(0/0,2,Time) +autofaceup=@each my upkeep:counter(0/0,-1,Time) +autofaceup=this(counter{0/0.1.Time}<=0) sacrifice text=Flying -- Morph {2}{U} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Maelstrom Djinn is turned face up, put two time counters on it and it gains vanishing. (At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) mana={7}{U} type=Creature @@ -74082,7 +74094,7 @@ type=Sorcery [card] name=Mind Whip target=creature -auto=teach(creature) upcost[{3}] tap && damage:2 targetcontroller +auto=teach(creature) upcost[{3}] tap and!(damage:2 targetcontroller)! text=Enchant creature -- At the beginning of the upkeep of enchanted creature's controller, that player may pay {3}. If they doesn't, Mind Whip deals 2 damage to that player and you tap that creature. mana={2}{B}{B} type=Enchantment @@ -78840,8 +78852,9 @@ subtype=Aura [/card] [card] name=Necromancer's Stockpile -auto=aslongas(creature|myhand) {1}{B}:notatarget(creature|myhand) and!( if cantargetcard(zombie|*) then _ZOMBIETOKEN_ and!( tap(noevent) )! )! reject && draw:1 controller -text={1}{B},Discard a creature card: Draw a card. If the discarded card was a Zombie card, put a 2/2 black Zombie creature token onto the battlefield tapped. +auto={1}{B}{D(creature[Zombie]|myHand)}:_ZOMBIETOKEN_ and!( tap(noevent) && draw:1 )! restriction{type(creature[Zombie]|myHand)~morethan~0} +auto={1}{B}{D(creature[-Zombie]|myHand)}:draw:1 restriction{type(creature[-Zombie]|myHand)~morethan~0} +text={1}{B}, Discard a creature card: Draw a card. If the discarded card was a Zombie card, create a tapped 2/2 black Zombie creature token. mana={1}{B} type=Enchantment [/card] @@ -80320,7 +80333,7 @@ mana={4}{B}{B} [/card] [card] name=Nissa's Chosen -auto=@movedTo(graveyard) from(this|battlefield):all(trigger[from]) bottomoflibrary +auto=_DIES_all(trigger[from]) bottomoflibrary text=If Nissa's Chosen would die, put it on the bottom of its owner's library instead. mana={G}{G} type=Creature @@ -80943,7 +80956,7 @@ type=Instant [/card] [card] name=Noxious Toad -auto=@movedto(mygraveyard) from(this|mybattlefield):ability$!name(discard) target(*|myhand) reject!$ opponent +auto=_DIES_ability$!name(discard) target(*|myhand) reject!$ opponent text=When Noxious Toad dies, each opponent discards a card. mana={2}{B} type=Creature @@ -82392,7 +82405,7 @@ type=Enchantment [/card] [card] name=Onulet -auto=@movedTo(this|graveyard) from(this|battlefield):life:2 controller +auto=_DIES_life:2 controller text=When Onulet dies, you gain 2 life. mana={3} type=Artifact Creature @@ -88295,7 +88308,7 @@ type=Sorcery name=Press into Service target=creature|battlefield auto=moveto(mybattlefield) and!(transforms((,newability[phaseaction[endofturn sourceinplay] moveTo(previousbattlefield)],newability[untap],haste)) ueot)! -auto=target(creature|battlefield) counter(1/1) +auto=may target(creature|battlefield) counter(1/1) text=Support 2. (Put a +1/+1 counter on each of up to two target creatures.) -- Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. mana={4}{R} type=Sorcery @@ -88349,7 +88362,7 @@ type=Instant name=Preyseizer Dragon abilities=flying auto=may notATarget(other creature|mybattlefield) sacrifice && counter(1/1,2) all(this) -auto=_ATTACKING_target(anytarget) damage:powerminus4minusend +auto=_ATTACKING_target(anytarget) dynamicability text=Flying -- Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) -- Whenever Preyseizer Dragon attacks, it deals damage to any target equal to the number of +1/+1 counters on Preyseizer Dragon. mana={4}{R}{R} type=Creature @@ -89342,7 +89355,7 @@ type=Instant [/card] [card] name=Prowess of the Fair -auto=@movedTo(mygraveyard) from(other elf[-token]|battlefield):may token(Elf Warrior,creature elf warrior,1/1,green) +auto=@movedTo(other elf[-token]|mygraveyard) from(battlefield):may token(Elf Warrior,creature elf warrior,1/1,green) text=Whenever another nontoken Elf is put into your graveyard from the battlefield, you may put a 1/1 green Elf Warrior creature token onto the battlefield. mana={1}{B} type=Tribal Enchantment @@ -89462,7 +89475,7 @@ toughness=3 [/card] [card] name=Psychic Overload -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=tap auto=teach(*) doesnotuntap auto=teach(*) {D(artifact|myhand)}{D(artifact|myhand)}:untap @@ -92278,7 +92291,9 @@ toughness=3 [/card] [card] name=Ravaging Riftwurm -auto=vanishing:2 +auto=counter(0/0,2,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice kicker={4} auto=if paid(kicker) then counter(0/0,3,Time) text=Kicker {4} (You may pay an additional 4 as you cast this spell.) -- Vanishing 2 (This permanent enters the battlefield with two time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- If Ravaging Riftwurm was kicked, it enters the battlefield with three additional time counters on it. @@ -93803,7 +93818,7 @@ toughness=2 [/card] [card] name=Relief Captain -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) text=When Relief Captain enters the battlefield, support 3. (Put a +1/+1 counter on each of up to three other target creatures.) mana={2}{W}{W} type=Creature @@ -97344,7 +97359,7 @@ type=Land [/card] [card] name=Rukh Egg -auto=@movedTo(graveyard) from(this|battlefield):phaseaction[endofturn once] token(Bird,Creature Bird,4/4,red,flying) +auto=_DIES_phaseaction[endofturn once] token(Bird,Creature Bird,4/4,red,flying) text=When Rukh Egg dies, put a 4/4 red Bird creature token with flying onto the battlefield at the beginning of the next end step. mana={3}{R} type=Creature @@ -98118,7 +98133,7 @@ type=Instant [/card] [card] name=Saddleback Lagac -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) text=When Saddleback Lagac enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) mana={3}{G} type=Creature @@ -104522,7 +104537,7 @@ toughness=3 [/card] [card] name=Shoulder to Shoulder -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) auto=draw:1 text=Support 2. (Put a +1/+1 counter on each of up to two target creatures.) -- Draw a card. mana={2}{W} @@ -106952,7 +106967,7 @@ type=Artifact [card] name=Skullclamp auto=teach(creature) 1/-1 -auto=@movedto(graveyard) from(mytgt|battlefield):draw:2 controller +auto=@movedto(mytgt|graveyard) from(battlefield):draw:2 controller auto={1}:equip text=Equipped creature gets +1/-1. -- When equipped creature is put into a graveyard, draw two cards. -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery. This card enters the battlefield unattached and stays on the battlefield if the creature leaves.) mana={1} @@ -110106,7 +110121,9 @@ toughness=1 [/card] [card] name=Soultether Golem -auto=vanishing:1 +auto=counter(0/0,1,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto=@movedTo(other creature|myBattlefield):counter(0/0,1,Time) text=Vanishing 1 (This permanent enters the battlefield with a time counter on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) -- Whenever another creature enters the battlefield under your control, put a time counter on Soultether Golem. mana={2} @@ -117447,7 +117464,7 @@ type=Sorcery [/card] [card] name=Take Possession -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] alias=1194 text=Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -- Enchant permanent -- You control enchanted permanent. mana={5}{U}{U} @@ -120201,7 +120218,7 @@ toughness=3 [/card] [card] name=Thopter Foundry -auto={1}{S(artifact[-token]|myinplay)}:token(Thopter,artifact creature thopter,1/1,blue flying) && life:1 +auto={1}{S(artifact[-token]|myBattlefield)}:token(Thopter,artifact creature thopter,1/1,blue flying) && life:1 text={1}, Sacrifice a nontoken artifact: Put a 1/1 blue Thopter artifact creature token with flying onto the battlefield. You gain 1 life. mana={WB}{U} type=Artifact @@ -121591,17 +121608,6 @@ power=5 toughness=5 [/card] [card] -name=Tidewalker -auto=vanishing:type:island:mybattlefield -auto=hascnttime/hascnttime cdaactive -text=Tidewalker enters the battlefield with a time counter on it for each Island you control. -- Vanishing (At the beginning of your upkeep, remove a time counter from this permanent. When the last is removed, sacrifice it.) -- Tidewalker's power and toughness are each equal to the number of time counters on it. -mana={2}{U} -type=Creature -subtype=Elemental -power=* -toughness=* -[/card] -[card] name=Tidewater Minion abilities=defender auto={4}:-defender @@ -122900,7 +122906,9 @@ type=Enchantment [card] name=Tourach's Gate target=land|myBattlefield -auto=vanishing:3 +auto=counter(0/0,3,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice auto={s(thrull|mybattlefield)}:counter(0/0,3,time) auto=teach(land) {T}:all(creature[attacking]) 2/-1 text=Enchant land you control -- Sacrifice a Thrull: Put three time counters on Tourach's Gate. -- At the beginning of your upkeep, remove a time counter from Tourach's Gate. If there are no time counters on Tourach's Gate, sacrifice it. -- Enchanted land has "{T}: Attacking creatures you control get +2/-1 until end of turn." @@ -126113,8 +126121,8 @@ toughness=2 [/card] [card] name=Unity of Purpose -auto=ability$!choice untap all(creature[counter{1/1.1}]|mybattlefield)!$ controller -auto=target(other creature|battlefield) counter(1/1) +auto=may target(other creature|battlefield) counter(1/1) && ability$!untap all(creature[counter{1/1.1}]|mybattlefield)!$ controller +auto=may name(Just untap) ability$!untap all(creature[counter{1/1.1}]|mybattlefield)!$ controller text=Support 2. (Put a +1/+1 counter on each of up to two target creatures.) -- Untap each creature you control with a +1/+1 counter on it. mana={3}{U} type=Instant @@ -128187,7 +128195,7 @@ subtype=Aura [/card] [card] name=Verdant Succession -auto=lord(creature[green;-token]) transforms((,newability[@movedto(graveyard) from(this|mybattlefield):target(creature[share!name!]|mylibrary) moveTo(mybattlefield)])) +auto=lord(creature[green;-token]) transforms((,newability[_DIES_target(creature[share!name!]|mylibrary) moveTo(mybattlefield)])) text=Whenever a green nontoken creature dies, that creature's controller may search their library for a card with the same name as that creature and put it onto the battlefield. If that player does, they then shuffles their library. mana={4}{G} type=Enchantment @@ -130355,7 +130363,7 @@ toughness=3 [/card] [card] name=Volition Reins -target=artifact,creature,enchantment,land,planeswalker +target=*[artifact;battle;creature;enchantment;land;planeswalker] auto=untap alias=1194 text=Enchant Permanent -- When Volition Reins enters the battlefield, if enchanted permanent is tapped, untap it. -- You control enchanted permanent. @@ -131753,7 +131761,9 @@ toughness=4 [/card] [card] name=Waning Wurm -auto=vanishing:2 +auto=counter(0/0,2,Time) +auto=@each my upkeep:counter(0/0,-1,Time) +auto=this(counter{0/0.1.Time}<=0) sacrifice text=Vanishing 2 (This permanent enters the battlefield with two time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.) mana={3}{B} type=Creature @@ -132817,7 +132827,7 @@ toughness=1 [card] name=Weatherseed Totem auto={T}:Add{G} -auto={2}{G}{G}{G}:transforms((Treefolk Artifact Creature,newability[@movedto(graveyard) from(this|battlefield):moveto(ownerhand) all(trigger[from]|*)],setpower=5,settoughness=3,trample,green)) ueot +auto={2}{G}{G}{G}:transforms((Treefolk Artifact Creature,newability[_DIES_moveto(ownerhand) all(trigger[from]|*)],setpower=5,settoughness=3,trample,green)) ueot text={T}: Add {G}. -- {2}{G}{G}{G}: Weatherseed Totem becomes a 5/3 green Treefolk artifact creature with trample until end of turn. -- When Weatherseed Totem is put into a graveyard from the battlefield, if it was a creature, return this card to its owner's hand. mana={3} type=Artifact @@ -133501,7 +133511,7 @@ toughness=1 name=Whirlpool Drake abilities=flying auto=all(*|myhand) transforms((,newability[draw:1],newability[moveTo(mylibrary) and!(shuffle)!])) -auto=@movedTo(this|ownergraveyard) from(battlefield):all(*|myhand) transforms((,newability[draw:1],newability[moveTo(mylibrary) and!(shuffle)!])) +auto=_DIES_all(*|myhand) transforms((,newability[draw:1],newability[moveTo(mylibrary) and!(shuffle)!])) text=Flying -- When Whirlpool Drake enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards. -- When Whirlpool Drake dies, shuffle the cards from your hand into your library, then draw that many cards. mana={3}{U} type=Creature @@ -134713,7 +134723,7 @@ toughness=2 [card] name=Winnow target=*[-land] -auto=aslongas(*[share!name!]|battlefield) destroy +auto=aslongas(*[share!name!]|battlefield) destroy >1 auto=draw:1 controller text=Destroy target nonland permanent if another permanent with the same name is on the battlefield. -- Draw a card. mana={1}{W} diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 1317fbabd..4d63d8fb4 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -401,7 +401,7 @@ abilities=hiddenface aicode=activate target(*[zpos<=4]|mylibrary) moveto(ownerhand) auto=counter(0/0,4,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: Reveal four from top and reveal an enchantment) reveal:4 optionone name(Look at the top four cards) target(*[enchantment]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend -auto={C(0/0,-3,Loyalty)}:name(-3: Exile enchantment until...) aslongas(enchantment|mybattlefield) choice notatarget(creature,enchantment|opponentbattlefield) (blink)forsrc oneshot +auto={C(0/0,-3,Loyalty)}:name(-3: Exile creature or enchantment) target(creature,enchantment|opponentbattlefield) (blink)forsrc restriction{type(enchantment|mybattlefield)~morethan~0} auto={C(0/0,-7,Loyalty)}:name(-7: Return all enchantments) moveTo(myBattlefield) all(enchantment|myGraveyard) text=+1: Look at the top four cards of your library. You may reveal an enchantment card from among them and put that card into your hand. Put the rest on the bottom of your library in a random order. -- -3: Exile target creature or enchantment you don't control until target enchantment you control leaves the battlefield. -- -7: Return all enchantment cards from your graveyard to the battlefield. mana={2}{G}{W} @@ -2142,7 +2142,7 @@ auto=aslongas(creature[power=19]|mybattlefield) {C(0/0,-4,Loyalty)}:name(-4: Dea auto=aslongas(creature[power>=20]|mybattlefield) {C(0/0,-4,Loyalty)}:name(-4: Deal 20 damage) name(-4: Deal 20 damage) thisforeach(variable{20}) ability$!name(Deal 1 damage) damage:1 target(*[creature;planeswalker]|battlefield)!$ controller text=Compleated ({R/G/P} can be paid with {R}, {G}, or 2 life. If life was paid, this planeswalker enters with two fewer loyalty counters.) -- [+1]: Add {R}{G}. Spend this mana only to cast creature spells or activate abilities of creatures. -- [-1]: Create a 3/3 green Phyrexian Beast creature token with toxic 1. -- [-4]: Lukka deals X damage divided as you choose among any number of target creatures and/or planeswalkers, where X is the greatest power among creatures you controlled as you activated this ability. mana={2}{R}{RG}{G} -other={1}{R}{G}{L:2} name(Pay 2 life) +other={2}{R}{G}{L:2} name(Pay 2 life) type=Legendary Planeswalker subtype=Lukka [/card] @@ -3698,7 +3698,7 @@ auto={C(0/0,-2,Loyalty)}:name(-2: Creature becomes treasure) target(creature|bat 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. -other={2}{B}{L:2} name(Pay 2 life) +other={4}{B}{L:2} name(Pay 2 life) mana={4}{B}{B} type=Legendary Planeswalker subtype=Vraska