Psyringe - fix for issue 217. Curiosity now works correctly by means of the new mytgt keyword. Test scripts which check the behavior of Curiosity when cast an one's own creature, and when cast on an opponent's creature, have been added.

This commit is contained in:
Psyyringe
2009-11-26 07:16:17 +00:00
parent 89e894da75
commit 2175359378
4 changed files with 71 additions and 1 deletions
@@ -0,0 +1,30 @@
#NAME: Curiosity 1
#DESC: Bug: does not make the player draw
#DESC: a card when it damages the opponent
#DESC: See http://code.google.com/p/wagic/issues/detail?id=217
[INIT]
firstmain
[PLAYER1]
inplay:Craw Wurm
hand:Curiosity
library:Forest
manapool:{U}
[PLAYER2]
[DO]
Curiosity
Craw Wurm
next
next
Craw Wurm
next
next
choice 0
next
[ASSERT]
combatend
[PLAYER1]
inplay:Craw Wurm,Curiosity
hand:Forest
[PLAYER2]
life:14
[END]