forked from External/mage
added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield
This commit is contained in:
parent
11a64a1c6a
commit
82f8a7cdee
35 changed files with 50 additions and 75 deletions
|
|
@ -134,7 +134,6 @@ class ExplorersScopeEffect extends OneShotEffect<ExplorersScopeEffect> {
|
|||
if (card.getCardType().contains(CardType.LAND)) {
|
||||
String message = "Put " + card.getName() + " onto the battlefield tapped?";
|
||||
if (player.chooseUse(Outcome.PutLandInPlay, message, game)) {
|
||||
player.getLibrary().remove(card.getId(), game);
|
||||
if (card.putOntoBattlefield(game, Zone.LIBRARY, source.getId(), source.getControllerId())) {
|
||||
Permanent permanent = game.getPermanent(card.getId());
|
||||
if (permanent != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue