mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Some updates to Whirlpool Rider.
This commit is contained in:
parent
8b4a74bc0d
commit
aa8c72cb0c
1 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue