* Changed the method for step end processing of spells with multiple steps (608.2) from game.applyEffects() to game.getState().processAction(game);

Added d8fb962 change for two more effects.
This commit is contained in:
LevelX2 2020-06-09 14:49:46 +02:00
parent be063b9c8f
commit 6c90eb1b3c
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ public class ExileAndGainLifeEqualPowerTargetEffect extends OneShotEffect {
if (player != null) {
int creaturePower = permanent.getPower().getValue();
permanent.moveToExile(null, null, source.getSourceId(), game);
game.applyEffects();
game.getState().processAction(game);
player.gainLife(creaturePower, game, source);
}
return true;

View file

@ -36,7 +36,7 @@ public class ShuffleHandIntoLibraryDrawThatManySourceEffect extends OneShotEffec
if (cardsHand > 0) {
controller.moveCards(controller.getHand(), Zone.LIBRARY, source, game);
controller.shuffleLibrary(source, game);
game.applyEffects(); // then
game.getState().processAction(game); // then
controller.drawCards(cardsHand, source.getSourceId(), game);
}
return true;