mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Implemented Unexplained Vision
This commit is contained in:
parent
0b4dd444a7
commit
0bb3caa950
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/u/UnexplainedVision.java
Normal file
39
Mage.Sets/src/mage/cards/u/UnexplainedVision.java
Normal 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> — " +
|
||||
"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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue