Implemented Sweet Oblivion

This commit is contained in:
Evan Kranzler 2020-01-02 12:19:26 -05:00
parent 771fc33522
commit 47e34913c5
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.s;
import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect;
import mage.abilities.keyword.EscapeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.TargetPlayer;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SweetOblivion extends CardImpl {
public SweetOblivion(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{U}");
// Target player puts the top four cards of their library into their graveyard.
this.getSpellAbility().addEffect(new PutTopCardOfLibraryIntoGraveTargetEffect(4));
this.getSpellAbility().addTarget(new TargetPlayer());
// Escape{3}{U}, Exile four other cards from your graveyard.
this.addAbility(new EscapeAbility(this, "{3}{U}", 4));
}
private SweetOblivion(final SweetOblivion card) {
super(card);
}
@Override
public SweetOblivion copy() {
return new SweetOblivion(this);
}
}

View file

@ -85,6 +85,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
cards.add(new SetCardInfo("Sphinx Mindbreaker", 290, Rarity.RARE, mage.cards.s.SphinxMindbreaker.class));
cards.add(new SetCardInfo("Staggering Insight", 228, Rarity.UNCOMMON, mage.cards.s.StaggeringInsight.class));
cards.add(new SetCardInfo("Swamp", 252, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Sweet Oblivion", 70, Rarity.UNCOMMON, mage.cards.s.SweetOblivion.class));
cards.add(new SetCardInfo("Temple of Abandon", 244, Rarity.RARE, mage.cards.t.TempleOfAbandon.class));
cards.add(new SetCardInfo("Temple of Deceit", 245, Rarity.RARE, mage.cards.t.TempleOfDeceit.class));
cards.add(new SetCardInfo("Temple of Enlightenment", 246, Rarity.RARE, mage.cards.t.TempleOfEnlightenment.class));