mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[STX] Implemented Vanishing Verse
This commit is contained in:
parent
316155e2bc
commit
e7176d2627
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/v/VanishingVerse.java
Normal file
40
Mage.Sets/src/mage/cards/v/VanishingVerse.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.v;
|
||||
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.mageobject.MonocoloredPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class VanishingVerse extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent("monocolored permanent");
|
||||
|
||||
static {
|
||||
filter.add(MonocoloredPredicate.instance);
|
||||
}
|
||||
|
||||
public VanishingVerse(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}{B}");
|
||||
|
||||
// Exile target monocolored permanent.
|
||||
this.getSpellAbility().addEffect(new ExileTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
}
|
||||
|
||||
private VanishingVerse(final VanishingVerse card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VanishingVerse copy() {
|
||||
return new VanishingVerse(this);
|
||||
}
|
||||
}
|
|
@ -151,6 +151,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Thunderous Orator", 35, Rarity.UNCOMMON, mage.cards.t.ThunderousOrator.class));
|
||||
cards.add(new SetCardInfo("Torrent Sculptor", 159, Rarity.RARE, mage.cards.t.TorrentSculptor.class));
|
||||
cards.add(new SetCardInfo("Valentin, Dean of the Vein", 161, Rarity.RARE, mage.cards.v.ValentinDeanOfTheVein.class));
|
||||
cards.add(new SetCardInfo("Vanishing Verse", 244, Rarity.RARE, mage.cards.v.VanishingVerse.class));
|
||||
cards.add(new SetCardInfo("Venerable Warsinger", 355, Rarity.RARE, mage.cards.v.VenerableWarsinger.class));
|
||||
cards.add(new SetCardInfo("Vineglimmer Snarl", 274, Rarity.RARE, mage.cards.v.VineglimmerSnarl.class));
|
||||
cards.add(new SetCardInfo("Waterfall Aerialist", 61, Rarity.COMMON, mage.cards.w.WaterfallAerialist.class));
|
||||
|
|
Loading…
Reference in a new issue