mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* 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:
parent
be063b9c8f
commit
6c90eb1b3c
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue