sgastudio / wagic

Automatically exported from code.google.com/p/wagic
Other
0 stars 0 forks source link

Miscalculated P/T reduction from lord ability with transforms ability #946

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Cast Turn to Frog to Serra Angel with Crusade in play

What is the expected output? What do you see instead?
Serra Angel must become a 1/1 blue frog, instead it becomes 0/0 due to Crusade. 
Removing Crusade in sample test below will be a succesful test.

#Testing Turn to Frog to Serra Angel with Crusade in play.
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Serra Angel,Crusade
hand:Turn to Frog
manapool:{1}{U}
[PLAYER2]
[DO]
Turn to Frog
Serra Angel
next
next
eot
next
next
next
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:*,*
graveyard:Turn to Frog
manapool:{0}
[END]

Please use labels and text to provide additional information.
Crusade removes a 1/1 to Serra Angel that becomes a 1/1 blue frog since its no 
longer white making it a 0/0. 

Original issue reported on code.google.com by anthonyc...@gmail.com on 2 Apr 2013 at 6:18

GoogleCodeExporter commented 9 years ago
Another example test using Biomass Mutation, Lifelace, Bad Moon and Black 
Knight.
Have Black Knight, Bad Moon in play, cast Biomass Mutation with 3 green mana, 
making Black Knight a 1/1 Black Knight. Turning it to green using Lifelace must 
make it a 1/1 green Black Knight. Instead it dies from Bad Moon. but Bad Moon 
ability was to add a 1/1 if its black creature, if its not then do nothing, not 
remove a 1/1.

#sample layer of effects limitation.
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Black Knight,Bad Moon,Forest
hand:Biomass Mutation,Lifelace
manapool:{G}{G}{G}
[PLAYER2]
[DO]
Biomass Mutation
Forest
Lifelace
Black Knight
next
next
eot
next
next
next
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:*,*,*
graveyard:*,*
manapool:{0}
[END]

Original comment by anthonyc...@gmail.com on 2 Apr 2013 at 6:46

GoogleCodeExporter commented 9 years ago
i see, good repros on it. i see whats happening. it has to do with the layers 
system and setting power and toughness.

the turn to frog resolves, it can no longer be targeted so the abilities layer 
tries to remove the 1/1 it was giving it. causing it to die. this will have to 
be something we look into after next release. to risky to fix right now. 

Original comment by omegabla...@gmail.com on 12 Apr 2013 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by pank...@gmail.com on 28 Sep 2013 at 12:00