JON4TH4N - fixed (ZEN) Hideous End and similar card, there is a bug on targetcontroller, test included

This commit is contained in:
leungclj
2009-10-30 17:54:48 +00:00
parent 3919b1cf1d
commit 9e608d10b1
7 changed files with 78 additions and 6 deletions

View File

@@ -975,8 +975,7 @@ toughness=3
text=Destroy target creature. Its owner gains 4 life.
id=4389
target=creature
auto=destroy
auto=life:4 targetController
auto=destroy && life:4 targetController
name=Path of Peace
rarity=C
mana={3}{W}

View File

@@ -812,8 +812,7 @@ subtype=Aura
text=Destroy target creature. Its owner gains 4 life.
id=5684
target=creature
auto=destroy
auto=life:4 targetController
auto=destroy && life:4 targetController
name=Path of Peace
rarity=C
mana={3}{W}

View File

@@ -466,8 +466,7 @@ toughness=1
[card]
text=Destroy target nonblack creature. Its controller loses 2 life.
target=creature[-black]
auto=destroy
auto=life:-2 targetController
auto=destroy && life:-2 targetController
id=180435
name=Hideous End
rarity=C

View File

@@ -27,6 +27,9 @@ generic/rampage2.txt
generic/regenerate.txt
generic/sacrifice.txt
generic/summoning_sickness.txt
generic/targetController_life.txt
generic/targetController_life2.txt
generic/targetController_damage.txt
generic/tokens.txt
generic/wither.txt
########################

View File

@@ -0,0 +1,24 @@
# Will targetController deal damage even not followed by &&?
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Poison the Well,Poison the Well
inplay:Island
manapool:{B}{B}{B}{B}{B}{B}{B}{B}
[PLAYER2]
inplay:Forest
[DO]
Poison the Well
Island
Poison the Well
Forest
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:Poison the Well,Poison the Well,Island
manapool:{0}
life:18
[PLAYER2]
graveyard:Forest
life:18
[END]

View File

@@ -0,0 +1,24 @@
#Bug: targetController + life will not function if not followed by &&
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Hideous End,Hideous End
inplay:Kraken Hatchling
manapool:{B}{B}{B}{B}{B}{B}
[PLAYER2]
inplay:Grizzly Bears
[DO]
Hideous End
Grizzly Bears
Hideous End
Kraken Hatchling
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:Hideous End,Hideous End,Kraken Hatchling
manapool:{0}
life:18
[PLAYER2]
graveyard:Grizzly Bears
life:18
[END]

View File

@@ -0,0 +1,24 @@
#Bug: targetController + life will not function if not followed by &&
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Path of Peace,Path of Peace
inplay:Kraken Hatchling
manapool:{W}{W}{W}{W}{W}{W}{W}{W}
[PLAYER2]
inplay:Grizzly Bears
[DO]
Path of Peace
Grizzly Bears
Path of Peace
Kraken Hatchling
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:Path of Peace,Path of Peace,Kraken Hatchling
manapool:{0}
life:24
[PLAYER2]
graveyard:Grizzly Bears
life:24
[END]