- Added Sealed Fate from Mirage

This commit is contained in:
jeffwadsworth 2021-02-09 10:00:54 -06:00
parent 199ba524bf
commit a8070fdd76
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.cards.s;
import java.util.UUID;
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Zone;
import mage.filter.FilterCard;
import mage.target.common.TargetOpponent;
/**
*
* @author jeffwadsworth
*/
public final class SealedFate extends CardImpl {
public SealedFate(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{X}{U}{B}");
// Look at the top X cards of target opponent's library. Exile one of those cards and put the rest back on top of that player's library in any order.
this.getSpellAbility().addTarget(new TargetOpponent());
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(ManacostVariableValue.instance,
false, StaticValue.get(1),
new FilterCard("a card to exile"), Zone.LIBRARY, true,
false, false, Zone.EXILED,
false, true, true));
}
private SealedFate(final SealedFate card) {
super(card);
}
@Override
public SealedFate copy() {
return new SealedFate(this);
}
}

View file

@ -269,6 +269,7 @@ public final class Mirage extends ExpansionSet {
cards.add(new SetCardInfo("Savage Twister", 280, Rarity.UNCOMMON, mage.cards.s.SavageTwister.class));
cards.add(new SetCardInfo("Sawback Manticore", 281, Rarity.RARE, mage.cards.s.SawbackManticore.class));
cards.add(new SetCardInfo("Sea Scryer", 90, Rarity.COMMON, mage.cards.s.SeaScryer.class));
cards.add(new SetCardInfo("Sealed Fate", 282, Rarity.UNCOMMON, mage.cards.s.SealedFate.class));
cards.add(new SetCardInfo("Searing Spear Askari", 191, Rarity.COMMON, mage.cards.s.SearingSpearAskari.class));
cards.add(new SetCardInfo("Seedling Charm", 240, Rarity.COMMON, mage.cards.s.SeedlingCharm.class));
cards.add(new SetCardInfo("Seeds of Innocence", 241, Rarity.RARE, mage.cards.s.SeedsOfInnocence.class));