added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield

This commit is contained in:
BetaSteward 2012-03-05 09:15:47 -05:00
parent 11a64a1c6a
commit 82f8a7cdee
35 changed files with 50 additions and 75 deletions

View file

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