From a82a2e35718bcb1a3d24a4d49923e8c412f1c7c1 Mon Sep 17 00:00:00 2001 From: valfieri Date: Sun, 6 Oct 2019 15:51:47 +0200 Subject: [PATCH] Fixed some primitives for M20 and ELD sets. --- projects/mtg/bin/Res/sets/primitives/ELD.txt | 13 +++++++++++++ .../mtg/bin/Res/sets/primitives/ELD_unsupported.txt | 10 ---------- projects/mtg/bin/Res/sets/primitives/M20.txt | 7 +++++++ .../mtg/bin/Res/sets/primitives/M20_unsupported.txt | 6 ------ projects/mtg/bin/Res/sets/primitives/borderline.txt | 7 +++++++ 5 files changed, 27 insertions(+), 16 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/ELD.txt b/projects/mtg/bin/Res/sets/primitives/ELD.txt index 7baa8fa08..d33b5f2e3 100644 --- a/projects/mtg/bin/Res/sets/primitives/ELD.txt +++ b/projects/mtg/bin/Res/sets/primitives/ELD.txt @@ -2629,4 +2629,17 @@ auto=@each my upkeep:choice name(rogue) token(-47316013) text=At the beginning of your upkeep, choose one at random. Create a red and white creature token with those characteristics. -- • 3/1 Human Warrior with trample and haste. -- • 2/1 Human Cleric with lifelink and haste. -- • 1/2 Human Rogue with haste and "When this creature enters the battlefield, it deals 1 damage to any target." mana={1}{R}{W}{W} type=Enchantment +[/card] +[card] +name=Rankle, Master of Pranks +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(life and draw) draw:1 controller && draw:1 opponent && life:-1 controller && life:-1 opponent +auto=@combatdamaged(player) from(this):may name(sacrifice) ability$!sacrifice notatarget(creature|mybattlefield)!$ controller && ability$!sacrifice notatarget(creature|mybattlefield)!$ opponent +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} +type=Legendary Creature +subtype=Faerie Rogue +power=3 +toughness=3 [/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 fbb66eedb..78374f521 100644 --- a/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/ELD_unsupported.txt @@ -129,16 +129,6 @@ mana={2} type=Artifact [/card] [card] -name=Rankle, Master of Pranks -abilities=flying,haste -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} -type=Legendary Creature -subtype=Faerie Rogue -power=3 -toughness=3 -[/card] -[card] name=Specter's Shriek text=Target opponent reveals their hand. You may choose a nonland card from it. If you do, that player exiles that card. If a nonblack card is exiled this way, exile a card from your hand. mana={B} diff --git a/projects/mtg/bin/Res/sets/primitives/M20.txt b/projects/mtg/bin/Res/sets/primitives/M20.txt index 93e07b845..d7ae3a0f9 100644 --- a/projects/mtg/bin/Res/sets/primitives/M20.txt +++ b/projects/mtg/bin/Res/sets/primitives/M20.txt @@ -1671,4 +1671,11 @@ type=Legendary Creature subtype=Human Cleric power=3 toughness=3 +[/card] +[card] +name=Legion's End +auto=target(creature[manacost<=2]|opponentbattlefield) moveto(exile) && all(*[share!name!]|targetcontrollerbattlefield) moveto(exile) && donothing notatarget(*|targetcontrollerhand) && all(*[share!name!]|targetcontrollerhand) moveto(exile) && all(*[share!name!]|targetcontrollergraveyard) moveto(exile) +text=Exile target creature an opponent controls with converted mana cost 2 or less and all other creatures that player controls with the same name as that creature. Then that player reveals their hand and exiles all cards with that name from their hand and graveyard. +mana={1}{B} +type=Sorcery [/card] \ No newline at end of file diff --git a/projects/mtg/bin/Res/sets/primitives/M20_unsupported.txt b/projects/mtg/bin/Res/sets/primitives/M20_unsupported.txt index a133ebb4f..99e03afeb 100644 --- a/projects/mtg/bin/Res/sets/primitives/M20_unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/M20_unsupported.txt @@ -94,12 +94,6 @@ power=0 toughness=0 [/card] [card] -name=Legion's End -text=Exile target creature an opponent controls with converted mana cost 2 or less and all other creatures that player controls with the same name as that creature. Then that player reveals their hand and exiles all cards with that name from their hand and graveyard. -mana={1}{B} -type=Sorcery -[/card] -[card] name=Tale's End text=Counter target activated ability, triggered ability, or legendary spell. mana={1}{U} diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index c2e3dd892..e252f89a2 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -11,6 +11,13 @@ power=5 toughness=5 [/card] [card] +name=Mausoleum Secrets +auto=name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*[black;manacost<=type:creature:mygraveyard]|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=Undergrowth — Search your library for a black card with converted mana cost less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle your library. +mana={1}{B} +type=Instant +[/card] +[card] name=Coat of Arms auto=lord(creature|battlefield) foreach(other creature[share!type!]|battlefield) 1/1 text=Each creature gets +1/+1 for each other creature on the battlefield that shares at least one creature type with it. (For example, it two Goblin Warriors and a Goblin Shaman are on the battlefield, each gets +2/+2.)