Fixed/added primitives, added keyword to alter devotion count, added keyword to target cards with flashback cost, added "duplicatecounters(single)" keyword to add a counter of a specific kind already present on a permanent or a player.

This commit is contained in:
Vittorio Alfieri
2021-01-07 18:56:47 +01:00
parent 4c00dfb3b6
commit eaaa4d783b
13 changed files with 249 additions and 105 deletions

View File

@@ -19,6 +19,17 @@ mana={X}{U}
type=Sorcery
[/card]
[card]
name=Aetherborn Marauder
abilities=flying,lifelink
auto=all(*[counter{1/1}|mybattlefield) transforms((,newability[thisforeach(counter{1/1.1}) may name(Move 1/1 counter) counter(1/1.-1) all(this) && counter(1/1) target(Aetherborn Marauder[fresh]|mybattlefield)])) oneshot
text=Flying, lifelink -- When Aetherborn Marauder enters the battlefield, move any number of +1/+1 counters from other permanents you control onto Aetherborn Marauder.
mana={3}{B}
type=Creature
subtype=Aetherborn Rogue
power=2
toughness=2
[/card]
[card]
name=Abandon Hope
auto=reject target(<prex>*|myhand)
auto=reject target(<prex>*|opponenthand)
@@ -532,6 +543,17 @@ power=2
toughness=3
[/card]
[card]
name=Aggression
target=creature[-wall]
auto=first strike
auto=trample
auto=teach(creature) transforms((,newability[@each my endofturn restriction{didntattack}:destroy]))
text=Enchant non-Wall creature -- Enchanted creature has first strike and trample. -- At the beginning of the end step of enchanted creature's controller, destroy that creature if it didn't attack this turn.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Aggressive Instinct
target=creature|mybattlefield
auto=transforms((,newability[target(creature|opponentbattlefield) dynamicability<!powerstrike!>])) forever
@@ -636,6 +658,17 @@ mana={2}{G}{W}
type=Enchantment
[/card]
[card]
name=Ajani's Chosen
auto=@movedTo(enchantment[aura]|myBattlefield):all(trigger[to]) transforms((,newability[may name(Attach aura to cat) rehook target(cat[token;fresh]|mybattlefield)])) oneshot
auto=@movedTo(enchantment|myBattlefield):token(Cat,Creature Cat,2/2,white)
text=Whenever an enchantment enters the battlefield under your control, put a 2/2 white Cat creature token onto the battlefield. If that enchantment is an Aura, you may attach it to the token.
mana={2}{W}{W}
type=Creature
subtype=Cat Soldier
power=3
toughness=3
[/card]
[card]
name=Ajani's Influence
target=creature
auto=counter(1/1,2)
@@ -926,6 +959,15 @@ power=1
toughness=1
[/card]
[card]
name=Allure of the Unknown
auto=if type(*[-land;zpos<=6]|mylibrary)~morethan~0 then ability$!name(Reveal the top six cards) name(Reveal the top six cards) target(<6>*[zpos<=6]|opponentlibrary) donothing!$ opponent
auto=if type(*[-land;zpos<=6]|mylibrary)~morethan~0 then ability$!name(Choose one) name(Exile and cast) target(*[-land;zpos<=6]|opponentlibrary) moveto(exile) and!( activate castcard(normal) and!( moveto(opponenthand) all(*[zpos<=6]|opponentlibrary) )! )! _ choice name(Exile and don't cast) target(*[-land;zpos<=6]|opponentlibrary) moveto(exile) and!( moveto(opponenthand) all(*[zpos<=6]|opponentlibrary) )! !$ opponent
auto=if type(*[-land;zpos<=6]|mylibrary)~equalto~0 then ability$!name(Reveal the top six cards) name(Reveal the top six cards) target(<6>*[zpos<=6]|opponentlibrary) moveto(opponenthand)!$ opponent
text=Reveal the top six cards of your library. An opponent exiles a nonland card from among them, then you put the rest into your hand. That opponent may cast the exiled card without paying its mana cost.
mana={3}{B}{R}
type=Sorcery
[/card]
[card]
name=Ally Encampment
auto={T}:add{C}
auto=this(variable{type:ally:myrestrictedcastingzone}>0) {T}:add{B}
@@ -1022,21 +1064,31 @@ type=Artifact
[card]
name=Altar of the Lost
auto=tap(noevent)
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{W}{B}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{W}{R}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{W}{G}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{W}{U}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{B}{R}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{B}{G}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{B}{U}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{R}{G}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{R}{U}
auto=this(variable{type:*[flashback]:mygraveyard}>0) {T}:add{U}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{B}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{R}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{W}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{R}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{B}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{R}{G}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{R}{U}
auto=this(variable{type:*[hasflashback]:mygraveyard}>0) {T}:add{U}{G}
text=Altar of the Lost enters the battlefield tapped. -- {T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast spells with flashback from a graveyard.
mana={3}
type=Artifact
[/card]
[card]
name=Altar of the Pantheon
auto=alterdevoffset:1 controller
auto=@movedto(this|nonbattlezone) from(battlefield):alterdevoffset:-1 controller
auto=this(variable{type:*[god;demigod]:mybattlefieldplustype:enchantment[legendary]:mybattlefieldplusend}>0) {T}:ability$! name(choose a color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller && life:1 controller
auto=this(variable{type:*[god;demigod]:mybattlefieldplustype:enchantment[legendary]:mybattlefieldplusend}=0) {T}:ability$! name(choose a color) choice name(Add White) add{W} _ choice name(Add Blue) add{U} _ choice name(Add Black) add{B} _ choice name(Add Red) add{R} _ choice name(Add Green) add{G}!$ controller
text=Your devotion to each color and each combination of colors is increased by one. -- {T}: Add one mana of any color. If you control a God, a Demigod, or a legendary enchantment, you gain 1 life.
mana={3}
type=Artifact
[/card]
[card]
name=Amaranthine Wall
abilities=defender
auto={2}:indestructible ueot
@@ -1048,6 +1100,21 @@ power=0
toughness=6
[/card]
[card]
name=Amareth, the Lustrous
abilities=flying
auto=@movedTo(planeswalker|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>planeswalker|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(creature|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>creature|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(land[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>land|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(enchantment[-creature]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>enchantment|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
auto=@movedTo(artifact[-creature;-land;-enchantment]|myBattlefield):all(trigger[to]) transforms((,newability[reveal:1 optionone name(May put in hand) target(<upto:1>artifact|reveal) moveto(myhand) optiononeend optiontwo name(Put back in library) target(*|reveal) moveto(mylibrary) optiontwoend revealend])) oneshot
text=Flying -- Whenever another permanent enters the battlefield under your control, look at the top card of your library. If it shares a card type with that permanent, you may reveal that card and put it into your hand.
mana={3}{G}{W}{U}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Amateur Auteur
auto={S}:destroy target(enchantment)
text=Sacrifice Amateur Auteur: Destroy target enchantment.
@@ -1124,6 +1191,19 @@ power=4
toughness=4
[/card]
[card]
name=Anavolver
other={3}{G}{B} name(Kicker {B})
auto=if paid(alternative) then transforms((,newability[counter(1/1.1)],newability[{L:3}:regenerate])) forever
kicker={1}{U}
auto=kicker ifnot paid(alternative) then transforms((,newability[counter(1/1.2)],newability[flying])) forever
text=Kicker {1}{U} and/or {B} (You may pay an additional {1}{U} and/or {B} as you cast this spell.) -- If Anavolver was kicked with its {1}{U} kicker, it enters the battlefield with two +1/+1 counters on it and with flying. -- If Anavolver was kicked with its {B} kicker, it enters the battlefield with a +1/+1 counter on it and with "Pay 3 life: Regenerate Anavolver."
mana={3}{G}
type=Creature
subtype=Volver
power=3
toughness=3
[/card]
[card]
name=Anax, Hardened in the Forge
anyzone=type:manaR:mybattlefield/3 cdaactive
auto=@movedTo(this|mygraveyard) from(battlefield):token(Satyr,Creature Satyr,1/1,red,cantblock)
@@ -1219,6 +1299,13 @@ text={T}: Add one mana of any color to your mana pool. Spend this mana only to c
type=Land
[/card]
[card]
name=Angel's Trumpet
auto=lord(creature) transforms((,newability[vigilance],newability[@each my end restriction{didntattack}:tap(noevent) && damage:1 controller]))
text=All creatures have vigilance. -- At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. Angel's Trumpet deals damage to the player equal to the number of creatures tapped this way.
mana={3}
type=Artifact
[/card]
[card]
name=Angel Ang
abilities=flying
type=Creature
@@ -1487,6 +1574,14 @@ mana={B}{R}
type=Sorcery
[/card]
[card]
name=Animal Magnetism
auto=if type(*[creature;zpos<=5]|mylibrary)~morethan~0 then ability$!name(Choose creature card) name(Choose creature card) target(creature[zpos<=5]|opponentlibrary) moveto(opponentBattlefield) and!( moveto(opponentgraveyard) all(*[zpos<=5]|opponentlibrary) )! !$ opponent
auto=if type(*[creature;zpos<=5]|mylibrary)~equalto~0 then ability$!name(Reveal the top five cards) name(Reveal the top five cards) target(<5>*[zpos<=5]|opponentlibrary) moveto(opponentgraveyard)!$ opponent
text=Reveal the top five cards of your library. An opponent chooses a creature card from among them. Put that card onto the battlefield and the rest into your graveyard.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Animal Sanctuary
auto={T}:add{C}
auto={2}{T}:counter(1/1,1) target(creature[bird;cat;dog;goat;ox;snake])
@@ -1507,6 +1602,15 @@ power=2
toughness=2
[/card]
[card]
name=Animation Module
auto=@counteradded(1/1) from(*|mybattlefield):name(pay 1 for 1/1 Servo) pay[[{1}]] name(pay 1 for 1/1 Servo) token(Servo,Artifact Creature Servo,1/1)
auto={3}{T}:name(Add counter to a permanent) name(Add counter to a permanent) target(*[counter{any}]|battlefield) duplicatecounters(single)
auto={3}{T}:name(Add counter to a player) name(Add counter to a player) target(player) duplicatecounters(single)
text=Whenever one or more +1/+1 counters are placed on a permanent you control, you may pay {1}. If you do, create a 1/1 colorless Servo artifact creature token. -- {3}, {T}: Choose a counter on target permanent or player. Give that permanent or player another counter of that kind.
mana={1}
type=Artifact
[/card]
[card]
name=Anje Falkenrath
abilities=haste
auto={T}{D(*|myhand)}:draw:1 controller
@@ -5047,7 +5151,7 @@ target=*[instant;sorcery]|stack
auto=fizzle
auto=activate castcard(copied noevent)
other={R} name(Reduced cast)
otherestriction=type(creature[power>=4]|mybattlefield)~morethan~0
otherrestriction=type(creature[power>=4]|mybattlefield)~morethan~0
text=This spell costs {3} less to cast if you control a creature with power 4 or greater. -- Change the target of target spell or ability with a single target.
mana={3}{R}
type=Instant
@@ -26646,8 +26750,8 @@ auto=@each cleanup restriction{compare(mygreenpoolcount)~morethan~0}:thisforeach
auto=@each cleanup restriction{compare(myredpoolcount)~morethan~0}:thisforeach(variable{myredpoolcount})add{C} && removemana({R})
auto=@each cleanup restriction{compare(myblackpoolcount)~morethan~0}:thisforeach(variable{myblackpoolcount}) add{C} && removemana({B})
auto=@each cleanup restriction{compare(mywhitepoolcount)~morethan~0}:thisforeach(variable{mywhitepoolcount}) add{C} && removemana({W})
auto=this(variable{type:managplustype:manauplusend}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{type:managplustype:manauplusend}>6) transforms((Legendary Enchantment Creature))
auto=this(variable{simic}<7) transforms((removetypes,newability[becomes(Legendary Enchantment God)]))
auto=this(variable{simic}>6) transforms((Legendary Enchantment Creature))
text=Indestructible -- As long as your devotion to green and blue is less than seven, Kruphix isn't a creature. -- You have no maximum hand size. -- If unused mana would empty from your mana pool, that mana becomes colorless instead.
mana={3}{G}{U}
type=Legendary Enchantment Creature
@@ -36853,7 +36957,7 @@ toughness=6
[card]
name=Quiet Speculation
target=player
auto=Reveal:type:*:targetedpersonslibrary revealzone(targetedpersonslibrary) optionone name(Choose 3 cards with flashback) target(<upto:3>*[flashback]|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) optiontwoend revealend
auto=Reveal:type:*:targetedpersonslibrary revealzone(targetedpersonslibrary) optionone name(Choose 3 cards with flashback) target(<upto:3>*[hasflashback]|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put back) all(*|reveal) moveto(ownerlibrary) optiontwoend revealend
text=Search target player's library for up to three cards with flashback and put them into that player's graveyard. Then the player shuffles his or her library.
mana={1}{U}
type=Sorcery
@@ -40019,7 +40123,7 @@ type=Instant
[/card]
[card]
name=Runic Repetition
target=*[flashback]|myexile
target=*[hasflashback]|myexile
auto=moveto(myhand)
text=Return target exiled card with flashback you own to your hand.
mana={2}{U}
@@ -50673,7 +50777,7 @@ toughness=1
[card]
name=Tombfire
target=player
auto=ability$!name(Exile flashback cards) all(*[flashback]|mygraveyard) moveto(myexile)!$ targetedplayer
auto=ability$!name(Exile flashback cards) all(*[hasflashback]|mygraveyard) moveto(myexile)!$ targetedplayer
text=Target player exiles all cards with flashback from his or her graveyard.
mana={B}
type=Sorcery

View File

@@ -1188,7 +1188,7 @@ auto={C(0/0,0,Loyalty)}:name(+0: Draw 1 and remove Loyalty counters) draw:1 && c
auto={C(0/0,0,Loyalty)}:name(+0: Draw 1 and remove Loyalty counters) draw:1 && counter(0/0,-20,loyalty) restriction{type(*[manacost=20;zpos=1]|mylibrary)~morethan~0}
text=Kicker {2} -- When Jace, Mirror Mage enters the battlefield, if Jace was kicked, create a token that's a copy of Jace, Mirror Mage except it's not legendary and its starting loyalty is 1. -- +1: Scry 2. -- 0: Draw a card and reveal it. Remove a number of loyalty counters equal to that card's converted mana cost from Jace, Mirror Mage.
mana={1}{U}{U}
type=Planeswalker
type=Legendary Planeswalker
subtype=Jace
[/card]
[card]

View File

@@ -175,22 +175,6 @@ mana={B}
type=Instant
[/card]
[card]
name=Aetherborn Marauder
abilities=flying,lifelink
text=Flying, lifelink -- When Aetherborn Marauder enters the battlefield, move any number of +1/+1 counters from other permanents you control onto Aetherborn Marauder.
mana={3}{B}
type=Creature
subtype=Aetherborn Rogue
power=2
toughness=2
[/card]
[card]
name=Aethermage's Touch
text=Reveal the top four cards of your library. You may put a creature card from among them onto the battlefield. It gains "At the beginning of your end step, return this creature to its owner's hand." Then put the rest of the cards revealed this way on the bottom of your library in any order.
mana={2}{W}{U}
type=Instant
[/card]
[card]
name=Agent of Acquisitions
text=Draft Agent of Acquisitions face up. -- Instead of drafting a card from a booster pack, you may draft each card in that booster pack, one at a time. If you do, turn Agent of Acquisitions face down and you can't draft cards for the rest of this draft round. (You may look at booster packs passed to you.)
mana={2}
@@ -200,28 +184,12 @@ power=2
toughness=1
[/card]
[card]
name=Aggression
text=Enchant non-Wall creature -- Enchanted creature has first strike and trample. -- At the beginning of the end step of enchanted creature's controller, destroy that creature if it didn't attack this turn.
mana={2}{R}
type=Enchantment
subtype=Aura
[/card]
[card]
name=Agyrem
text=Whenever a white creature dies, return it to the battlefield under its owner's control at the beginning of the next end step. -- Whenever a nonwhite creature dies, return it to its owner's hand at the beginning of the next end step. -- Whenever you roll {C}, creatures can't attack you until a player planeswalks.
type=Plane
subtype=Ravnica
[/card]
[card]
name=Ajani's Chosen
text=Whenever an enchantment enters the battlefield under your control, put a 2/2 white Cat creature token onto the battlefield. If that enchantment is an Aura, you may attach it to the token.
mana={2}{W}{W}
type=Creature
subtype=Cat Soldier
power=3
toughness=3
[/card]
[card]
name=Akki Lavarunner
text=Haste -- Whenever Akki Lavarunner deals damage to an opponent, flip it. -- -- ——— -- -- Tok-Tok, Volcano Born -- Legendary Creature — Goblin Shaman -- -- Protection from red -- If a red source would deal damage to a player, it deals that much damage plus 1 to that player instead. -- 2/2
mana={3}{R}
@@ -266,12 +234,6 @@ mana={W}
type=Sorcery
[/card]
[card]
name=Allure of the Unknown
text=Reveal the top six cards of your library. An opponent exiles a nonland card from among them, then you put the rest into your hand. That opponent may cast the exiled card without paying its mana cost.
mana={3}{B}{R}
type=Sorcery
[/card]
[card]
name=Alms Collector
text=Flash -- If an opponent would draw two or more cards, instead you and that player each draw a card.
mana={3}{W}
@@ -295,27 +257,12 @@ mana={R}
type=Enchantment
[/card]
[card]
name=Altar of the Pantheon
text=Your devotion to each color and each combination of colors is increased by one. -- {T}: Add one mana of any color. If you control a God, a Demigod, or a legendary enchantment, you gain 1 life.
mana={3}
type=Artifact
[/card]
[card]
name=Alter Reality
text=Change the text of target spell or permanent by replacing all instances of one color word with another. (This effect lasts indefinitely.) -- Flashback {1}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={1}{U}
type=Instant
[/card]
[card]
name=Amareth, the Lustrous
text=Flying -- Whenever another permanent enters the battlefield under your control, look at the top card of your library. If it shares a card type with that permanent, you may reveal that card and put it into your hand.
mana={3}{G}{W}{U}
type=Legendary Creature
subtype=Dragon
power=6
toughness=6
[/card]
[card]
name=Ambiguity
text=Whenever a player plays a spell that counters a spell that has been played or a player plays a spell that comes into play with counters, that player may counter the next spell played or put an additional counter on a permanent that has already been played, but not countered.
mana={2}{U}{U}
@@ -349,33 +296,12 @@ power=2
toughness=2
[/card]
[card]
name=Anavolver
text=Kicker {1}{U} and/or {B} (You may pay an additional {1}{U} and/or {B} as you cast this spell.) -- If Anavolver was kicked with its {1}{U} kicker, it enters the battlefield with two +1/+1 counters on it and with flying. -- If Anavolver was kicked with its {B} kicker, it enters the battlefield with a +1/+1 counter on it and with "Pay 3 life: Regenerate Anavolver."
mana={3}{G}
type=Creature
subtype=Volver
power=3
toughness=3
[/card]
[card]
name=Angel's Grace
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.) -- You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
mana={W}
type=Instant
[/card]
[card]
name=Angel's Trumpet
text=All creatures have vigilance. -- At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. Angel's Trumpet deals damage to the player equal to the number of creatures tapped this way.
mana={3}
type=Artifact
[/card]
[card]
name=Animal Magnetism
text=Reveal the top five cards of your library. An opponent chooses a creature card from among them. Put that card onto the battlefield and the rest into your graveyard.
mana={4}{G}
type=Sorcery
[/card]
[card]
name=Animate Library
text=Enchant your library -- Enchanted library is an artifact creature on the battlefield with power and toughness each equal to the number of cards in it. It's still a library. -- If enchanted library would leave the battlefield, exile Animate Library instead.
mana={4}{U}{U}
@@ -383,13 +309,6 @@ type=Enchantment
subtype=Aura
[/card]
[card]
name=Animation Module
auto=@<anyamount>counter(1/1,1) target(*|myBattlefield):pay({1}) create(Servo:Artifact Creature Servo:1/1)
text=Whenever one or more +1/+1 counters are placed on a permanent you control, you may pay {1}. If you do, create a 1/1 colorless Servo artifact creature token. -- {3}, {T}: Choose a counter on target permanent or player. Give that permanent or player another counter of that kind.
mana={1}
type=Artifact
[/card]
[card]
name=Animus of Predation
text=Draft Animus of Predation face up. -- As you draft a card, you may remove it from the draft face up. (It isn't in your card pool.) -- If you removed a creature card with flying from the draft with cards named Animus of Predation, Animus of Predation has flying. The same is true for first strike, double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, reach, and vigilance.
mana={4}{G}