*Draft - Non hidden picked cards go to the deck. Hidden cards to sideboard.

This commit is contained in:
LevelX2 2014-11-23 18:43:31 +01:00
parent b0238b402e
commit c22b54d262
13 changed files with 53 additions and 22 deletions

View file

@ -1716,10 +1716,10 @@ public class ComputerPlayer extends PlayerImpl implements Player {
}
}
log.debug("[DEBUG] AI picked: " + bestCard.getName() + ", score=" + maxScore + ", deck colors=" + colors);
draft.addPick(playerId, bestCard.getId());
draft.addPick(playerId, bestCard.getId(), null);
} catch (Exception e) {
e.printStackTrace();
draft.addPick(playerId, cards.get(0).getId());
draft.addPick(playerId, cards.get(0).getId(), null);
}
}