From b88b217c465d1e27552013f585a28c04df3a651a Mon Sep 17 00:00:00 2001 From: "anthonycalosa@gmail.com" Date: Thu, 7 Feb 2013 11:33:07 +0000 Subject: [PATCH] Added Domestication, Duergar Hedge-Mage, Ertai's Trickery --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 51 +++++++++++++++---- .../bin/Res/sets/primitives/unsupported.txt | 31 +++-------- 2 files changed, 47 insertions(+), 35 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 5c43bb92f..7bbaa0442 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -22185,6 +22185,16 @@ mana={2} type=Artifact [/card] [card] +name=Domestication +target=creature +alias=1194 +auto=@each my end:if if cantargetcard(creature[power>=4]) then sacrifice all(this) +mana={2}{U}{U} +type=Enchantment +subtype=Aura +text=Enchant creature -- You control enchanted creature. At the beginning of your end step, if enchanted creature's power is 4 or greater, sacrifice Domestication. +[/card] +[card] name=Dominaria's Judgment auto=aslongas(plains|myBattlefield) lord(creature|myBattlefield) protection from white auto=aslongas(island|myBattlefield) lord(creature|myBattlefield) protection from blue @@ -23812,16 +23822,6 @@ power=1 toughness=1 [/card] [card] -name=Duergar Mine-Captain -auto={1}{rw}{q}:all(creature[attacking]) +1/+0 ueot -text={1}{(r/w)}, {Q}: Attacking creatures get +1/+0 until end of turn. ({Q} is the untap symbol.) -mana={2}{RW} -type=Creature -subtype=Dwarf Soldier -power=2 -toughness=1 -[/card] -[card] name=Duergar Cave-Guard abilities=wither auto={RW}:1/0 @@ -23833,6 +23833,27 @@ power=1 toughness=3 [/card] [card] +name=Duergar Hedge-Mage +auto=if type(mountain|mybattlefield)~morethan~1 then ability$!may name(destroy artifact) destroy target(artifact)!$ controller +auto=if type(plains|mybattlefield)~morethan~1 then ability$!may name(destroy enchantment) destroy target(enchantment)!$ controller +text=When Duergar Hedge-Mage enters the battlefield, if you control two or more Mountains, you may destroy target artifact. -- When Duergar Hedge-Mage enters the battlefield, if you control two or more Plains, you may destroy target enchantment. +mana={2}{RW} +type=Creature +subtype=Dwarf Shaman +power=2 +toughness=2 +[/card] +[card] +name=Duergar Mine-Captain +auto={1}{rw}{q}:all(creature[attacking]) +1/+0 ueot +text={1}{(r/w)}, {Q}: Attacking creatures get +1/+0 until end of turn. ({Q} is the untap symbol.) +mana={2}{RW} +type=Creature +subtype=Dwarf Soldier +power=2 +toughness=1 +[/card] +[card] name=Dune-Brood Nephilim auto=@combatdamaged(player) from(this):foreach(land|myBattlefield) token(Sand,creature sand,1/1) text=Whenever Dune-Brood Nephilim deals combat damage to a player, put a 1/1 colorless Sand creature token onto the battlefield for each land you control. @@ -26650,6 +26671,14 @@ power=3 toughness=4 [/card] [card] +name=Ertai's Trickery +target=*|stack +auto=transforms((,newability[if paid(kicker) then fizzle])) +text=Counter target spell if it was kicked. +mana={U} +type=Instant +[/card] +[card] name=Ersatz Gnomes auto={T}:name(spell) target(*|stack) transforms((,artifact)) forever auto={T}:name(permanent) target(*|battlefield) transforms((,artifact)) ueot @@ -74550,7 +74579,7 @@ power=1 toughness=2 [/card] #The Sengir Nosferatu that the Bat token's ability returns to the battlefield doesn't have to be the same one that created it, and it doesn't even have to be owned by the same player. -#If the Nosferatu is copied (by Clone, for example) and then the copy is exiled by the first activated ability, it won’t be able to come back using the second activated ability, since it’s no longer named Sengir Nosferatu in the Exile zone. +#If the Nosferatu is copied (by Clone, for example) and then the copy is exiled by the first activated ability, it won�t be able to come back using the second activated ability, since it�s no longer named Sengir Nosferatu in the Exile zone. #since we can't target exile, I use moverandom(name) [card] name=Sengir Nosferatu diff --git a/projects/mtg/bin/Res/sets/primitives/unsupported.txt b/projects/mtg/bin/Res/sets/primitives/unsupported.txt index 745d4f06c..42e7782ee 100644 --- a/projects/mtg/bin/Res/sets/primitives/unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/unsupported.txt @@ -4242,13 +4242,6 @@ power=3 toughness=3 [/card] [card] -name=Domestication -mana={2}{U}{U} -type=Enchantment -subtype=Aura -text=Enchant creature -- You control enchanted creature. At the beginning of your end step, if enchanted creature's power is 4 or greater, sacrifice Domestication. -[/card] -[card] name=Dominating Licid text={1}{U}{U}, {T}: Dominating Licid loses this ability and becomes an Aura enchantment with enchant creature. Attach it to target creature. You may pay {U} to end this effect. -- You control enchanted creature. mana={1}{U}{U} @@ -4493,15 +4486,6 @@ mana={4}{G}{G} type=Enchantment [/card] [card] -name=Duergar Hedge-Mage -text=When Duergar Hedge-Mage enters the battlefield, if you control two or more Mountains, you may destroy target artifact. -- When Duergar Hedge-Mage enters the battlefield, if you control two or more Plains, you may destroy target enchantment. -mana={2}{RW} -type=Creature -subtype=Dwarf Shaman -power=2 -toughness=2 -[/card] -[card] name=Duh mana={B} type=Instant @@ -5013,12 +4997,6 @@ mana={X}{U} type=Instant [/card] [card] -name=Ertai's Trickery -text=Counter target spell if it was kicked. -mana={U} -type=Instant -[/card] -[card] name=Essence Leak text=Enchant permanent -- If enchanted permanent is red or green, it has "At the beginning of your upkeep, sacrifice this permanent unless you pay its mana cost." mana={U} @@ -5259,9 +5237,14 @@ name=Falling Star text=Flip Falling Star onto the playing area from a height of at least one foot. Falling Star deals 3 damage to each creature it lands on. Tap all creatures dealt damage by Falling Star. If Falling Star doesn't turn completely over at least once during the flip, it has no effect. mana={2}{R} type=Sorcery -[/card] +[/card] +#not tested kicker={S(land|mybattlefield)} [card] -name=Falling Timber +name=Falling Timber +target=creature +auto=transforms((,newability[preventallcombatdamage from(this)])) ueot +auto=kicker ability$!target(creature) preventalldamage from(mytgt) ueot!$ controller +kicker={S(land|mybattlefield)} text=Kicker - Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.) -- Prevent all combat damage target creature would deal this turn. If Falling Timber was kicked, prevent all combat damage another target creature would deal this turn. mana={2}{G} type=Instant