From c4196635f9f309577fbc31825f3c037072c66b71 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 17 May 2022 22:11:58 -0400 Subject: [PATCH] [CLB] Implemented Aarakocra Sneak --- .../src/mage/cards/a/AarakocraSneak.java | 42 +++++++++++++++++++ .../CommanderLegendsBattleForBaldursGate.java | 1 + 2 files changed, 43 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/AarakocraSneak.java diff --git a/Mage.Sets/src/mage/cards/a/AarakocraSneak.java b/Mage.Sets/src/mage/cards/a/AarakocraSneak.java new file mode 100644 index 0000000000..7b7adfb912 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AarakocraSneak.java @@ -0,0 +1,42 @@ +package mage.cards.a; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.TakeTheInitiativeEffect; +import mage.abilities.keyword.FlyingAbility; +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 AarakocraSneak extends CardImpl { + + public AarakocraSneak(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}"); + + this.subtype.add(SubType.BIRD); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(1); + this.toughness = new MageInt(4); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When Aarakocra Sneak enters the battlefield, you take the initiative. + this.addAbility(new EntersBattlefieldTriggeredAbility(new TakeTheInitiativeEffect())); + } + + private AarakocraSneak(final AarakocraSneak card) { + super(card); + } + + @Override + public AarakocraSneak copy() { + return new AarakocraSneak(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 032ed0cdcf..b6ca03437b 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -21,6 +21,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { this.hasBasicLands = false; this.hasBoosters = false; // temporary + cards.add(new SetCardInfo("Aarakocra Sneak", 54, Rarity.COMMON, mage.cards.a.AarakocraSneak.class)); cards.add(new SetCardInfo("Ancient Brass Dragon", 111, Rarity.MYTHIC, mage.cards.a.AncientBrassDragon.class)); cards.add(new SetCardInfo("Arcane Signet", 298, Rarity.UNCOMMON, mage.cards.a.ArcaneSignet.class)); cards.add(new SetCardInfo("Baldur's Gate", 345, Rarity.RARE, mage.cards.b.BaldursGate.class));