From 7ea4258a211650c4eb0ff063d8eafb0ce5f22a07 Mon Sep 17 00:00:00 2001 From: Psyyringe Date: Sun, 8 Nov 2009 00:32:40 +0000 Subject: [PATCH] Psyringe - fixed a bug with Aura Mutation (INV) - it only targeted auras, but should target all enchantments. Test suite script for Aura Mutation has been added and activated. Please check, this is the first time I'm doing changes to a _cards.dat file. Also fixed a typo in Argothian Swine (USG) (missing capitalization) which caused the card not to be translated. --- projects/mtg/bin/Res/sets/INV/_cards.dat | 2 +- projects/mtg/bin/Res/sets/USG/_cards.dat | 2 +- projects/mtg/bin/Res/test/_tests.txt | 1 + projects/mtg/bin/Res/test/aura_mutation.txt | 29 +++++++++++++++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 projects/mtg/bin/Res/test/aura_mutation.txt diff --git a/projects/mtg/bin/Res/sets/INV/_cards.dat b/projects/mtg/bin/Res/sets/INV/_cards.dat index 0cd468146..72332a697 100644 --- a/projects/mtg/bin/Res/sets/INV/_cards.dat +++ b/projects/mtg/bin/Res/sets/INV/_cards.dat @@ -133,7 +133,7 @@ mana={R}{G} [card] text=Destroy target enchantment. Put X 1/1 green Saproling creature tokens onto the battlefield, where X is its converted mana cost. id=23184 -target=aura +target=enchantment alias=23195 name=Aura Mutation rarity=R diff --git a/projects/mtg/bin/Res/sets/USG/_cards.dat b/projects/mtg/bin/Res/sets/USG/_cards.dat index 83d514ca6..48e4c2c4d 100644 --- a/projects/mtg/bin/Res/sets/USG/_cards.dat +++ b/projects/mtg/bin/Res/sets/USG/_cards.dat @@ -86,7 +86,7 @@ abilities=shroud [card] text=Trample id=5862 -name=Argothian swine +name=Argothian Swine rarity=C mana={3}{G} type=Creature diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 75c492ab3..d6a126332 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -59,6 +59,7 @@ ascendant_evincar2.txt ascendant_evincar3.txt ashen_firebeast.txt ashen_firebeast2.txt +aura_mutation.txt barbed_sliver.txt basal_sliver.txt beacon_of_unrest.txt diff --git a/projects/mtg/bin/Res/test/aura_mutation.txt b/projects/mtg/bin/Res/test/aura_mutation.txt new file mode 100644 index 000000000..2ff06739b --- /dev/null +++ b/projects/mtg/bin/Res/test/aura_mutation.txt @@ -0,0 +1,29 @@ +#NAME: Aura Mutation +#DESC: Check targeting of Aura Mutation (id 23184) +#DESC: (Card was reported of not being +#DESC: able to target anything.) +[INIT] +firstmain +[PLAYER1] +inplay: +hand:23184,23184,Holy Strength +manapool:{W}{G}{W}{G}{W} +[PLAYER2] +inplay:Crusade,War Mammoth +[DO] +Holy Strength +War Mammoth +23184 +Holy Strength +23184 +Crusade +[ASSERT] +firstmain +[PLAYER1] +inplay:-23184,-23184,-23184 +hand: +graveyard:23184,23184,Holy Strength +[PLAYER2] +inplay:War Mammoth +graveyard:Crusade +[END]