google-code-export / wagic

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

Autolines with "xxx targetController" do not work when used for spells which target spells on the stack. #408

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Cast Undermine or Punish Ignorance on a spell on the stack.
2. Your spell resolves, your opponents spell gets countered.

What is the expected output? What do you see instead?

Opponent does NOT lose 3 life, instead YOU lose 3 life.

Please use labels and text to provide additional information.

Autolines with "targetController" do not work, spells with "controller" work.

Original issue reported on code.google.com by dan.solo...@googlemail.com on 3 May 2010 at 6:46

GoogleCodeExporter commented 9 years ago
To reproduce:
replace "opponent" with targetController in the code of undermine ("opponent" 
is a clever workaround used for now)

try this test:
#Testing undermine on bad moon
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Bad Moon
manapool:{1}{B}
[PLAYER2]
hand:Undermine
manapool:{U}{U}{B}
[DO]
Bad Moon
no
yes
Undermine
Bad Moon
endinterruption
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:Bad Moon
life:17
[PLAYER2]
graveyard:Undermine
[END]

Original comment by wagic.the.homebrew@gmail.com on 26 Sep 2010 at 12:16

GoogleCodeExporter commented 9 years ago
fixed in r2335

Original comment by wagic.the.homebrew@gmail.com on 26 Sep 2010 at 12:59