Fix Aether Rift (#10322)

This commit is contained in:
xenohedron 2023-05-07 13:29:37 -04:00 committed by GitHub
parent b534a3f6a2
commit 4ace6defde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;