From f2667a5fab950b1037c711329e8a5be82cb669f0 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 16 Apr 2022 13:32:47 -0400 Subject: [PATCH] [SNC] Implemented Pugnacious Pugilist --- .../src/mage/cards/p/PugnaciousPugilist.java | 45 +++++++++++++++++++ .../src/mage/sets/StreetsOfNewCapenna.java | 1 + 2 files changed, 46 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/p/PugnaciousPugilist.java diff --git a/Mage.Sets/src/mage/cards/p/PugnaciousPugilist.java b/Mage.Sets/src/mage/cards/p/PugnaciousPugilist.java new file mode 100644 index 0000000000..dfab94109f --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PugnaciousPugilist.java @@ -0,0 +1,45 @@ +package mage.cards.p; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.BlitzAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.DevilToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PugnaciousPugilist extends CardImpl { + + public PugnaciousPugilist(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}"); + + this.subtype.add(SubType.OGRE); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Whenever Pugnacious Pugilist attacks, create a tapped and attacking 1/1 red Devil creature token with "When this creature dies, it deals 1 damage to any target." + this.addAbility(new AttacksTriggeredAbility(new CreateTokenEffect( + new DevilToken(), 1, true, true + ))); + + // Blitz {3}{R} + this.addAbility(new BlitzAbility("{3}{R}")); + } + + private PugnaciousPugilist(final PugnaciousPugilist card) { + super(card); + } + + @Override + public PugnaciousPugilist copy() { + return new PugnaciousPugilist(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index fb7a44dfc9..04c599ab0d 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -174,6 +174,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Professional Face-Breaker", 116, Rarity.RARE, mage.cards.p.ProfessionalFaceBreaker.class)); cards.add(new SetCardInfo("Psionic Snoop", 53, Rarity.COMMON, mage.cards.p.PsionicSnoop.class)); cards.add(new SetCardInfo("Psychic Pickpocket", 54, Rarity.UNCOMMON, mage.cards.p.PsychicPickpocket.class)); + cards.add(new SetCardInfo("Pugnacious Pugilist", 117, Rarity.UNCOMMON, mage.cards.p.PugnaciousPugilist.class)); cards.add(new SetCardInfo("Pyre-Sledge Arsonist", 118, Rarity.UNCOMMON, mage.cards.p.PyreSledgeArsonist.class)); cards.add(new SetCardInfo("Queza, Augur of Agonies", 212, Rarity.UNCOMMON, mage.cards.q.QuezaAugurOfAgonies.class)); cards.add(new SetCardInfo("Quick-Draw Dagger", 243, Rarity.COMMON, mage.cards.q.QuickDrawDagger.class));