mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* 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:
parent
6daa90e449
commit
d511199566
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue