From f8074a2a68d752d0dee0a50bf6c6efdc2c3cc2eb Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 26 Jan 2023 22:13:28 -0500 Subject: [PATCH] [ONE] Implement Barbed Batterfist --- .../src/mage/cards/b/BarbedBatterfist.java | 42 +++++++++++++++++++ .../src/mage/sets/PhyrexiaAllWillBeOne.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BarbedBatterfist.java diff --git a/Mage.Sets/src/mage/cards/b/BarbedBatterfist.java b/Mage.Sets/src/mage/cards/b/BarbedBatterfist.java new file mode 100644 index 0000000000..393d56bc38 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BarbedBatterfist.java @@ -0,0 +1,42 @@ +package mage.cards.b; + +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.continuous.BoostEquippedEffect; +import mage.abilities.keyword.EquipAbility; +import mage.abilities.keyword.ForMirrodinAbility; +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 BarbedBatterfist extends CardImpl { + + public BarbedBatterfist(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}{R}"); + + this.subtype.add(SubType.EQUIPMENT); + + // For Mirrodin! + this.addAbility(new ForMirrodinAbility()); + + // Equipped creature gets +1/-1. + this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(1, -1))); + + // Equip {1} + this.addAbility(new EquipAbility(1)); + } + + private BarbedBatterfist(final BarbedBatterfist card) { + super(card); + } + + @Override + public BarbedBatterfist copy() { + return new BarbedBatterfist(this); + } +} diff --git a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java index 43d51d9095..fb383c3e09 100644 --- a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java +++ b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java @@ -28,6 +28,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet { cards.add(new SetCardInfo("Argentum Masticore", 222, Rarity.RARE, mage.cards.a.ArgentumMasticore.class)); cards.add(new SetCardInfo("Armored Scrapgorger", 158, Rarity.UNCOMMON, mage.cards.a.ArmoredScrapgorger.class)); cards.add(new SetCardInfo("Atraxa, Grand Unifier", 196, Rarity.MYTHIC, mage.cards.a.AtraxaGrandUnifier.class)); + cards.add(new SetCardInfo("Barbed Batterfist", 121, Rarity.COMMON, mage.cards.b.BarbedBatterfist.class)); cards.add(new SetCardInfo("Basilica Skullbomb", 224, Rarity.COMMON, mage.cards.b.BasilicaSkullbomb.class)); cards.add(new SetCardInfo("Bilious Skulldweller", 83, Rarity.UNCOMMON, mage.cards.b.BiliousSkulldweller.class)); cards.add(new SetCardInfo("Black Sun's Twilight", 84, Rarity.RARE, mage.cards.b.BlackSunsTwilight.class));