From 9ff1146646cff5b52982fa354ce6fee8bd3f48eb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 26 Oct 2020 19:26:28 -0400 Subject: [PATCH] [CMR] Implemented Briarblade Adept --- .../src/mage/cards/b/BriarbladeAdept.java | 47 +++++++++++++++++++ Mage.Sets/src/mage/sets/CommanderLegends.java | 1 + 2 files changed, 48 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BriarbladeAdept.java diff --git a/Mage.Sets/src/mage/cards/b/BriarbladeAdept.java b/Mage.Sets/src/mage/cards/b/BriarbladeAdept.java new file mode 100644 index 0000000000..9b02d11839 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BriarbladeAdept.java @@ -0,0 +1,47 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.keyword.EncoreAbility; +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 BriarbladeAdept extends CardImpl { + + public BriarbladeAdept(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}"); + + this.subtype.add(SubType.ELF); + this.subtype.add(SubType.ASSASSIN); + this.power = new MageInt(3); + this.toughness = new MageInt(4); + + // Whenever Briarblade Adept attacks, target creature an opponent controls get -1/-1 until end of turn. + Ability ability = new AttacksTriggeredAbility(new BoostTargetEffect(-1, -1), false); + ability.addTarget(new TargetOpponentsCreaturePermanent()); + this.addAbility(ability); + + // Encore {3}{B} + this.addAbility(new EncoreAbility(new ManaCostsImpl<>("{3}{B}"))); + } + + private BriarbladeAdept(final BriarbladeAdept card) { + super(card); + } + + @Override + public BriarbladeAdept copy() { + return new BriarbladeAdept(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegends.java b/Mage.Sets/src/mage/sets/CommanderLegends.java index b1a4538ab5..77531c47ff 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegends.java +++ b/Mage.Sets/src/mage/sets/CommanderLegends.java @@ -28,6 +28,7 @@ public final class CommanderLegends extends ExpansionSet { this.maxCardNumberInBooster = 361; cards.add(new SetCardInfo("Alena, Kessig Trapper", 160, Rarity.UNCOMMON, mage.cards.a.AlenaKessigTrapper.class)); + cards.add(new SetCardInfo("Briarblade Adept", 111, Rarity.COMMON, mage.cards.b.BriarbladeAdept.class)); cards.add(new SetCardInfo("Command Tower", 350, Rarity.COMMON, mage.cards.c.CommandTower.class)); cards.add(new SetCardInfo("Commander's Sphere", 306, Rarity.COMMON, mage.cards.c.CommandersSphere.class)); cards.add(new SetCardInfo("Confiscate", 62, Rarity.UNCOMMON, mage.cards.c.Confiscate.class));