Fix for issue 647 (Evil Presence cast on a swamp removes mana ability)

This commit is contained in:
wagic.the.homebrew
2011-05-08 09:06:56 +00:00
parent b2ba514d7a
commit 2c0b5baab7
10 changed files with 111 additions and 15 deletions
+2
View File
@@ -260,6 +260,8 @@ erg_raiders_i157.txt
evil_presence.txt
evil_presence2.txt
evil_presence3.txt
evil_presence_i647.txt
evil_presence_i647_2.txt
explore.txt
Faceless_Butcher.txt
fangren_pathcutter.txt
@@ -0,0 +1,21 @@
#Testing Evil Presence on a swamp...it should have no visible effect
# Bug: it removes the swamp's ability
#see http://code.google.com/p/wagic/issues/detail?id=647
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Evil Presence
inplay:Swamp
manapool:{B}
[PLAYER2]
[DO]
Evil Presence
Swamp
Swamp
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Swamp,Evil Presence
manapool:{B}
[PLAYER2]
[END]
@@ -0,0 +1,33 @@
#Testing Evil Presence on a swamp...it should have no visible effect
# Bug: it removes the swamp's ability
#In thistest we make sure we don't get a crash during the next turn, when abilities are added/removed from different sources
#see http://code.google.com/p/wagic/issues/detail?id=647
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Evil Presence, Disenchant
inplay:Swamp,Forest,Plains
manapool:{B}
[PLAYER2]
[DO]
Evil Presence
Swamp
eot
eot
next
#upkeep
next
#draw
next
#main
Forest
Plains
Disenchant
Evil Presence
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Swamp,Forest,Plains
graveyard:Evil Presence,disenchant
[PLAYER2]
[END]