1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-12 09:11:05 -09:00

* Infinite Obliteration - Fixed that the cards from players library were not exiled (also realted to other cards that use that effect class).

This commit is contained in:
LevelX2 2015-10-23 18:33:31 +02:00
parent f14cbb7f36
commit 3f8ae0cf61

View file

@ -115,7 +115,7 @@ public abstract class SearchTargetGraveyardHandLibraryForCardNameAndExileEffect
filter.setMessage("card named " + cardName + " in the library of " + targetPlayer.getLogName());
TargetCardInLibrary targetLib = new TargetCardInLibrary(0, cardsCount, filter);
if (controller.choose(Outcome.Exile, cardsInLibrary, targetLib, game)) {
controller.moveCards(new CardsImpl(target.getTargets()), Zone.EXILED, source, game);
controller.moveCards(new CardsImpl(targetLib.getTargets()), Zone.EXILED, source, game);
}
targetPlayer.shuffleLibrary(game);
}