[BRO] Implement The Temporal Anchor

This commit is contained in:
Evan Kranzler 2022-11-08 08:31:12 -05:00
parent accc5d2d0b
commit 4cb8466d07
4 changed files with 174 additions and 1 deletions

View file

@ -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);
}