diff --git a/Mage.Sets/src/mage/cards/t/TwistedRiddlekeeper.java b/Mage.Sets/src/mage/cards/t/TwistedRiddlekeeper.java new file mode 100644 index 00000000000..2091fd3d486 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TwistedRiddlekeeper.java @@ -0,0 +1,54 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.effects.common.CastSourceTriggeredAbility; +import mage.abilities.effects.common.TapTargetEffect; +import mage.abilities.effects.common.counter.AddCountersTargetEffect; +import mage.abilities.keyword.EmergeAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.counters.CounterType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class TwistedRiddlekeeper extends CardImpl { + + public TwistedRiddlekeeper(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{8}"); + + this.subtype.add(SubType.ELDRAZI); + this.subtype.add(SubType.SPHINX); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Emerge {5}{C}{U} + this.addAbility(new EmergeAbility(this, "{5}{C}{U}")); + + // When you cast this spell, tap up to two target permanents. Put a stun counter on each of them. + Ability ability = new CastSourceTriggeredAbility(new TapTargetEffect()); + ability.addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance()).setText("and put a stun counter on each of them")); + ability.addTarget(new TargetPermanent(0, 2, StaticFilters.FILTER_PERMANENTS)); + this.addAbility(ability); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + } + + private TwistedRiddlekeeper(final TwistedRiddlekeeper card) { + super(card); + } + + @Override + public TwistedRiddlekeeper copy() { + return new TwistedRiddlekeeper(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons3.java b/Mage.Sets/src/mage/sets/ModernHorizons3.java index d517ab83c0b..a3d076380d8 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons3.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons3.java @@ -182,6 +182,7 @@ public final class ModernHorizons3 extends ExpansionSet { cards.add(new SetCardInfo("Triton Wavebreaker", 74, Rarity.UNCOMMON, mage.cards.t.TritonWavebreaker.class)); cards.add(new SetCardInfo("Tune the Narrative", 75, Rarity.COMMON, mage.cards.t.TuneTheNarrative.class)); cards.add(new SetCardInfo("Twisted Landscape", 232, Rarity.COMMON, mage.cards.t.TwistedLandscape.class)); + cards.add(new SetCardInfo("Twisted Riddlekeeper", 14, Rarity.UNCOMMON, mage.cards.t.TwistedRiddlekeeper.class)); cards.add(new SetCardInfo("Ugin's Binding", 76, Rarity.MYTHIC, mage.cards.u.UginsBinding.class)); cards.add(new SetCardInfo("Ugin's Labyrinth", 233, Rarity.MYTHIC, mage.cards.u.UginsLabyrinth.class)); cards.add(new SetCardInfo("Ulamog, the Defiler", 15, Rarity.MYTHIC, mage.cards.u.UlamogTheDefiler.class)); diff --git a/Utils/keywords.txt b/Utils/keywords.txt index ee44b28dc67..9dca5f58275 100644 --- a/Utils/keywords.txt +++ b/Utils/keywords.txt @@ -37,6 +37,7 @@ Double Strike|instance| Dredge|number| Echo|manaString| Embalm|cost, card| +Emerge|card, manaString| Enchant|type| Encore|cost| Enlist|new|