From 15ce94ceafe62cd1f906c7c15b5ce69251894f9e Mon Sep 17 00:00:00 2001 From: Psyyringe Date: Thu, 26 Nov 2009 00:21:09 +0000 Subject: [PATCH] Psyringe - fixed Dark Banishing (MIR). The bug has been reported before, but it only occurred on the MIR version of the card, which is the reason why it eluded us so far (the ICE and TMP versions work correctly). --- projects/mtg/bin/Res/sets/MIR/_cards.dat | 3 ++- projects/mtg/bin/Res/test/_tests.txt | 1 + projects/mtg/bin/Res/test/dark_banishing.txt | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 projects/mtg/bin/Res/test/dark_banishing.txt diff --git a/projects/mtg/bin/Res/sets/MIR/_cards.dat b/projects/mtg/bin/Res/sets/MIR/_cards.dat index 86d3af19e..8d460a342 100644 --- a/projects/mtg/bin/Res/sets/MIR/_cards.dat +++ b/projects/mtg/bin/Res/sets/MIR/_cards.dat @@ -232,7 +232,8 @@ toughness=1 text=Destroy target nonblack creature. It can't be regenerated. id=3284 name=Dark Banishing -auto=bury target(creature[-black]) +target=creature[-black] +auto=bury rarity=C mana={2}{B} type=Instant diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index b6fbf7e88..74249c0b2 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -118,6 +118,7 @@ creature_bond.txt crimson_kobolds.txt crumble.txt crystal_rod_i172.txt +dark_banishing.txt dauntless_escort.txt dauthi_embrace.txt death_ward.txt diff --git a/projects/mtg/bin/Res/test/dark_banishing.txt b/projects/mtg/bin/Res/test/dark_banishing.txt new file mode 100644 index 000000000..e23b4251b --- /dev/null +++ b/projects/mtg/bin/Res/test/dark_banishing.txt @@ -0,0 +1,20 @@ +#NAME: Dark Banishing +#DESC: Bug: Dark Banishing (MIR) goes directly +#DESC: to the graveyard, you cannot choose a +#DESC: target. +[INIT] +firstmain +[PLAYER1] +inplay:Grizzly Bears +hand:3284 +manapool:{B}{B}{B} +[PLAYER2] +[DO] +3284 +Grizzly Bears +[ASSERT] +firstmain +[PLAYER1] +graveyard:3284,Grizzly Bears +[PLAYER2] +[END]