From 8f12367a017f44248a5931d2cc9923fed12cfdd7 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 30 Oct 2022 14:47:29 -0400 Subject: [PATCH] [BRO] Implemented Argothian Opportunist --- .../mage/cards/a/ArgothianOpportunist.java | 41 +++++++++++++++++++ Mage.Sets/src/mage/sets/TheBrothersWar.java | 1 + 2 files changed, 42 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/ArgothianOpportunist.java diff --git a/Mage.Sets/src/mage/cards/a/ArgothianOpportunist.java b/Mage.Sets/src/mage/cards/a/ArgothianOpportunist.java new file mode 100644 index 00000000000..ee8240f8095 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/ArgothianOpportunist.java @@ -0,0 +1,41 @@ +package mage.cards.a; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.PowerstoneToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ArgothianOpportunist extends CardImpl { + + public ArgothianOpportunist(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SCOUT); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Argothian Opportunist enters the battlefield, create a tapped Powerstone token. + this.addAbility(new EntersBattlefieldTriggeredAbility( + new CreateTokenEffect(new PowerstoneToken(), 1, true) + )); + } + + private ArgothianOpportunist(final ArgothianOpportunist card) { + super(card); + } + + @Override + public ArgothianOpportunist copy() { + return new ArgothianOpportunist(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index 91c879eec2a..28cf61f9128 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -21,6 +21,7 @@ public final class TheBrothersWar extends ExpansionSet { this.hasBoosters = false; // temporary cards.add(new SetCardInfo("Argoth, Sanctum of Nature", "256a", Rarity.RARE, mage.cards.a.ArgothSanctumOfNature.class)); + cards.add(new SetCardInfo("Argothian Opportunist", 167, Rarity.COMMON, mage.cards.a.ArgothianOpportunist.class)); cards.add(new SetCardInfo("Ashnod's Harvester", 117, Rarity.UNCOMMON, mage.cards.a.AshnodsHarvester.class)); cards.add(new SetCardInfo("Battlefield Forge", 257, Rarity.RARE, mage.cards.b.BattlefieldForge.class)); cards.add(new SetCardInfo("Blast Zone", 258, Rarity.RARE, mage.cards.b.BlastZone.class));