* Lurking Predator - Fixed a bug that the a craeture card put on the battlfield was not removed from library and therefore doubled in the deck.

This commit is contained in:
LevelX2 2013-12-24 13:04:28 +01:00
parent 6daa90e449
commit d511199566

View file

@ -99,9 +99,10 @@ class LurkingPredatorsEffect extends OneShotEffect<LurkingPredatorsEffect> {
if (card != null) {
if (card.getCardType().contains(CardType.CREATURE)) {
card.putOntoBattlefield(game, Zone.HAND, source.getId(), source.getControllerId());
card = player.getLibrary().removeFromTop(game);
card.putOntoBattlefield(game, Zone.HAND, source.getSourceId(), source.getControllerId());
} else if (player.chooseUse(Outcome.Neutral, "Put " + card.getName() + " on the bottom of your library?", game)) {
card.moveToZone(Zone.LIBRARY, source.getId(), game, false);
card.moveToZone(Zone.LIBRARY, source.getSourceId(), game, false);
}
}
}