mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fix Aether Rift (#10322)
This commit is contained in:
parent
b534a3f6a2
commit
4ace6defde
1 changed files with 1 additions and 1 deletions
|
@ -67,9 +67,9 @@ class AetherRiftEffect extends OneShotEffect {
|
||||||
Card card = controller.discardOne(true, false, source, game);
|
Card card = controller.discardOne(true, false, source, game);
|
||||||
if (card != null && card.isCreature(game)) {
|
if (card != null && card.isCreature(game)) {
|
||||||
Effect returnEffect = new ReturnFromGraveyardToBattlefieldTargetEffect();
|
Effect returnEffect = new ReturnFromGraveyardToBattlefieldTargetEffect();
|
||||||
returnEffect.setTargetPointer(new FixedTarget(card.getId(), game));
|
|
||||||
Effect doEffect = new DoUnlessAnyPlayerPaysEffect(returnEffect, new PayLifeCost(5),
|
Effect doEffect = new DoUnlessAnyPlayerPaysEffect(returnEffect, new PayLifeCost(5),
|
||||||
"Pay 5 life to prevent " + card.getLogName() + " to return from graveyard to battlefield?");
|
"Pay 5 life to prevent " + card.getLogName() + " to return from graveyard to battlefield?");
|
||||||
|
doEffect.setTargetPointer(new FixedTarget(card.getId(), game));
|
||||||
return doEffect.apply(game, source);
|
return doEffect.apply(game, source);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue