From dc5195a475222faa2372078b0e45fbd10d3d651e Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Sat, 14 Nov 2009 12:54:09 +0000 Subject: [PATCH] Erwan -Fix alluring Siren (issue 177) --- projects/mtg/bin/Res/sets/M10/_cards.dat | 2 +- projects/mtg/bin/Res/test/_tests.txt | 1 + projects/mtg/bin/Res/test/alluring_siren.txt | 23 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 projects/mtg/bin/Res/test/alluring_siren.txt diff --git a/projects/mtg/bin/Res/sets/M10/_cards.dat b/projects/mtg/bin/Res/sets/M10/_cards.dat index d7af2ad44..05b6286db 100644 --- a/projects/mtg/bin/Res/sets/M10/_cards.dat +++ b/projects/mtg/bin/Res/sets/M10/_cards.dat @@ -43,7 +43,7 @@ subtype=Siren power=1 toughness=1 text={T}: Target creature an opponent controls attacks you this turn if able. -auto={T}:target(creature|opponentinplay) mustattack +auto={T}:mustattack target(creature|opponentinplay) rarity=U [/card] [card] diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 58d8c42d4..c544497c8 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -45,6 +45,7 @@ generic/wither.txt act_of_treason.txt afflict.txt akron_legionnaire.txt +alluring_siren.txt Amugaba.txt anarchy.txt ancestors_chosen.txt diff --git a/projects/mtg/bin/Res/test/alluring_siren.txt b/projects/mtg/bin/Res/test/alluring_siren.txt new file mode 100644 index 000000000..471fa2b9c --- /dev/null +++ b/projects/mtg/bin/Res/test/alluring_siren.txt @@ -0,0 +1,23 @@ +#Bug: Alluring Siren's ability doesn't work +# http://code.google.com/p/wagic/issues/detail?id=177 +[INIT] +FIRSTMAIN +[PLAYER1] +inplay:grizzly bears +[PLAYER2] +inplay:alluring siren +[DO] +next +yes +alluring siren +grizzly bears +endinterruption +eot +[ASSERT] +UNTAP +[PLAYER1] +inplay:grizzly bears +[PLAYER2] +inplay:alluring siren +life:18 +[END] \ No newline at end of file