mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
[BRO] Implement The Temporal Anchor
This commit is contained in:
parent
accc5d2d0b
commit
4cb8466d07
4 changed files with 174 additions and 1 deletions
|
|
@ -4989,6 +4989,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
+ " to PUT on the BOTTOM of your library (Scry)"));
|
||||
chooseTarget(Outcome.Benefit, cards, target, source, game);
|
||||
putCardsOnBottomOfLibrary(new CardsImpl(target.getTargets()), game, source, true);
|
||||
if (!target.getTargets().isEmpty()) {
|
||||
game.fireEvent(GameEvent.getEvent(
|
||||
GameEvent.EventType.SCRY_TO_BOTTOM, getId(),
|
||||
source, getId(), target.getTargets().size()
|
||||
));
|
||||
}
|
||||
cards.removeIf(target.getTargets()::contains);
|
||||
putCardsOnTopOfLibrary(cards, game, source, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue