* Added Dream Halls and Curse of chain (and what was neccessary to get Dream Hall costs to work).

This commit is contained in:
LevelX2 2014-07-27 11:22:22 +02:00
parent f86ef6f625
commit c8d76cdaaf
18 changed files with 299 additions and 32 deletions

View file

@ -224,7 +224,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
}
if (target instanceof TargetCardInHand) {
List<Card> cards = new ArrayList<>();
for (UUID cardId: ((TargetCardInHand)target).possibleTargets(this.getId(), hand, game)) {
for (UUID cardId: ((TargetCardInHand)target).possibleTargets(sourceId, this.getId(), game)) {
Card card = game.getCard(cardId);
if (card != null) {
cards.add(card);