From 1e25fc44d43323c1700176a9eb05ceae545b55ae Mon Sep 17 00:00:00 2001 From: "solo81@web.de" Date: Wed, 12 May 2010 22:02:14 +0000 Subject: [PATCH] Added 10 successfully tested cards with Devour. Added a test script creatures with Devour. Card list -> First comment --- projects/mtg/bin/Res/sets/ARB/_cards.dat | 5 + projects/mtg/bin/Res/sets/primitives/mtg.txt | 209 ++++++++++++++++++ projects/mtg/bin/Res/test/_tests.txt | 1 + .../mtg/bin/Res/test/thunder-thrash_elder.txt | 33 +++ 4 files changed, 248 insertions(+) create mode 100644 projects/mtg/bin/Res/test/thunder-thrash_elder.txt diff --git a/projects/mtg/bin/Res/sets/ARB/_cards.dat b/projects/mtg/bin/Res/sets/ARB/_cards.dat index d641b23e3..15b816e25 100644 --- a/projects/mtg/bin/Res/sets/ARB/_cards.dat +++ b/projects/mtg/bin/Res/sets/ARB/_cards.dat @@ -149,6 +149,11 @@ id=189648 rarity=M [/card] [card] +primitive=Dragon (Dragon Broodmother) +id=22222220 +rarity=T +[/card] +[card] primitive=Drastic Revelation id=179587 rarity=U diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 53dbd6a01..a8f564c9e 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -11159,6 +11159,48 @@ power=1 toughness=1 [/card] [card] +name=Devour 1 (Mechanic) +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,1,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222224) && bury all(this) +id=22222221 +auto=moveto(exile) +type=nothing +[/card] +[card] +name=Devour 2 (Mechanic) +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,2,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222225) && bury all(this) +id=22222222 +auto=moveto(exile) +type=nothing +[/card] +[card] +name=Devour 3 (Mechanic) +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,3,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222226) && bury all(this) +id=22222223 +auto=moveto(exile) +type=nothing +[/card] +[card] +name=Sac Devour 1 +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,1,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222224) && bury all(this) +auto=moveto(exile) +id=22222224 +type=nothing +[/card] +[card] +name=Devour Sac 2 +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,2,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222225) && bury all(this) +auto=moveto(exile) +id=22222225 +type=nothing +[/card] +[card] +name=Devour Sac 3 +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,3,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222226) && bury all(this) +auto=moveto(exile) +id=22222226 +type=nothing +[/card] +[card] name=Devour in Shadow target=creature auto=destroy @@ -11843,6 +11885,31 @@ mana={3} type=Artifact [/card] [card] +name=Dragon Broodmother +auto=@each upkeep: token(22222220) +###mana={2}{R}{R}{R}{G} +mana={G} +type=Creature +subtype=Dragon +text=Flying -- At the beginning of each upkeep, put a 1/1 red and green Dragon creature token with flying and devour 2 onto the battlefield. (As the token enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with twice that many +1/+1 counters on it.) +power=4 +toughness=4 +abilities=flying +[/card] +[card] +name=Dragon (Dragon Broodmother) +type=Creature +subtype=Dragon +abilities=flying +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222222) +text=Flying -- Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.) +power=1 +toughness=1 +color=Red,Green +[/card] +[card] name=Dragon Engine auto={2}:1/0 text={2}: Dragon Engine gets +1/+0 until end of turn. @@ -17859,6 +17926,19 @@ power=1 toughness=3 [/card] [card] +name=Gluttonous Slime +abilities=flash +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222221) +text=Flash -- Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.) +mana={2}{G} +type=Creature +subtype=Ooze +power=2 +toughness=2 +[/card] +[card] name=Gluttonous Zombie abilities=fear text=Fear (This creature can't be blocked except by artifact creatures and/or black creatures.) @@ -18758,6 +18838,18 @@ power=2 toughness=2 [/card] [card] +name=Gorger Wurm +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222221) +text=Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.) +mana={3}{R}{G} +type=Creature +subtype=Wurm +power=5 +toughness=5 +[/card] +[card] name=Gorgon Flail auto={2}:equip auto=1/1 @@ -20424,6 +20516,20 @@ mana={2}{B}{B}{B} type=Sorcery [/card] [card] +name=Hellkite Hatchling +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222221) +auto=this(counter{1/1.1.Devoured}) trample +auto=this(counter{1/1.1.Devoured}) flying +text=Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.) -- Hellkite Hatchling has flying and trample if it devoured a creature. +mana={2}{R}{G} +type=Creature +subtype=Dragon +power=2 +toughness=2 +[/card] +[card] name=Hellkite Overlord abilities=flying,trample,haste auto={R}:1/0 @@ -27413,6 +27519,32 @@ power=* toughness=* [/card] [card] +name=Marrow Chomper +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222227) +mana={3}{B}{G} +type=Creature +subtype=Zombie Lizard +text=Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) -- When Marrow Chomper enters the battlefield, you gain 2 life for each creature it devoured. +power=3 +toughness=3 +[/card] +[card] +name=Marrow Chomper Devour +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,2,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222228) && life:2 controller && bury all(this) +id=22222227 +auto=moveto(exile) +type=nothing +[/card] +[card] +name=Marrow Chomper Devour Sac +auto=may moveTo(ownergraveyard) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,2,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222228) && life:2 controller && bury all(this) +auto=moveto(exile) +id=22222228 +type=nothing +[/card] +[card] name=Marrow-Gnawer auto={T}{S(rat|myBattlefield)}:foreach(rat|myBattlefield) token(Rat,Creature Rat,1/1,black) auto=lord(rat) fear @@ -29575,6 +29707,19 @@ power=0 toughness=2 [/card] [card] +name=Mycoloth +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222222) +auto=@each my upkeep:thisforeach(counter{1/1.1}) token(Saproling,creature saproling, 1/1, green) +text=Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) -- At the beginning of your upkeep, put a 1/1 green Saproling creature token onto the battlefield for each +1/+1 counter on Mycoloth. +mana={3}{G}{G} +type=Creature +subtype=Fungus +power=4 +toughness=4 +[/card] +[card] name=Mycoid Shepherd auto=@movedTo(this|graveyard) from(myBattlefield):may life:5 controller auto=@movedTo(graveyard) from(other creature[power>=5]|myBattlefield):may life:5 controller @@ -33418,6 +33563,19 @@ mana={1}{G} type=Instant [/card] [card] +name=Predator Dragon +abilities=flying, haste +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222222) +text=Flying, haste -- Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) +mana={3}{R}{R}{R} +type=Creature +subtype=Dragon +power=4 +toughness=4 +[/card] +[card] name=Predator, Flagship auto={2}:flying target(creature) auto={5}{T}:destroy target(creature[flying]) @@ -40203,6 +40361,32 @@ mana={4} type=Artifact [/card] [card] +name=Skullmulcher +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222229) +text=Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.) -- When Skullmulcher enters the battlefield, draw a card for each creature it devoured. +mana={4}{G} +type=Creature +subtype=Elemental +power=3 +toughness=3 +[/card] +[card] +name=Skullmulcher Devour +auto=may moveTo(ownerhand) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,1,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222228) && draw:1 controller && bury all(this) +id=22222229 +auto=moveto(exile) +type=nothing +[/card] +[card] +name=Skullmulcher Devour Sac +auto=may moveTo(ownerhand) notatarget(creature[-counter{0/0.1.devour}]|mybattlefield) && counter(1/1,1,Devoured) all(creature[counter{0/0.1.devour}]) && token(22222228) && draw:1 controller && bury all(this) +auto=moveto(exile) +id=22222230 +type=nothing +[/card] +[card] name=Skulltap target=creature|myBattlefield auto=bury @@ -45639,6 +45823,19 @@ power=1 toughness=1 [/card] [card] +name=Thorn-Thrash Viashino +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222222) +auto={G}:trample +mana={3}{R} +type=Creature +subtype=Viashino Warrior +text=Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) -- {G}: Thorn-Thrash Viashino gains trample until end of turn. +power=2 +toughness=2 +[/card] +[card] name=Thought Courier auto={T}:token(-1111140) && draw:1 text={T}: Draw a card, then discard a card. @@ -45951,6 +46148,18 @@ power=2 toughness=1 [/card] [card] +name=Thunder-Thrash Elder +auto=counter(0/0,-1,devour) all(other creature) +auto=counter(0/0,1,devour) +auto=token(22222223) +mana={2}{R} +type=Creature +subtype=Viashino Warrior +text=Devour 3 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with three times that many +1/+1 counters on it.) +power=1 +toughness=1 +[/card] +[card] name=Tibor and Lumia auto=@movedTo(*[blue]|mystack):flying target(creature) ueot auto=@movedTo(*[red]|mystack):damage:1 all(creature[-flying]) diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index d3378c651..2413b6bdd 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -423,6 +423,7 @@ thallid.txt thellon_of_havenwood.txt threaten.txt throne_of_bone.txt +thunder-thrash_elder.txt titanic_ultimatum.txt torture.txt tranquil_domain.txt diff --git a/projects/mtg/bin/Res/test/thunder-thrash_elder.txt b/projects/mtg/bin/Res/test/thunder-thrash_elder.txt new file mode 100644 index 000000000..a0eaa8161 --- /dev/null +++ b/projects/mtg/bin/Res/test/thunder-thrash_elder.txt @@ -0,0 +1,33 @@ +#Testing Devour ability (Example: Thunder-Thrash Elder) +[init] +firstmain +[player1] +hand:Thunder-Thrash Elder +inplay:fervor,ornithopter,elvish berserker,grizzly bears +manapool:{2}{R} +[player2] +[do] +Thunder-Thrash Elder +choice 0 +ornithopter +choice 0 +elvish berserker +choice 1 +next +#begin +next +#attackers +Thunder-Thrash Elder +next +#blockers +next +#damage +[ASSERT] +COMBATDAMAGE +[PLAYER1] +graveyard:ornithopter,elvish berserker +inplay:fervor,Thunder-Thrash Elder,grizzly bears +manapool:{0} +[PLAYER2] +life:13 +[END] \ No newline at end of file