From 69af807510efee91b9e1b889c78dd593147190a8 Mon Sep 17 00:00:00 2001 From: "anthonycalosa@gmail.com" Date: Sat, 19 Jan 2013 08:46:10 +0000 Subject: [PATCH] added City of Solitude, Detonate, Dosan the Falling Leaf, Harsh Justice. added restriction for Reset, fixed Seedtime, fixed Wild Defiance, fixed Abundant Growth (thanks excessum) --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 48 ++++++++++++++++--- .../bin/Res/sets/primitives/unsupported.txt | 27 ----------- 2 files changed, 42 insertions(+), 33 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 2929b0a9a..e1c138dff 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -356,7 +356,7 @@ toughness=1 name=Abundant Growth target=land auto=draw:1 controller -auto=teach(land) {T}:activatechooseacolor add{chosencolor} activatechooseend +auto=teach(land) transforms((,newability[{T}:activatechooseacolor add{chosencolor} activatechooseend])) text=Enchant land -- When Abundant Growth enters the battlefield, draw a card. -- Enchanted land has "{T}: Add one mana of any color to your mana pool." mana={G} type=Enchantment @@ -14375,6 +14375,16 @@ auto={T}:thisforeach(counter{0/0.1.Storage}) Add{1} type=Land [/card] [card] +name=City of Solitude +auto=this(variable{controllerturn}) maxCast(*)0 opponent +auto=this(variable{controllerturn}) lord(*|opponentbattlefield) noactivatedability +auto=this(variable{opponentturn}) maxCast(*)0 controller +auto=this(variable{opponentturn}) lord(*|mybattlefield) noactivatedability +text=Players can cast spells and activate abilities only during their own turns. +mana={2}{G} +type=Enchantment +[/card] +[card] name=City of Traitors auto=@movedTo(land|mybattlefield) from(myhand):bury auto={T}:Add {2} @@ -20652,6 +20662,14 @@ mana={1}{W}{U} type=Enchantment [/card] [card] +name=Detonate +target=artifact[manacost=prex] +auto=bury && damage:castx targetcontroller +mana={X}{R} +type=Sorcery +text=Destroy target artifact with converted mana cost X. It can't be regenerated. Detonate deals X damage to that artifact's controller. +[/card] +[card] name=Devastate target=land auto=destroy @@ -21805,6 +21823,17 @@ text=Dormant Volcano enters the battlefield tapped. -- When Dormant Volcano ente type=Land [/card] [card] +name=Dosan the Falling Leaf +auto=this(variable{controllerturn}) maxCast(*)0 opponent +auto=this(variable{opponentturn}) maxCast(*)0 controller +text=Players can cast spells only during their own turns. +mana={1}{G}{G} +type=Legendary Creature +subtype=Human Monk +power=2 +toughness=2 +[/card] +[card] name=Dosan's Oldest Chant auto=life:6 controller auto=draw:1 controller @@ -37030,6 +37059,14 @@ mana={4}{B} type=Sorcery [/card] [card] +name=Harsh Justice +restriction=type(creature[attacking]|opponentbattlefield)~morethan~0 +auto=all(creature[attacking]) transforms((,newability[@combatdamaged(opponent) from(this):damage:thatmuch controller])) ueot +text=Cast Harsh Justice only during the declare attackers step and only if you've been attacked this step. -- This turn, whenever an attacking creature deals combat damage to you, it deals that much damage to its controller. +mana={2}{W} +type=Instant +[/card] +[card] name=Haru-Onna auto=draw:1 controller auto=@movedto(arcane,spirit|mystack):may moveto(ownerhand) @@ -66437,7 +66474,7 @@ type=Instant [card] name=Reset auto=untap all(land|mybattlefield) -restriction= +restriction=during opponent turn text=Cast Reset only during an opponent's turn after his or her upkeep step. -- Untap all lands you control. mana={U}{U} type=Instant @@ -71536,9 +71573,8 @@ subtype=Aura [/card] [card] name=Seedtime -restriction=opponentturnonly -restriction=casted(*[green]|mystack) -auto=turns:+1 controller +restriction=during my turn +auto=if casted(*[blue]|opponentstack) then turns:+1 controller text=Cast Seedtime only during your turn. -- Take an extra turn after this one if an opponent cast a blue spell this turn. mana={1}{G} type=Instant @@ -94438,7 +94474,7 @@ toughness=2 [/card] [card] name=Wild Defiance -auto=@targeted(creature|mybattlefield) from(instant,sorcery):all(trigger[to]) 3/3 ueot +auto=@targeted(creature|mybattlefield) from(*[instant;sorcery]|nonbattlezone,stack):all(trigger[to]) 3/3 ueot text=Whenever a creature you control becomes the target of an instant or sorcery spell, that creature gets +3/+3 until end of turn. mana={2}{G} type=Enchantment diff --git a/projects/mtg/bin/Res/sets/primitives/unsupported.txt b/projects/mtg/bin/Res/sets/primitives/unsupported.txt index 8a3ed592b..bcc1ca4b2 100644 --- a/projects/mtg/bin/Res/sets/primitives/unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/unsupported.txt @@ -2704,12 +2704,6 @@ type=Land text=City of Ass comes into play tapped. {T}: Add one and one-half mana of any one color to your mana pool. [/card] [card] -name=City of Solitude -text=Players can cast spells and activate abilities only during their own turns. -mana={2}{G} -type=Enchantment -[/card] -[card] name=Clam Session mana={1}{U}{U} type=Summon — Clamfolk @@ -4022,12 +4016,6 @@ mana={5}{R}{R} type=Sorcery [/card] [card] -name=Detonate -mana={X}{R} -type=Sorcery -text=Destroy target artifact with converted mana cost X. It can't be regenerated. Detonate deals X damage to that artifact's controller. -[/card] -[card] name=Detritivore text=Detritivore's power and toughness are each equal to the number of nonbasic land cards in your opponents' graveyards. -- Suspend X - {X}{3}{R}. X can't be 0. (Rather than cast this card from your hand, you may pay {X}{3}{R} and exile it with X time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. It has haste.) -- Whenever a time counter is removed from Detritivore while it's exiled, destroy target nonbasic land. mana={2}{R}{R} @@ -4377,15 +4365,6 @@ toughness=5 text=Flying Dormant Gomazoa enters the battlefield tapped. Dormant Gomazoa doesn't untap during your untap step. Whenever you become the target of a spell, you may untap Dormant Gomazoa. [/card] [card] -name=Dosan the Falling Leaf -text=Players can cast spells only during their own turns. -mana={1}{G}{G} -type=Legendary Creature -subtype=Human Monk -power=2 -toughness=2 -[/card] -[card] name=Double Cross mana={3}{B}{B} type=Sorcery @@ -7758,12 +7737,6 @@ mana={2}{W}{W} type=Enchantment [/card] [card] -name=Harsh Justice -text=Cast Harsh Justice only during the declare attackers step and only if you've been attacked this step. -- This turn, whenever an attacking creature deals combat damage to you, it deals that much damage to its controller. -mana={2}{W} -type=Instant -[/card] -[card] name=Harsh Mercy text=Each player chooses a creature type. Destroy all creatures that aren't of a type chosen this way. They can't be regenerated. mana={2}{W}