forked from External/mage
[LCI] Implement Curator of Sun's Creation
This commit is contained in:
parent
77408164f1
commit
bc335b949b
6 changed files with 155 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ import mage.filter.FilterCard;
|
|||
import mage.filter.common.FilterNonlandCard;
|
||||
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.DiscoverEvent;
|
||||
import mage.players.Player;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
|
|
@ -82,6 +83,7 @@ public class DiscoverEffect extends OneShotEffect {
|
|||
}
|
||||
cards.retainZone(Zone.EXILED, game);
|
||||
player.putCardsOnBottomOfLibrary(cards, game, source, false);
|
||||
game.fireEvent(new DiscoverEvent(source, player.getId(), amount));
|
||||
return card;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue