From d98fdccaa1b5a75dc45e110e142db5696137cf10 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 8 Sep 2021 18:43:34 -0400 Subject: [PATCH] [MID] Implemented Bird Admirer / Wing Shredder --- Mage.Sets/src/mage/cards/b/BirdAdmirer.java | 46 +++++++++++++++++++ Mage.Sets/src/mage/cards/w/WingShredder.java | 44 ++++++++++++++++++ .../src/mage/sets/InnistradMidnightHunt.java | 2 + Utils/mtg-cards-data.txt | 2 +- 4 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/b/BirdAdmirer.java create mode 100644 Mage.Sets/src/mage/cards/w/WingShredder.java diff --git a/Mage.Sets/src/mage/cards/b/BirdAdmirer.java b/Mage.Sets/src/mage/cards/b/BirdAdmirer.java new file mode 100644 index 0000000000..23cd8f80e6 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BirdAdmirer.java @@ -0,0 +1,46 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.keyword.DayboundAbility; +import mage.abilities.keyword.ReachAbility; +import mage.abilities.keyword.TransformAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BirdAdmirer extends CardImpl { + + public BirdAdmirer(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.ARCHER); + this.subtype.add(SubType.WEREWOLF); + this.power = new MageInt(1); + this.toughness = new MageInt(4); + this.transformable = true; + this.secondSideCardClazz = mage.cards.w.WingShredder.class; + + // Reach + this.addAbility(ReachAbility.getInstance()); + + // Daybound + this.addAbility(new TransformAbility()); + this.addAbility(DayboundAbility.getInstance()); + } + + private BirdAdmirer(final BirdAdmirer card) { + super(card); + } + + @Override + public BirdAdmirer copy() { + return new BirdAdmirer(this); + } +} diff --git a/Mage.Sets/src/mage/cards/w/WingShredder.java b/Mage.Sets/src/mage/cards/w/WingShredder.java new file mode 100644 index 0000000000..33e792c600 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WingShredder.java @@ -0,0 +1,44 @@ +package mage.cards.w; + +import mage.MageInt; +import mage.abilities.keyword.NightboundAbility; +import mage.abilities.keyword.ReachAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WingShredder extends CardImpl { + + public WingShredder(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, ""); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WEREWOLF); + this.power = new MageInt(3); + this.toughness = new MageInt(5); + this.color.setGreen(true); + this.nightCard = true; + this.transformable = true; + + // Reach + this.addAbility(ReachAbility.getInstance()); + + // Nightbound + this.addAbility(NightboundAbility.getInstance()); + } + + private WingShredder(final WingShredder card) { + super(card); + } + + @Override + public WingShredder copy() { + return new WingShredder(this); + } +} diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index f8c5c330e7..27ae0838ee 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -34,6 +34,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Arcane Infusion", 210, Rarity.UNCOMMON, mage.cards.a.ArcaneInfusion.class)); cards.add(new SetCardInfo("Arrogant Outlaw", 84, Rarity.COMMON, mage.cards.a.ArrogantOutlaw.class)); cards.add(new SetCardInfo("Augur of Autumn", 168, Rarity.RARE, mage.cards.a.AugurOfAutumn.class)); + cards.add(new SetCardInfo("Bird Admirer", 169, Rarity.COMMON, mage.cards.b.BirdAdmirer.class)); cards.add(new SetCardInfo("Bladestitched Skaab", 212, Rarity.UNCOMMON, mage.cards.b.BladestitchedSkaab.class)); cards.add(new SetCardInfo("Briarbridge Tracker", 172, Rarity.RARE, mage.cards.b.BriarbridgeTracker.class)); cards.add(new SetCardInfo("Brimstone Vandal", 130, Rarity.COMMON, mage.cards.b.BrimstoneVandal.class)); @@ -125,6 +126,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Village Reavers", 165, Rarity.UNCOMMON, mage.cards.v.VillageReavers.class)); cards.add(new SetCardInfo("Village Watch", 165, Rarity.UNCOMMON, mage.cards.v.VillageWatch.class)); cards.add(new SetCardInfo("Voldaren Ambusher", 166, Rarity.UNCOMMON, mage.cards.v.VoldarenAmbusher.class)); + cards.add(new SetCardInfo("Wing Shredder", 169, Rarity.COMMON, mage.cards.w.WingShredder.class)); cards.add(new SetCardInfo("Wrenn and Seven", 208, Rarity.MYTHIC, mage.cards.w.WrennAndSeven.class)); cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName())); // remove when mechanic is fully implemented diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index de28d593cc..c789b927f2 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -42259,7 +42259,7 @@ Village Reavers|Innistrad: Midnight Hunt|165|U||Creature - Werewolf|5|4|Wolves a Voldaren Ambusher|Innistrad: Midnight Hunt|166|U|{2}{R}|Creature - Vampire Archer|2|2|When Voldaren Ambusher enters the battlefield, if an opponent lost life this turn, it deals X damage to up to one target creature or planeswalker, where X is the number of Vampires you control.| Augur of Autumn|Innistrad: Midnight Hunt|168|R|{1}{G}{G}|Creature - Human Druid|2|3|You may look at the top card of your library any time.$You may play lands from the top of your library.$Coven — As long as you control three or more creatures with different powers, you may cast creature spells from the top of your library.| Bird Admirer|Innistrad: Midnight Hunt|169|C|{2}{G}|Creature - Human Archer Werewolf|1|4|Reach$Daybound| -Wing Shredder|Innistrad: Midnight Hunt|169|C||Creature - Human Werewolf|3|5|Nightbound| +Wing Shredder|Innistrad: Midnight Hunt|169|C||Creature - Human Werewolf|3|5|Reach$Nightbound| Briarbridge Tracker|Innistrad: Midnight Hunt|172|R|{2}{G}|Creature - Human Scout|2|3|Vigilance$When Briarbridge Tracker enters the battlefield, investigate.$As long as you control a token, Briarbridge Tracker gets +2/+0.| Burly Breaker|Innistrad: Midnight Hunt|174|U|{3}{G}{G}|Creature - Human Werewolf|6|5|Ward {1}$Daybound| Dire-Strain Demolisher|Innistrad: Midnight Hunt|174|U||Creature - Werewolf|8|7|Ward {3}$Nightbound|