Merged with last master commit, fixed primitives and languages.

This commit is contained in:
valfieri
2020-09-16 11:32:43 +02:00
parent 612be9737d
commit 573c72f72d
4 changed files with 1959 additions and 533 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -223,7 +223,8 @@ toughness=3
[card] [card]
name=Admiral's Order name=Admiral's Order
target=spell target=spell
auto=if raid altercost(colorless,-1) altercost(blue,-1) other={U} name(Raid)
otherrestriction=raid
auto=fizzle auto=fizzle
text=Raid — If you attacked with a creature this turn, you may pay {U} rather than pay this spell's mana cost. -- Counter target spell. text=Raid — If you attacked with a creature this turn, you may pay {U} rather than pay this spell's mana cost. -- Counter target spell.
mana={1}{U}{U} mana={1}{U}{U}
@@ -396,9 +397,8 @@ toughness=4
[/card] [/card]
[card] [card]
name=Agent of Treachery name=Agent of Treachery
target=*|opponentBattlefield auto=moveTo(myBattlefield) target(*|opponentBattlefield)
auto=moveTo(myBattlefield) auto=@each my endofturn:ability$!name(Choose one) choice name(You control 3 or more permanents you don't own) draw:3 controller _ choice name(You don't control 3 or more permanents you don't own) donothing!$ controller
auto=aslongas(*|myBattlefield) draw:3 >2
text=When Agent of Treachery enters the battlefield, gain control of target permanent. -- At the beginning of your end step, if you control three or more permanents you don't own, draw three cards. text=When Agent of Treachery enters the battlefield, gain control of target permanent. -- At the beginning of your end step, if you control three or more permanents you don't own, draw three cards.
mana={5}{U}{U} mana={5}{U}{U}
type=Creature type=Creature
@@ -8805,7 +8805,7 @@ toughness=1
name=Deadly Allure name=Deadly Allure
target=creature target=creature
flashback={G} flashback={G}
auto=transforms((,newability[deathtouch ueot],newability[@combat (attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot])) ueot auto=transforms((,newability[deathtouch ueot],newability[@combat(attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot])) ueot
text=Target creature gains deathtouch until end of turn and must be blocked this turn if able. -- Flashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) text=Target creature gains deathtouch until end of turn and must be blocked this turn if able. -- Flashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.)
mana={B} mana={B}
type=Sorcery type=Sorcery
@@ -8924,7 +8924,8 @@ toughness=2
name=Deathsprout name=Deathsprout
target=creature target=creature
auto=destroy auto=destroy
auto=moveTo(myBattlefield) and!(tap(noevent))! target(*[basic]|myLibrary) aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(*[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(*[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
text=Destroy target creature. Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. text=Destroy target creature. Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
mana={1}{B}{B}{G} mana={1}{B}{B}{G}
type=Instant type=Instant
@@ -11345,7 +11346,7 @@ color=white
[card] [card]
name=Elemental Uprising name=Elemental Uprising
target=land|mybattlefield target=land|mybattlefield
auto=transforms(Land Creature Elemental,4/4,haste) with(newability[@combat (attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot]) ueot auto=transforms(Land Creature Elemental,4/4,haste) with(newability[@combat(attacking,blocking) source(this): all(<anyamount>creature|opponentbattlefield) mustblock ueot]) ueot
text=Target land you control becomes a 4/4 Elemental creature with haste until end of turn. Its still a land. It must be blocked this turn if able. text=Target land you control becomes a 4/4 Elemental creature with haste until end of turn. Its still a land. It must be blocked this turn if able.
mana={1}{G} mana={1}{G}
type=Instant type=Instant
@@ -12080,7 +12081,7 @@ name=Escape Velocity
target=creature target=creature
auto=haste auto=haste
auto=1/0 auto=1/0
autograveyard=name(Escape-{1}{R},exile two) {1}{R}:castcard(normal) autograveyard=name(Escape-{1}{R},exile two) {1}{R}{E(other *|myGraveyard)}{E(other *|myGraveyard)}:castcard(normal)
text=Enchant creature -- Enchanted creature gets +1/+0 and has haste. -- Escape—{1}{R}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.) text=Enchant creature -- Enchanted creature gets +1/+0 and has haste. -- Escape—{1}{R}, Exile two other cards from your graveyard. (You may cast this card from your graveyard for its escape cost.)
mana={R} mana={R}
type=Enchantment type=Enchantment
@@ -13201,7 +13202,7 @@ type=Land
name=Fiend Artisan name=Fiend Artisan
auto=foreach(creature|myGraveyard) 1/1 auto=foreach(creature|myGraveyard) 1/1
aicode=activate target(creature[manacost<=X]|mylibrary) moveto(myBattlefield) aicode=activate target(creature[manacost<=X]|mylibrary) moveto(myBattlefield)
auto={X}{BG}{T}{S(other creature|myBattlefield)}:name(search creature) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose creature) target(creature[manacost<=X]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myBattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery auto={X}{BG}{T}{S(other creature|myBattlefield}:name(search creature) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose creature) target(creature[manacost<=X]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myBattlefield)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend asSorcery
text=Fiend Artisan gets +1/+1 for each creature card in your graveyard. -- {X}{BG}, {T}, Sacrifice another creature: Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. text=Fiend Artisan gets +1/+1 for each creature card in your graveyard. -- {X}{BG}, {T}, Sacrifice another creature: Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery.
mana={BG}{BG} mana={BG}{BG}
type=Creature type=Creature
@@ -22833,7 +22834,7 @@ toughness=1
[card] [card]
name=Loch Dragon name=Loch Dragon
abilities=flying abilities=flying
auto=may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) !$ controller auto=may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1)! !$ controller
auto=@combat(attacking) source(this):may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$ auto=@combat(attacking) source(this):may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$
text=Flying -- Whenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card. text=Flying -- Whenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card.
mana={UR}{UR}{UR}{UR} mana={UR}{UR}{UR}{UR}
@@ -30511,7 +30512,7 @@ name=Rankle, Master of Pranks
abilities=flying,haste abilities=flying,haste
auto=@combatdamaged(player) from(this):may name(discard) transforms((,newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) ueot auto=@combatdamaged(player) from(this):may name(discard) transforms((,newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) ueot
auto=@combatdamaged(player) from(this):may name(life and draw) draw:1 controller && draw:1 opponent && life:-1 controller && life:-1 opponent auto=@combatdamaged(player) from(this):may name(life and draw) draw:1 controller && draw:1 opponent && life:-1 controller && life:-1 opponent
auto=@combatdamaged(player) from(this):may name(sacrifice) sacrifice transforms((,newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller],newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent])) ueot auto=@combatdamaged(player) from(this):may name(sacrifice) transforms((,newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ controller],newability[ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent])) ueot
text=Flying, haste -- Whenever Rankle, Master of Pranks deals combat damage to a player, choose any number — -- • Each player discards a card. -- • Each player loses 1 life and draws a card. -- • Each player sacrifices a creature. text=Flying, haste -- Whenever Rankle, Master of Pranks deals combat damage to a player, choose any number — -- • Each player discards a card. -- • Each player loses 1 life and draws a card. -- • Each player sacrifices a creature.
mana={2}{B}{B} mana={2}{B}{B}
type=Legendary Creature type=Legendary Creature
@@ -31160,7 +31161,7 @@ toughness=3
name=Repeating Barrage name=Repeating Barrage
target=creature,player target=creature,player
auto=damage:3 auto=damage:3
autograveyard={3}{R}{R}restriction{if raid}:moveto(myhand) autograveyard={3}{R}{R} restriction{raid}:moveto(myhand)
text=Repeating Barrage deals 3 damage to target creature or player. -- Raid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn. text=Repeating Barrage deals 3 damage to target creature or player. -- Raid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn.
mana={1}{R}{R} mana={1}{R}{R}
type=Sorcery type=Sorcery
@@ -37624,7 +37625,8 @@ type=Sorcery
[/card] [/card]
[card] [card]
name=Spring // Mind name=Spring // Mind
auto=moveto(mybattlefield) target(basic|mylibrary) && tap aicode=activate moveTo(myBattlefield) and!(tap(noevent))! target(land[basic]|myLibrary)
auto=name(search card) reveal:plibrarycount optionone name(choose card) target(<1>land[basic]|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield) and!(tap(noevent))!)! afterrevealedend revealend
autograveyard={4}{U}{U}{E}:draw:2 controller autograveyard={4}{U}{U}{E}:draw:2 controller
text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Draw two cards. text=Search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. -- Aftermath (Cast this spell only from your graveyard. Then exile it.) Draw two cards.
mana={2}{G} mana={2}{G}
@@ -40547,7 +40549,7 @@ subtype=Saga
name=The Ur-Dragon name=The Ur-Dragon
abilities=flying abilities=flying
auto=lord(dragon|mycastingzone) altercost( colorless,-1) auto=lord(dragon|mycastingzone) altercost( colorless,-1)
auto=@combat (attacking[dragon]|myBattlefield):draw:type:creature(dragon[attacking]):mybattlefield controller && moveTo(myBattlefield) target(*|myhand) auto=@combat(attacking[dragon]|myBattlefield):draw:type:creature(dragon[attacking]):mybattlefield controller && moveTo(myBattlefield) target(*|myhand)
text=Eminence — As long as The Ur-Dragon is in the command zone or on the battlefield, other Dragon spells you cast cost {1} less to cast. -- Flying -- Whenever one or more Dragons you control attack, draw that many cards, then you may put a permanent card from your hand onto the battlefield. text=Eminence — As long as The Ur-Dragon is in the command zone or on the battlefield, other Dragon spells you cast cost {1} less to cast. -- Flying -- Whenever one or more Dragons you control attack, draw that many cards, then you may put a permanent card from your hand onto the battlefield.
mana={4}{W}{U}{B}{R}{G} mana={4}{W}{U}{B}{R}{G}
type=Legendary Creature type=Legendary Creature

View File

@@ -31723,7 +31723,7 @@ type=Instant
[/card] [/card]
[card] [card]
name=Dream Leash name=Dream Leash
target=*[tapped] target=*[artifact;enchantment;land;planeswalker;creature;tapped]
alias=1194 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. 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} mana={3}{U}{U}
@@ -44758,11 +44758,11 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Gauntlet of Power name=Gauntlet of Power
auto=choice name(green) all(this) transforms((,newability[lord(creature[green]|battlefield) 1/1],newability[lord(*[basic]|battlefield) producecolor:green])) forever auto=choice name(green) all(this) transforms((,newability[lord(creature[green]|battlefield) 1/1],newability[lord(forest[basic]|battlefield) producecolor:green])) forever
auto=choice name(blue) all(this) transforms((,newability[lord(creature[blue]|battlefield) 1/1],newability[lord(*[basic]|battlefield) producecolor:blue])) forever auto=choice name(blue) all(this) transforms((,newability[lord(creature[blue]|battlefield) 1/1],newability[lord(island[basic]|battlefield) producecolor:blue])) forever
auto=choice name(red) all(this) transforms((,newability[lord(creature[red]|battlefield) 1/1],newability[lord(*[basic]|battlefield) producecolor:red])) forever auto=choice name(red) all(this) transforms((,newability[lord(creature[red]|battlefield) 1/1],newability[lord(mountain[basic]|battlefield) producecolor:red])) forever
auto=choice name(black) all(this) transforms((,newability[lord(creature[black]|battlefield) 1/1],newability[lord(*[basic]|battlefield) producecolor:black])) forever auto=choice name(black) all(this) transforms((,newability[lord(creature[black]|battlefield) 1/1],newability[lord(swamp[basic]|battlefield) producecolor:black])) forever
auto=choice name(white) all(this) transforms((,newability[lord(creature[white]|battlefield) 1/1],newability[lord(*[basic]|battlefield) producecolor:white])) forever auto=choice name(white) all(this) transforms((,newability[lord(creature[white]|battlefield) 1/1],newability[lord(plains[basic]|battlefield) producecolor:white])) forever
text=As Gauntlet of Power enters the battlefield, choose a color. -- Creatures of the chosen color get +1/+1. -- Whenever a basic land is tapped for mana of the chosen color, its controller adds one mana of that color to his or her mana pool (in addition to the mana the land produces). text=As Gauntlet of Power enters the battlefield, choose a color. -- Creatures of the chosen color get +1/+1. -- Whenever a basic land is tapped for mana of the chosen color, its controller adds one mana of that color to his or her mana pool (in addition to the mana the land produces).
mana={5} mana={5}
type=Artifact type=Artifact
@@ -70164,8 +70164,9 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Mana Echoes name=Mana Echoes
auto=lord(creature) transforms((,newability[foreach(creature[share!types!]|mybattlefield) add{1} oneshot])) auto=@movedTo(creature|myBattlefield):may name(Add {C} for each creature that shares...) all(trigger) transforms((,newability[foreach(*[creature;share!types!]|mybattlefield) add{1} oneshot]))
text=Whenever a creature enters the battlefield, you may add {1} to your mana pool for each creature you control that shares a creature type with it. auto=@movedTo(creature|opponentBattlefield):may name(Add {C} for each creature that shares...) all(trigger) transforms((,newability[foreach(*[creature;share!types!]|opponentbattlefield) add{1} opponent oneshot]))
text=Whenever a creature enters the battlefield, you may add {C} to your mana pool for each creature you control that shares a creature type with it.
mana={2}{R}{R} mana={2}{R}{R}
type=Enchantment type=Enchantment
[/card] [/card]
@@ -82372,8 +82373,7 @@ type=Enchantment
[card] [card]
name=Opt name=Opt
aicode=activate may bottomoflibrary all(*[zpos=1]|mylibrary) aicode=activate may bottomoflibrary all(*[zpos=1]|mylibrary)
auto=draw:1 auto=name(Look) reveal:1 optionone name(Put back on top and draw) target(*|reveal) moveto(mylibrary) and!(draw:1)! optiononeend optiontwo name(put on bottom and draw) target(<1>*|reveal) bottomoflibrary and!(draw:1)! optiontwoend revealend
auto=name(Look) reveal:1 optionone name(Put On Top) target(*|reveal) moveto(mylibrary) optiononeend optiontwo name(put on bottom) target(<1>*|reveal) bottomoflibrary optiontwoend revealend
text=Look at the top card of your library. You may put that card on the bottom of your library. -- Draw a card. text=Look at the top card of your library. You may put that card on the bottom of your library. -- Draw a card.
mana={U} mana={U}
type=Instant type=Instant