Fixed Manipulate Fate
-
package mage.cards.m;
import mage.abilities.Ability;
-import mage.abilities.effects.Effect;
import mage.abilities.effects.SearchEffect;
-import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.cards.Card;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@@ -27,14 +24,9 @@ public final class ManipulateFate extends CardImpl {
public ManipulateFate(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}");
-
// Search your library for three cards, exile them, then shuffle your library.
this.getSpellAbility().addEffect(new ManipulateFateEffect());
- // Draw a card.
- Effect effect = new DrawCardSourceControllerEffect(1);
- effect.setText("Draw a card.");
- this.getSpellAbility().addEffect(effect);
}
public ManipulateFate(final ManipulateFate card) {
@@ -51,7 +43,8 @@ class ManipulateFateEffect extends SearchEffect {
ManipulateFateEffect() {
super(new TargetCardInLibrary(3, new FilterCard()), Outcome.Benefit);
- staticText = "Search your library for three cards, exile them, then shuffle your library.";
+ staticText = "Search your library for three cards, exile them, "
+ + "then shuffle your library. Draw a card";
}
ManipulateFateEffect(final ManipulateFateEffect effect) {
@@ -74,9 +67,10 @@ class ManipulateFateEffect extends SearchEffect {
card.moveToExile(null, null, targetId, game);
}
}
- return true;
}
player.shuffleLibrary(source, game);
+ player.drawCards(1, game);
+ return true;
}
return false;
}
