From c5b391e875953fcd08cdab0f5de8dea2860050ee Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 3 Feb 2022 22:56:49 -0500 Subject: [PATCH] [NEO] Implemented Moonsnare Specialist --- .../src/mage/cards/m/MoonsnareSpecialist.java | 46 +++++++++++++++++++ .../src/mage/sets/KamigawaNeonDynasty.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 48 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/m/MoonsnareSpecialist.java diff --git a/Mage.Sets/src/mage/cards/m/MoonsnareSpecialist.java b/Mage.Sets/src/mage/cards/m/MoonsnareSpecialist.java new file mode 100644 index 0000000000..8f4ed5ce2d --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MoonsnareSpecialist.java @@ -0,0 +1,46 @@ +package mage.cards.m; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.abilities.keyword.NinjutsuAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class MoonsnareSpecialist extends CardImpl { + + public MoonsnareSpecialist(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.NINJA); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Ninjutsu {2}{U} + this.addAbility(new NinjutsuAbility("{2}{U}")); + + // When Moonsnare Specialist enters the battlefield, return up to one target creature to its owner's hand. + Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect()); + ability.addTarget(new TargetCreaturePermanent(0, 1)); + this.addAbility(ability); + } + + private MoonsnareSpecialist(final MoonsnareSpecialist card) { + super(card); + } + + @Override + public MoonsnareSpecialist copy() { + return new MoonsnareSpecialist(this); + } +} diff --git a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java index 68c3d291e8..e3a2385f9e 100644 --- a/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java +++ b/Mage.Sets/src/mage/sets/KamigawaNeonDynasty.java @@ -108,6 +108,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet { cards.add(new SetCardInfo("Mobilizer Mech", 65, Rarity.UNCOMMON, mage.cards.m.MobilizerMech.class)); cards.add(new SetCardInfo("Moon-Circuit Hacker", 67, Rarity.COMMON, mage.cards.m.MoonCircuitHacker.class)); cards.add(new SetCardInfo("Moonsnare Prototype", 69, Rarity.COMMON, mage.cards.m.MoonsnarePrototype.class)); + cards.add(new SetCardInfo("Moonsnare Specialist", 70, Rarity.COMMON, mage.cards.m.MoonsnareSpecialist.class)); cards.add(new SetCardInfo("Mountain", 289, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Mukotai Ambusher", 112, Rarity.COMMON, mage.cards.m.MukotaiAmbusher.class)); cards.add(new SetCardInfo("Nameless Conqueror", 162, Rarity.COMMON, mage.cards.n.NamelessConqueror.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 6bc054376a..8f690e1b4d 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -43561,6 +43561,7 @@ The Modern Age|Kamigawa: Neon Dynasty|66|C|{1}{U}|Enchantment - Saga|||(As this Vector Glider|Kamigawa: Neon Dynasty|66|C||Enchantment Creature - Spirit|2|3|Flying| Moon-Circuit Hacker|Kamigawa: Neon Dynasty|67|C|{1}{U}|Enchantment Creature - Human Ninja|2|1|Ninjutsu {U}$Whenever Moon-Circuit Hacker deals combat damage to a player, you may draw a card. If you do, discard a card unless Moon-Circuit Hacker entered the battlefield this turn.| Moonsnare Prototype|Kamigawa: Neon Dynasty|69|C|{U}|Artifact|||{T}, Tap an untapped artifact or creature you control: Add {C}.$Channel — {4}{U}, Discard Moonsnare Prototype: The owner of target nonland permanent puts it on the top or bottom of their library.| +Moonsnare Specialist|Kamigawa: Neon Dynasty|70|C|{3}{U}|Creature - Human Ninja|2|2|Ninjutsu {2}{U}$When Moonsnare Specialist enters the battlefield, return up to one target creature to its owner's hand.| Network Disruptor|Kamigawa: Neon Dynasty|71|C|{U}|Artifact Creature - Moonfolk Rogue|1|1|Flying$When Network Disruptor enters the battlefield, tap target permanent.| Prosperous Thief|Kamigawa: Neon Dynasty|73|U|{2}{U}|Creature - Human Ninja|3|2|Ninjutsu {1}{U}$Whenever one or more Ninja or Rogue creatures you control deal combat damage to a player, create a Treasure token.| The Reality Chip|Kamigawa: Neon Dynasty|74|R|{1}{U}|Legendary Artifact Creature - Equipment Jellyfish|0|4|You may look at the top card of your library any time.$As long as The Reality Chip is attached to a creature, you may play lands and cast spells from the top of your library.$Reconfigure {2}{U}|