forked from External/mage
* Fixed a lot of cards where hand or graveyard cards were moved to library without firing zone change events.
This commit is contained in:
parent
27d4e9fc37
commit
3afd378c2d
21 changed files with 126 additions and 74 deletions
|
|
@ -105,7 +105,9 @@ class MassPolymorphEffect extends OneShotEffect {
|
|||
for (Card creatureCard: creatureCards.getCards(game)) {
|
||||
creatureCard.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), source.getControllerId());
|
||||
}
|
||||
player.getLibrary().addAll(nonCreatureCards.getCards(game), game);
|
||||
for (Card card: nonCreatureCards.getCards(game)) {
|
||||
player.moveCardToLibraryWithInfo(card, source.getSourceId(), game, Zone.GRAVEYARD, true, true);
|
||||
}
|
||||
player.shuffleLibrary(game);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue