From cfddb36e4d4e7ef6da088e55c1df434422cf4135 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 6 Sep 2021 20:51:03 -0400 Subject: [PATCH] [MID] Implemented Neblegast Intruder --- .../src/mage/cards/n/NeblegastIntruder.java | 49 +++++++++++++++++++ .../src/mage/sets/InnistradMidnightHunt.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 51 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/n/NeblegastIntruder.java diff --git a/Mage.Sets/src/mage/cards/n/NeblegastIntruder.java b/Mage.Sets/src/mage/cards/n/NeblegastIntruder.java new file mode 100644 index 0000000000..9a871d1a0b --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NeblegastIntruder.java @@ -0,0 +1,49 @@ +package mage.cards.n; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.keyword.FlashAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class NeblegastIntruder extends CardImpl { + + public NeblegastIntruder(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}"); + + this.subtype.add(SubType.SPIRIT); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Flash + this.addAbility(FlashAbility.getInstance()); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When Neblegast Intruder enters the battlefield, up to one target creature an opponent controls gets -2/-0 until end of turn. + Ability ability = new EntersBattlefieldTriggeredAbility(new BoostTargetEffect(-2, 0)); + ability.addTarget(new TargetOpponentsCreaturePermanent(0, 1)); + this.addAbility(ability); + } + + private NeblegastIntruder(final NeblegastIntruder card) { + super(card); + } + + @Override + public NeblegastIntruder copy() { + return new NeblegastIntruder(this); + } +} diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index bf1c3bf46b..99ebc00f95 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -71,6 +71,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Lunar Frenzy", 147, Rarity.UNCOMMON, mage.cards.l.LunarFrenzy.class)); cards.add(new SetCardInfo("Might of the Old Ways", 189, Rarity.COMMON, mage.cards.m.MightOfTheOldWays.class)); cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS)); + cards.add(new SetCardInfo("Neblegast Intruder", 64, Rarity.UNCOMMON, mage.cards.n.NeblegastIntruder.class)); cards.add(new SetCardInfo("Overgrown Farmland", 265, Rarity.RARE, mage.cards.o.OvergrownFarmland.class)); cards.add(new SetCardInfo("Pestilent Wolf", 192, Rarity.COMMON, mage.cards.p.PestilentWolf.class)); cards.add(new SetCardInfo("Pithing Needle", 257, Rarity.RARE, mage.cards.p.PithingNeedle.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 260b8afb92..399b8ce707 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -42189,6 +42189,7 @@ Baithook Angler|Innistrad: Midnight Hunt|42|C|{1}{U}|Creature - Human Peasant|2| Hook-Haunt Drifter|Innistrad: Midnight Hunt|42|C||Creature - Spirit|1|2|Flying$If Hook-Haunt Drifter would be put into a graveyard from anywhere, exile it instead.| Consider|Innistrad: Midnight Hunt|44|C|{U}|Instant|||Look at the top card of your library. You may put that card into your graveyard.$Draw a card.| Dissipate|Innistrad: Midnight Hunt|49|U|{1}{U}{U}|Instant|||Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyard.| +Neblegast Intruder|Innistrad: Midnight Hunt|64|U|{2}{U}|Creature - Spirit|2|1|Flash$Flying$When Neblegast Intruder enters the battlefield, up to one target creature an opponent controls gets -2/-0 until end of turn.| Ominous Roost|Innistrad: Midnight Hunt|65|U|{2}{U}|Enchantment|||When Ominous Roost enters the battlefield or whenever you cast a spell from your graveyard, create a 1/1 blue Bird creature token with flying and "This creature can block only creatures with flying."| Poppet Stitcher|Innistrad: Midnight Hunt|71|M|{2}{U}|Creature - Human Wizard|2|3|Whenever you cast an instant or sorcery spell, create a 2/2 black Zombie creature token with decayed.$At the beginning of your upkeep, if you control three or more creature tokens, you may transform Poppet Sticher.| Poppet Factory|Innistrad: Midnight Hunt|71|M||Artifact|||Creature tokens you control lose all abilities and have base power and toughness 3/3.$At the beginning of your upkeep, you may transform Poppet Factory.|