forked from External/mage
* Widespread Panic - Fixed that it also triggered if the library was shuffled by an ability controlled by another player (e.g. Knowledge Exploitation).
This commit is contained in:
parent
f95921cc73
commit
b86dd17c54
201 changed files with 340 additions and 247 deletions
|
|
@ -64,14 +64,14 @@ public class ShuffleIntoLibrarySourceEffect extends OneShotEffect {
|
|||
owner = game.getPlayer(((Permanent) mageObject).getOwnerId());
|
||||
if (owner != null) {
|
||||
owner.moveCardToLibraryWithInfo((Permanent)mageObject, source.getSourceId(), game, fromZone, true, true);
|
||||
owner.shuffleLibrary(game);
|
||||
owner.shuffleLibrary(source, game);
|
||||
return true;
|
||||
}
|
||||
} else if (mageObject instanceof Card) {
|
||||
owner = game.getPlayer(((Card) mageObject).getOwnerId());
|
||||
if (owner != null) {
|
||||
owner.moveCardToLibraryWithInfo((Card)mageObject, source.getSourceId(), game, fromZone, true, true);
|
||||
owner.shuffleLibrary(game);
|
||||
owner.shuffleLibrary(source, game);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue