From d3e530e00e96e9bc755bce46cdea069b82a6f1e9 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 17 May 2024 18:32:50 -0400 Subject: [PATCH] [MH3] Implement Basking Broodscale --- .../src/mage/cards/b/BaskingBroodscale.java | 49 +++++++++++++++++++ Mage.Sets/src/mage/sets/ModernHorizons3.java | 1 + 2 files changed, 50 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/b/BaskingBroodscale.java diff --git a/Mage.Sets/src/mage/cards/b/BaskingBroodscale.java b/Mage.Sets/src/mage/cards/b/BaskingBroodscale.java new file mode 100644 index 00000000000..5f9b915de3b --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BaskingBroodscale.java @@ -0,0 +1,49 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.common.OneOrMoreCountersAddedTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.AdaptAbility; +import mage.abilities.keyword.DevoidAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.EldraziSpawnToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BaskingBroodscale extends CardImpl { + + public BaskingBroodscale(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}"); + + this.subtype.add(SubType.ELDRAZI); + this.subtype.add(SubType.LIZARD); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Devoid + this.addAbility(new DevoidAbility(this.color)); + + // {1}{G}: Adapt 1. + this.addAbility(new AdaptAbility(1, "{1}{G}")); + + // Whenever one or more +1/+1 counters are put on Basking Broodscale, you may create a 0/1 colorless Eldrazi Spawn creature token with "Sacrifice this creature: Add {C}." + this.addAbility(new OneOrMoreCountersAddedTriggeredAbility( + new CreateTokenEffect(new EldraziSpawnToken()), true + )); + } + + private BaskingBroodscale(final BaskingBroodscale card) { + super(card); + } + + @Override + public BaskingBroodscale copy() { + return new BaskingBroodscale(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ModernHorizons3.java b/Mage.Sets/src/mage/sets/ModernHorizons3.java index d33a69dc6ab..7544506f1fd 100644 --- a/Mage.Sets/src/mage/sets/ModernHorizons3.java +++ b/Mage.Sets/src/mage/sets/ModernHorizons3.java @@ -23,6 +23,7 @@ public final class ModernHorizons3 extends ExpansionSet { cards.add(new SetCardInfo("Ajani, Nacatl Avenger", 237, Rarity.MYTHIC, mage.cards.a.AjaniNacatlAvenger.class)); cards.add(new SetCardInfo("Ajani, Nacatl Pariah", 237, Rarity.MYTHIC, mage.cards.a.AjaniNacatlPariah.class)); + cards.add(new SetCardInfo("Basking Broodscale", 145, Rarity.COMMON, mage.cards.b.BaskingBroodscale.class)); cards.add(new SetCardInfo("Bloodstained Mire", 216, Rarity.RARE, mage.cards.b.BloodstainedMire.class)); cards.add(new SetCardInfo("Breaker of Creation", 1, Rarity.UNCOMMON, mage.cards.b.BreakerOfCreation.class)); cards.add(new SetCardInfo("Chthonian Nightmare", 83, Rarity.RARE, mage.cards.c.ChthonianNightmare.class));