diff --git a/Mage.Sets/src/mage/cards/r/RelicOfSauron.java b/Mage.Sets/src/mage/cards/r/RelicOfSauron.java new file mode 100644 index 00000000000..50fddb7f75e --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RelicOfSauron.java @@ -0,0 +1,54 @@ +package mage.cards.r; + +import java.util.UUID; + +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.discard.DiscardControllerEffect; +import mage.abilities.effects.mana.AddManaInAnyCombinationEffect; +import mage.abilities.mana.SimpleManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.ColoredManaSymbol; +import mage.constants.Zone; + +/** + * @author rullinoiz + */ +public final class RelicOfSauron extends CardImpl { + + public RelicOfSauron(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}"); + + + // {T}: Add two mana in any combination of {U}, {B} and/or {R}. + this.addAbility(new SimpleManaAbility( + Zone.BATTLEFIELD, + new AddManaInAnyCombinationEffect(2, ColoredManaSymbol.U, ColoredManaSymbol.B, ColoredManaSymbol.R), + new TapSourceCost() + )); + + // {3}, {T}: Draw two cards, then discard a card. + Ability ability = new SimpleActivatedAbility( + new DrawCardSourceControllerEffect(2), + new GenericManaCost(3) + ); + ability.addCost(new TapSourceCost()); + ability.addEffect(new DiscardControllerEffect(1)); + this.addAbility(ability); + + } + + private RelicOfSauron(final RelicOfSauron card) { + super(card); + } + + @Override + public RelicOfSauron copy() { + return new RelicOfSauron(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java index c1e11e5732a..8844660a1e6 100644 --- a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java +++ b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java @@ -193,6 +193,7 @@ public final class TalesOfMiddleEarthCommander extends ExpansionSet { cards.add(new SetCardInfo("Reclamation Sage", 259, Rarity.UNCOMMON, mage.cards.r.ReclamationSage.class)); cards.add(new SetCardInfo("Reflecting Pool", 373, Rarity.MYTHIC, mage.cards.r.ReflectingPool.class)); cards.add(new SetCardInfo("Rejuvenating Springs", 325, Rarity.RARE, mage.cards.r.RejuvenatingSprings.class)); + cards.add(new SetCardInfo("Relic of Sauron", 79, Rarity.RARE, mage.cards.r.RelicOfSauron.class)); cards.add(new SetCardInfo("Revenge of Ravens", 207, Rarity.UNCOMMON, mage.cards.r.RevengeOfRavens.class)); cards.add(new SetCardInfo("Riders of Rohan", 67, Rarity.RARE, mage.cards.r.RidersOfRohan.class)); cards.add(new SetCardInfo("Rings of Brighthearth", 352, Rarity.MYTHIC, mage.cards.r.RingsOfBrighthearth.class));