diff --git a/Mage.Sets/src/mage/sets/magic2013/MwonvuliBeastTracker.java b/Mage.Sets/src/mage/sets/magic2013/MwonvuliBeastTracker.java index 41fbf1cbd14..ffc1ab313df 100644 --- a/Mage.Sets/src/mage/sets/magic2013/MwonvuliBeastTracker.java +++ b/Mage.Sets/src/mage/sets/magic2013/MwonvuliBeastTracker.java @@ -72,7 +72,7 @@ public class MwonvuliBeastTracker extends CardImpl { this.toughness = new MageInt(1); // When Mwonvuli Beast Tracker enters the battlefield, search your library for a creature card with deathtouch, hexproof, reach, or trample and reveal it. Shuffle your library and put that card on top of it. - this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter)))); + this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true))); } public MwonvuliBeastTracker(final MwonvuliBeastTracker card) { diff --git a/Mage/src/mage/abilities/effects/common/search/SearchLibraryPutOnLibraryEffect.java b/Mage/src/mage/abilities/effects/common/search/SearchLibraryPutOnLibraryEffect.java index 742cd1f48ee..c15afd73bdd 100644 --- a/Mage/src/mage/abilities/effects/common/search/SearchLibraryPutOnLibraryEffect.java +++ b/Mage/src/mage/abilities/effects/common/search/SearchLibraryPutOnLibraryEffect.java @@ -36,6 +36,8 @@ import mage.Constants.Zone; import mage.abilities.Ability; import mage.abilities.effects.SearchEffect; import mage.cards.Card; +import mage.cards.Cards; +import mage.cards.CardsImpl; import mage.game.Game; import mage.players.Player; import mage.target.common.TargetCardInLibrary; @@ -45,14 +47,25 @@ import mage.target.common.TargetCardInLibrary; * @author BetaSteward_at_googlemail.com */ public class SearchLibraryPutOnLibraryEffect extends SearchEffect { + + private boolean reveal; + private boolean forceShuffle; public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target) { + this(target, false, true); + setText(); + } + + public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target, boolean reveal, boolean forceShuffle) { super(target, Outcome.DrawCard); + this.reveal = reveal; + this.forceShuffle = forceShuffle; setText(); } public SearchLibraryPutOnLibraryEffect(final SearchLibraryPutOnLibraryEffect effect) { super(effect); + this.reveal = effect.reveal; } @Override @@ -72,14 +85,22 @@ public class SearchLibraryPutOnLibraryEffect extends SearchEffect