TargetCard target = new TargetCard(Zone.PICK, new FilterCard("card to put into your hand"));
if (player.choose(Outcome.DrawCard, cards, target, game)) {
Card card = cards.get(target.getFirstTarget(), game);
if (card != null) {
cards.remove(card);
card.moveToZone(Zone.HAND, source.getSourceId(), game, false);
game.informPlayers(sourceObject.getName() + ": " + player.getName() + " puts a card into his or her hand");
}
}
target = new TargetCard(Zone.PICK, new FilterCard("card to put on the bottom of your library"));