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) { if (controller != null) {
int cardsHand = controller.getHand().size(); int cardsHand = controller.getHand().size();
if (cardsHand > 0) { if (cardsHand > 0) {
Cards cards = controller.getHand().copy(); for (Card card: controller.getHand().getCards(game)) {
for (UUID cardId: cards) {
Card card = game.getCard(cardId);
if (card != null) { if (card != null) {
controller.removeFromHand(card, game); controller.moveCardToLibraryWithInfo(card, source.getSourceId(), game, Zone.HAND, true, false);
card.moveToZone(Zone.LIBRARY, source.getSourceId(), game, true);
} }
} }
controller.shuffleLibrary(game); controller.shuffleLibrary(game);