diff --git a/Mage.Sets/src/mage/cards/p/PathOfTheEnigma.java b/Mage.Sets/src/mage/cards/p/PathOfTheEnigma.java new file mode 100644 index 0000000000..81207c92e4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PathOfTheEnigma.java @@ -0,0 +1,36 @@ +package mage.cards.p; + +import mage.abilities.effects.common.DrawCardTargetEffect; +import mage.abilities.effects.common.WillOfThePlaneswalkersEffect; +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 PathOfTheEnigma extends CardImpl { + + public PathOfTheEnigma(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}"); + + // Target player draws four cards. + this.getSpellAbility().addEffect(new DrawCardTargetEffect(4)); + this.getSpellAbility().addTarget(new TargetPlayer()); + + // Will of the Planeswalkers -- Starting with you, each player votes for planeswalk or chaos. If planeswalk gets more votes, planeswalk. If chaos gets more votes or the vote is tied, chaos ensues. + this.getSpellAbility().addEffect(new WillOfThePlaneswalkersEffect()); + } + + private PathOfTheEnigma(final PathOfTheEnigma card) { + super(card); + } + + @Override + public PathOfTheEnigma copy() { + return new PathOfTheEnigma(this); + } +} diff --git a/Mage.Sets/src/mage/sets/MarchOfTheMachineCommander.java b/Mage.Sets/src/mage/sets/MarchOfTheMachineCommander.java index 23a42f13cf..96871460eb 100644 --- a/Mage.Sets/src/mage/sets/MarchOfTheMachineCommander.java +++ b/Mage.Sets/src/mage/sets/MarchOfTheMachineCommander.java @@ -232,6 +232,7 @@ public final class MarchOfTheMachineCommander extends ExpansionSet { cards.add(new SetCardInfo("Painful Truths", 262, Rarity.RARE, mage.cards.p.PainfulTruths.class)); cards.add(new SetCardInfo("Path of Ancestry", 418, Rarity.COMMON, mage.cards.p.PathOfAncestry.class)); cards.add(new SetCardInfo("Path of the Animist", 38, Rarity.RARE, mage.cards.p.PathOfTheAnimist.class)); + cards.add(new SetCardInfo("Path of the Enigma", 23, Rarity.RARE, mage.cards.p.PathOfTheEnigma.class)); cards.add(new SetCardInfo("Path to Exile", 198, Rarity.UNCOMMON, mage.cards.p.PathToExile.class)); cards.add(new SetCardInfo("Perplexing Test", 229, Rarity.RARE, mage.cards.p.PerplexingTest.class)); cards.add(new SetCardInfo("Phyrexian Delver", 263, Rarity.RARE, mage.cards.p.PhyrexianDelver.class));