From bdcb10a54fb3ca73feb3089d96f2b1523d8c9cec Mon Sep 17 00:00:00 2001 From: valfieri Date: Sat, 12 Oct 2019 17:25:30 +0200 Subject: [PATCH] Fixed primitives of GRN and ELD sets. --- projects/mtg/bin/Res/sets/GRN/_cards.dat | 7 +----- projects/mtg/bin/Res/sets/primitives/ELD.txt | 22 ++++++++++++++++++ .../Res/sets/primitives/ELD_unsupported.txt | 17 -------------- projects/mtg/bin/Res/sets/primitives/GRN.txt | 23 +++++++++++++++++++ 4 files changed, 46 insertions(+), 23 deletions(-) diff --git a/projects/mtg/bin/Res/sets/GRN/_cards.dat b/projects/mtg/bin/Res/sets/GRN/_cards.dat index cd5a48f26..e6955317c 100644 --- a/projects/mtg/bin/Res/sets/GRN/_cards.dat +++ b/projects/mtg/bin/Res/sets/GRN/_cards.dat @@ -1155,12 +1155,7 @@ id=452975 rarity=R [/card] [card] -primitive=Flourish -id=452976 -rarity=U -[/card] -[card] -primitive=Flower +primitive=Flower // Flourish id=452976 rarity=U [/card] diff --git a/projects/mtg/bin/Res/sets/primitives/ELD.txt b/projects/mtg/bin/Res/sets/primitives/ELD.txt index 2c02c627d..1c6e07606 100644 --- a/projects/mtg/bin/Res/sets/primitives/ELD.txt +++ b/projects/mtg/bin/Res/sets/primitives/ELD.txt @@ -2720,4 +2720,26 @@ type=Legendary Creature subtype=Beast power=4 toughness=4 +[/card] +[card] +name=Once Upon a Time +#MISSING: First spell of game +aicode=activate moveto(myhand) target(*[creature;land;zpos<=5]|mylibrary) +auto=name(look) reveal:5 optionone name(Get a card) target(<1>*[creature;land]|reveal) moveto(myhand) optiononeend optiontwo name(put on bottom) target(<5>*|reveal) bottomoflibrary optiontwoend revealend +text=If this spell is the first spell you've cast this game, you may cast it without paying its mana cost. -- Look at the top five cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. +mana={1}{G} +type=Instant +[/card] +[card] +name=Clackbridge Troll +#MISSING: At the beginning of combat on your turn +abilities=trample,haste +auto=create(Goat:creature Goat:0/1:white)*3 opponent +auto=@sacrificed(creature|opponentBattlefield):{T}:draw:1 controller && life:3 controller +text=Trample, haste -- When Clackbridge Troll enters the battlefield, target opponent creates three 0/1 white Goat creature tokens. -- At the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap Clackbridge Troll, you gain 3 life, and you draw a card. +mana={3}{B}{B} +type=Creature +subtype=Troll +power=8 +toughness=8 [/card] \ No newline at end of file diff --git a/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt b/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt index 6a00fa2ef..64da7e4be 100644 --- a/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt @@ -102,25 +102,8 @@ mana={B} type=Sorcery [/card] [card] -name=Clackbridge Troll -abilities=trample,haste -auto=create(Goat:creature Goat:0/1:white) opponent -text=Trample, haste -- When Clackbridge Troll enters the battlefield, target opponent creates three 0/1 white Goat creature tokens. -- At the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap Clackbridge Troll, you gain 3 life, and you draw a card. -mana={3}{B}{B} -type=Creature -subtype=Troll -power=8 -toughness=8 -[/card] -[card] name=Covetous Urge text=Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell. mana={UB}{UB}{UB}{UB} type=Sorcery -[/card] -[card] -name=Once Upon a Time -text=If this spell is the first spell you've cast this game, you may cast it without paying its mana cost. -- Look at the top five cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -mana={1}{G} -type=Instant [/card] \ No newline at end of file diff --git a/projects/mtg/bin/Res/sets/primitives/GRN.txt b/projects/mtg/bin/Res/sets/primitives/GRN.txt index 4b000ec7d..dcc9a4963 100644 --- a/projects/mtg/bin/Res/sets/primitives/GRN.txt +++ b/projects/mtg/bin/Res/sets/primitives/GRN.txt @@ -1,4 +1,27 @@ grade=borderline + +[card] +name=Venerated Loxodon +other={convoke} name(Convoke) +auto=lord(creature[tapped;-attacking]|myBattlefield) counter(1/1,1) +text=Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for 1 or one mana of that creature's color.) -- When Venerated Loxodon enters the battlefield, put a +1/+1 counter on each creature that convoked it. +mana={4}{W} +type=Creature +subtype=Elephant Cleric +power=4 +toughness=4 +[/card] + +[card] +name=Flower // Flourish +other={4}{G}{W} name(Flourish) +auto=if paid(alternative) then all(creature|mybattlefield) 2/2 ueot +auto=ifnot paid(alternative) then name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[basic;forest;plains]|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend +text=Search your library for a basic Forest or Plains card, reveal it, put it into your hand, then shuffle your library. -- Creatures you control get +2/+2 until end of turn. +mana={GW} +type=Sorcery +[/card] + [card] name=Blade Instructor auto=_MENTOR_