Some updates to Whirlpool Rider.

This commit is contained in:
LevelX2 2014-08-27 22:41:01 +02:00
parent 8b4a74bc0d
commit aa8c72cb0c

View file

@ -94,12 +94,9 @@ class WhirlpoolRiderTriggeredEffect extends OneShotEffect {
if (controller != null) {
int cardsHand = controller.getHand().size();
if (cardsHand > 0) {
Cards cards = controller.getHand().copy();
for (UUID cardId: cards) {
Card card = game.getCard(cardId);
for (Card card: controller.getHand().getCards(game)) {
if (card != null) {
controller.removeFromHand(card, game);
card.moveToZone(Zone.LIBRARY, source.getSourceId(), game, true);
controller.moveCardToLibraryWithInfo(card, source.getSourceId(), game, Zone.HAND, true, false);
}
}
controller.shuffleLibrary(game);