* The Deck of Many Things - fixed that it can choose card without random on 1-9 (#8254);

This commit is contained in:
Oleg Agafonov 2021-09-14 01:03:15 +04:00
parent ce2f166c53
commit 8b50f24afb

View file

@ -114,7 +114,8 @@ class TheDeckOfManyThingsRandomEffect extends OneShotEffect {
TargetCard target = new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD);
target.setRandom(true);
target.setNotTarget(true);
player.chooseTarget(outcome, target, source, game);
target.chooseTarget(outcome, player.getId(), source, game);
Card card = game.getCard(target.getFirstTarget());
return card != null && player.moveCards(card, Zone.HAND, source, game);
}