greenpiece / androminion

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

When I attacked and other player reactions by secret chamber, my played area displays secret chamber as if I have played it. #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I play attack card.(Ambassador, Swindler and Thief were confirmed.)
2. Other player reactions by Secret Chamber.

What is the expected output? What do you see instead?
Played area displays Secret Chamber. But I don't play Secret Chamber.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ksuke...@gmail.com on 25 Dec 2011 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by ksuke...@gmail.com on 25 Dec 2011 at 1:39

GoogleCodeExporter commented 9 years ago
r186 was wrong... Not fixed yet.

Reactioning secret chamber and horse traders fire PlayingAction type GameEvent 
and are considered as PlayingAction in event handling.
This is cause of this issue.
Existing event types are not suitable for reaction use of secret chamber and 
horse traders, I think.(PlayerDefended is near?)
Should we introduce new event type?

Original comment by ksuke...@gmail.com on 26 Dec 2011 at 5:25

GoogleCodeExporter commented 9 years ago
removed "PlayingAction" event in r232 -- only fires "CardRevealed" anymore [ 
and PlayerDefended if moat was played ].  That should be sufficient given the 
text on the cards [ reveal this, if you do ... ].

Original comment by mooht...@gmail.com on 3 Jan 2012 at 3:34