novendraap / androminion

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

Playing Band of Misfits as Armory does not topdeck gained card #581

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Play Band of Misfits and choose Armory to emulate
2.Choose card to gain
3.Notice that card isn't in hand next turn

What is the expected output? What do you see instead?
Card should be placed on top of deck rather than in the discard. This also 
occurs with cards gained when emulating Develop. I imagine it could happen with 
Treasure Map and Tournament as well (untested).

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Thomas.S...@gmail.com on 3 Aug 2013 at 4:13

GoogleCodeExporter commented 8 years ago
Happens with Bureaucrat as well.

Original comment by Thomas.S...@gmail.com on 3 Aug 2013 at 4:21

GoogleCodeExporter commented 8 years ago
At r783 tkdennis changed  this  to  this.controlCard, were 
this.controlCard=bandOfMisfits. Calls like  
currentPlayer.gainNewCard(Cards.silver, this.controlCard, context)  in 
ActionCardImpl.java doesn't work any more because of  Card r = 
event.responsible;  in initGameListener(). Is  this.controlCard  really 
necessary?

Changed back to  this  instead of  this.controlCard  in r916 to solve this 
issue.
Perhaps there is another problem now.

Original comment by andromin...@gmail.com on 15 Mar 2015 at 10:51