From 42e152042168659e94ccf57c3f5ed66e2b655a3e Mon Sep 17 00:00:00 2001 From: Susucre <34709007+Susucre@users.noreply.github.com> Date: Sat, 30 Mar 2024 23:18:38 +0100 Subject: [PATCH] [OTJ] Implement Scalestorm Summoner --- .../src/mage/cards/s/ScalestormSummoner.java | 49 +++++++++++++++++++ .../mage/sets/OutlawsOfThunderJunction.java | 1 + 2 files changed, 50 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/ScalestormSummoner.java diff --git a/Mage.Sets/src/mage/cards/s/ScalestormSummoner.java b/Mage.Sets/src/mage/cards/s/ScalestormSummoner.java new file mode 100644 index 00000000000..dba1d2a3b2c --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/ScalestormSummoner.java @@ -0,0 +1,49 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.condition.common.FerociousCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.hint.common.FerociousHint; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.Dinosaur31Token; + +import java.util.UUID; + +/** + * @author Susucr + */ +public final class ScalestormSummoner extends CardImpl { + + public ScalestormSummoner(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WARLOCK); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Whenever Scalestorm Summoner attacks, create a 3/1 red Dinosaur creature token if you control a creature with power 4 or greater. + this.addAbility(new AttacksTriggeredAbility( + new ConditionalOneShotEffect( + new CreateTokenEffect(new Dinosaur31Token()), + FerociousCondition.instance, + "create a 3/1 red Dinosaur creature token " + + "if you control a creature with power 4 or greater" + ) + ).addHint(FerociousHint.instance)); + } + + private ScalestormSummoner(final ScalestormSummoner card) { + super(card); + } + + @Override + public ScalestormSummoner copy() { + return new ScalestormSummoner(this); + } +} diff --git a/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java b/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java index cf7d779a855..b2f089e28ba 100644 --- a/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java +++ b/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java @@ -147,6 +147,7 @@ public final class OutlawsOfThunderJunction extends ExpansionSet { cards.add(new SetCardInfo("Roxanne, Starfall Savant", 228, Rarity.RARE, mage.cards.r.RoxanneStarfallSavant.class)); cards.add(new SetCardInfo("Ruthless Lawbringer", 229, Rarity.UNCOMMON, mage.cards.r.RuthlessLawbringer.class)); cards.add(new SetCardInfo("Sandstorm Verge", 263, Rarity.UNCOMMON, mage.cards.s.SandstormVerge.class)); + cards.add(new SetCardInfo("Scalestorm Summoner", 144, Rarity.UNCOMMON, mage.cards.s.ScalestormSummoner.class)); cards.add(new SetCardInfo("Scorching Shot", 145, Rarity.UNCOMMON, mage.cards.s.ScorchingShot.class)); cards.add(new SetCardInfo("Seraphic Steed", 232, Rarity.RARE, mage.cards.s.SeraphicSteed.class)); cards.add(new SetCardInfo("Servant of the Stinger", 105, Rarity.UNCOMMON, mage.cards.s.ServantOfTheStinger.class));