From 293b9fbd0151a7039e3dad5917825c3b77f09e6e Mon Sep 17 00:00:00 2001 From: justin <42110866+justinjohnson14@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:30:57 -0700 Subject: [PATCH] [PIP] Implement Brotherhood Vertibird (#11994) --- .../mage/cards/b/BrotherhoodVertibird.java | 48 +++++++++++++++++++ Mage.Sets/src/mage/sets/Fallout.java | 1 + 2 files changed, 49 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BrotherhoodVertibird.java diff --git a/Mage.Sets/src/mage/cards/b/BrotherhoodVertibird.java b/Mage.Sets/src/mage/cards/b/BrotherhoodVertibird.java new file mode 100644 index 00000000000..6abb63434c2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BrotherhoodVertibird.java @@ -0,0 +1,48 @@ +package mage.cards.b; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.dynamicvalue.common.ArtifactYouControlCount; +import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; +import mage.abilities.effects.common.continuous.SetBasePowerSourceEffect; +import mage.constants.SubType; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.CrewAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Zone; +import mage.filter.common.FilterControlledPermanent; + +/** + * + * @author justinjohnson14 + */ +public final class BrotherhoodVertibird extends CardImpl { + public BrotherhoodVertibird(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}"); + + this.subtype.add(SubType.VEHICLE); + this.power = new MageInt(0); + this.toughness = new MageInt(4); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Brotherhood Vertibird's power is equal to the number of artifacts you control. + this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetBasePowerSourceEffect(ArtifactYouControlCount.instance))); + // Crew 2 + this.addAbility(new CrewAbility(2)); + + } + + private BrotherhoodVertibird(final BrotherhoodVertibird card) { + super(card); + } + + @Override + public BrotherhoodVertibird copy() { + return new BrotherhoodVertibird(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Fallout.java b/Mage.Sets/src/mage/sets/Fallout.java index 3cc441e79c0..47b1554f72c 100644 --- a/Mage.Sets/src/mage/sets/Fallout.java +++ b/Mage.Sets/src/mage/sets/Fallout.java @@ -60,6 +60,7 @@ public final class Fallout extends ExpansionSet { cards.add(new SetCardInfo("Brotherhood Scribe", 365, Rarity.RARE, mage.cards.b.BrotherhoodScribe.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Brotherhood Scribe", 541, Rarity.RARE, mage.cards.b.BrotherhoodScribe.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Brotherhood Scribe", 893, Rarity.RARE, mage.cards.b.BrotherhoodScribe.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Brotherhood Vertibird", 128, Rarity.RARE, mage.cards.b.BrotherhoodVertibird.class)); cards.add(new SetCardInfo("Buried Ruin", 254, Rarity.UNCOMMON, mage.cards.b.BuriedRuin.class)); cards.add(new SetCardInfo("Caesar, Legion's Emperor", 1, Rarity.MYTHIC, mage.cards.c.CaesarLegionsEmperor.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Caesar, Legion's Emperor", 339, Rarity.MYTHIC, mage.cards.c.CaesarLegionsEmperor.class, NON_FULL_USE_VARIOUS));