Implemented Scour All Possibilities

This commit is contained in:
Evan Kranzler 2019-05-21 19:34:08 -04:00
parent f63cbc6938
commit f92be75292
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.s;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.keyword.ScryEffect;
import mage.abilities.keyword.FlashbackAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TimingRule;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ScourAllPossibilities extends CardImpl {
public ScourAllPossibilities(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}");
// Scry 2, then draw a card.
this.getSpellAbility().addEffect(new ScryEffect(2).setText("scry 2,"));
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy("then"));
// Flashback {4}{U}
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{U}"), TimingRule.SORCERY));
}
private ScourAllPossibilities(final ScourAllPossibilities card) {
super(card);
}
@Override
public ScourAllPossibilities copy() {
return new ScourAllPossibilities(this);
}
}

View file

@ -53,6 +53,7 @@ public final class ModernHorizons extends ExpansionSet {
cards.add(new SetCardInfo("Pondering Mage", 63, Rarity.COMMON, mage.cards.p.PonderingMage.class));
cards.add(new SetCardInfo("Prismatic Vista", 244, Rarity.RARE, mage.cards.p.PrismaticVista.class));
cards.add(new SetCardInfo("Prohibit", 64, Rarity.COMMON, mage.cards.p.Prohibit.class));
cards.add(new SetCardInfo("Scour All Possibilities", 67, Rarity.COMMON, mage.cards.s.ScourAllPossibilities.class));
cards.add(new SetCardInfo("Seasoned Pyromancer", 145, Rarity.MYTHIC, mage.cards.s.SeasonedPyromancer.class));
cards.add(new SetCardInfo("Serra the Benevolent", 26, Rarity.MYTHIC, mage.cards.s.SerraTheBenevolent.class));
cards.add(new SetCardInfo("Silent Clearing", 246, Rarity.RARE, mage.cards.s.SilentClearing.class));