mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
* The Deck of Many Things - fixed that it can choose card without random on 1-9 (#8254);
This commit is contained in:
parent
ce2f166c53
commit
8b50f24afb
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ class TheDeckOfManyThingsRandomEffect extends OneShotEffect {
|
||||||
TargetCard target = new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD);
|
TargetCard target = new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD);
|
||||||
target.setRandom(true);
|
target.setRandom(true);
|
||||||
target.setNotTarget(true);
|
target.setNotTarget(true);
|
||||||
player.chooseTarget(outcome, target, source, game);
|
target.chooseTarget(outcome, player.getId(), source, game);
|
||||||
|
|
||||||
Card card = game.getCard(target.getFirstTarget());
|
Card card = game.getCard(target.getFirstTarget());
|
||||||
return card != null && player.moveCards(card, Zone.HAND, source, game);
|
return card != null && player.moveCards(card, Zone.HAND, source, game);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue