Implemented Unexplained Vision

This commit is contained in:
Evan Kranzler 2019-09-18 10:09:23 -04:00
parent 0b4dd444a7
commit 0bb3caa950
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.u;
import mage.abilities.condition.common.AdamantCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.keyword.ScryEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class UnexplainedVision extends CardImpl {
public UnexplainedVision(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}");
// Draw three cards.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
// Adamant If at least three blue mana was spent to cast this spell, scry 3.
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
new ScryEffect(3), AdamantCondition.BLUE, "<br><i>Adamant</i> &mdash; " +
"If at least three blue mana was spent to cast this spell, scry 3."
));
}
private UnexplainedVision(final UnexplainedVision card) {
super(card);
}
@Override
public UnexplainedVision copy() {
return new UnexplainedVision(this);
}
}

View file

@ -220,6 +220,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
cards.add(new SetCardInfo("True Love's Kiss", 34, Rarity.COMMON, mage.cards.t.TrueLovesKiss.class));
cards.add(new SetCardInfo("Tuinvale Treefolk", 180, Rarity.COMMON, mage.cards.t.TuinvaleTreefolk.class));
cards.add(new SetCardInfo("Turn into a Pumpkin", 69, Rarity.UNCOMMON, mage.cards.t.TurnIntoAPumpkin.class));
cards.add(new SetCardInfo("Unexplained Vision", 70, Rarity.COMMON, mage.cards.u.UnexplainedVision.class));
cards.add(new SetCardInfo("Vantress Gargoyle", 71, Rarity.RARE, mage.cards.v.VantressGargoyle.class));
cards.add(new SetCardInfo("Vantress Paladin", 72, Rarity.COMMON, mage.cards.v.VantressPaladin.class));
cards.add(new SetCardInfo("Venerable Knight", 35, Rarity.UNCOMMON, mage.cards.v.VenerableKnight.class));