diff --git a/Mage.Sets/src/mage/cards/s/SageOfMysteries.java b/Mage.Sets/src/mage/cards/s/SageOfMysteries.java new file mode 100644 index 00000000000..2aa06f987c8 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SageOfMysteries.java @@ -0,0 +1,44 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.abilityword.ConstellationAbility; +import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.TargetPlayer; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SageOfMysteries extends CardImpl { + + public SageOfMysteries(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(0); + this.toughness = new MageInt(2); + + // Constellation — Whenever an enchantment enters the battlefield under your control, target player puts the top two cards of their library into their graveyard. + Ability ability = new ConstellationAbility( + new PutLibraryIntoGraveTargetEffect(2), false, false + ); + ability.addTarget(new TargetPlayer()); + this.addAbility(ability); + } + + private SageOfMysteries(final SageOfMysteries card) { + super(card); + } + + @Override + public SageOfMysteries copy() { + return new SageOfMysteries(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 80aec9d5d71..40ad9a43e54 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -171,6 +171,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Riptide Turtle", 61, Rarity.COMMON, mage.cards.r.RiptideTurtle.class)); cards.add(new SetCardInfo("Rise to Glory", 225, Rarity.UNCOMMON, mage.cards.r.RiseToGlory.class)); cards.add(new SetCardInfo("Rumbling Sentry", 35, Rarity.COMMON, mage.cards.r.RumblingSentry.class)); + cards.add(new SetCardInfo("Sage of Mysteries", 62, Rarity.UNCOMMON, mage.cards.s.SageOfMysteries.class)); cards.add(new SetCardInfo("Satyr's Cunning", 152, Rarity.COMMON, mage.cards.s.SatyrsCunning.class)); cards.add(new SetCardInfo("Scavenging Harpy", 114, Rarity.COMMON, mage.cards.s.ScavengingHarpy.class)); cards.add(new SetCardInfo("Sea God's Scorn", 63, Rarity.UNCOMMON, mage.cards.s.SeaGodsScorn.class));