1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-12 01:01:04 -09:00

Fixed card "Insidious Dreams" ()

This commit is contained in:
Merlingilb 2022-12-22 03:25:38 +01:00 committed by GitHub
parent ef99ebb1b3
commit 8228c39c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,8 +68,7 @@ class InsidiousDreamsEffect extends OneShotEffect {
0, GetXValue.instance.calculate(game, source, this), StaticFilters.FILTER_CARD_CARDS
);
controller.searchLibrary(target, source, game);
Cards chosen = new CardsImpl();
target.getTargets().stream().forEach(cardId -> controller.getLibrary().getCard(cardId, game));
Cards chosen = new CardsImpl(target.getTargets());
controller.shuffleLibrary(source, game);
controller.putCardsOnTopOfLibrary(chosen, game, source, true);
return true;