mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Maralen of the Mornsong - Fixed the bugged card moving to hand.
This commit is contained in:
parent
69340d9b06
commit
b5123883ff
1 changed files with 3 additions and 6 deletions
|
@ -34,9 +34,9 @@ import mage.abilities.common.BeginningOfDrawTriggeredAbility;
|
|||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.ContinuousRuleModifyingEffectImpl;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.cards.CardsImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Outcome;
|
||||
|
@ -131,10 +131,7 @@ class MaralenOfTheMornsongEffect2 extends OneShotEffect {
|
|||
player.loseLife(3, game, false);
|
||||
TargetCardInLibrary target = new TargetCardInLibrary();
|
||||
if (player.searchLibrary(target, game)) {
|
||||
for (UUID cardId : target.getTargets()) {
|
||||
Card card = player.getLibrary().getCard(cardId, game);
|
||||
player.putInHand(card, game);
|
||||
}
|
||||
player.moveCards(new CardsImpl(target.getTargets()), Zone.HAND, source, game);
|
||||
}
|
||||
player.shuffleLibrary(source, game);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue