diff --git a/Mage.Sets/src/mage/cards/y/YouFindACursedIdol.java b/Mage.Sets/src/mage/cards/y/YouFindACursedIdol.java new file mode 100644 index 0000000000..a275b9292e --- /dev/null +++ b/Mage.Sets/src/mage/cards/y/YouFindACursedIdol.java @@ -0,0 +1,49 @@ +package mage.cards.y; + +import mage.abilities.Mode; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.effects.keyword.VentureIntoTheDungeonEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.game.permanent.token.TreasureToken; +import mage.target.common.TargetArtifactPermanent; +import mage.target.common.TargetEnchantmentPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class YouFindACursedIdol extends CardImpl { + + public YouFindACursedIdol(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}"); + + // Choose one — + // • Smash it — Destroy target artifact. + this.getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellAbility().addTarget(new TargetArtifactPermanent()); + this.getSpellAbility().withFirstModeFlavorWord("Smash It"); + + // • Life the Curse — Destroy target enchantment. + Mode mode = new Mode(new DestroyTargetEffect()); + mode.addTarget(new TargetEnchantmentPermanent()); + this.getSpellAbility().addMode(mode.withFlavorWord("Lift the Curse")); + + // • Steal Its Eyes — Create an Treasure token and venture into the dungeon. + mode = new Mode(new CreateTokenEffect(new TreasureToken())); + mode.addEffect(new VentureIntoTheDungeonEffect().concatBy("and")); + this.getSpellAbility().addMode(mode.withFlavorWord("Steal Its Eyes")); + } + + private YouFindACursedIdol(final YouFindACursedIdol card) { + super(card); + } + + @Override + public YouFindACursedIdol copy() { + return new YouFindACursedIdol(this); + } +} diff --git a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java index 7d7cbaf70a..4deb2caec1 100644 --- a/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java +++ b/Mage.Sets/src/mage/sets/AdventuresInTheForgottenRealms.java @@ -100,6 +100,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet { cards.add(new SetCardInfo("Vorpal Sword", 124, Rarity.RARE, mage.cards.v.VorpalSword.class)); cards.add(new SetCardInfo("Werewolf Pack Leader", 211, Rarity.RARE, mage.cards.w.WerewolfPackLeader.class)); cards.add(new SetCardInfo("You Come to a River", 83, Rarity.COMMON, mage.cards.y.YouComeToARiver.class)); + cards.add(new SetCardInfo("You Find a Cursed Idol", 213, Rarity.COMMON, mage.cards.y.YouFindACursedIdol.class)); cards.add(new SetCardInfo("You Find the Villains' Lair", 84, Rarity.COMMON, mage.cards.y.YouFindTheVillainsLair.class)); cards.add(new SetCardInfo("You Hear Something on Watch", 42, Rarity.COMMON, mage.cards.y.YouHearSomethingOnWatch.class)); cards.add(new SetCardInfo("You See a Guard Approach", 85, Rarity.COMMON, mage.cards.y.YouSeeAGuardApproach.class));