mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix Exhume
Set the "notTarget" flag for the ability to allow it to work under cards restricting targeting of cards in graveyards.
This commit is contained in:
parent
9f6e522969
commit
9dbd1e8b41
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class ExhumeEffect extends OneShotEffect {
|
|||
FilterCreatureCard filterCreatureCard = new FilterCreatureCard("creature card from your graveyard");
|
||||
filterCreatureCard.add(new OwnerIdPredicate(playerId));
|
||||
TargetCardInGraveyard target = new TargetCardInGraveyard(filterCreatureCard);
|
||||
target.setNotTarget(true);
|
||||
if (target.canChoose(playerId, game)
|
||||
&& player.chooseTarget(outcome, target, source, game)) {
|
||||
Card card = game.getCard(target.getFirstTarget());
|
||||
|
|
Loading…
Reference in a new issue