From ac3b709681b42860f02c18d201771a214489467e Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 16 Apr 2022 09:51:46 -0400 Subject: [PATCH] [SNC] Implemented Sky Crier --- Mage.Sets/src/mage/cards/s/SkyCrier.java | 55 +++++++++++++++++++ .../src/mage/sets/StreetsOfNewCapenna.java | 1 + 2 files changed, 56 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SkyCrier.java diff --git a/Mage.Sets/src/mage/cards/s/SkyCrier.java b/Mage.Sets/src/mage/cards/s/SkyCrier.java new file mode 100644 index 0000000000..125ae3e13b --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SkyCrier.java @@ -0,0 +1,55 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.DrawCardTargetEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.LifelinkAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetOpponent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SkyCrier extends CardImpl { + + public SkyCrier(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}"); + + this.subtype.add(SubType.BIRD); + this.subtype.add(SubType.CITIZEN); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Lifelink + this.addAbility(LifelinkAbility.getInstance()); + + // {3}{W}: You and target opponent each draw a card. + Ability ability = new SimpleActivatedAbility( + new DrawCardSourceControllerEffect(1).setText("you"), new ManaCostsImpl<>("{3}{W}") + ); + ability.addEffect(new DrawCardTargetEffect(1).setText("and target opponent each draw a card")); + ability.addTarget(new TargetOpponent()); + this.addAbility(ability); + } + + private SkyCrier(final SkyCrier card) { + super(card); + } + + @Override + public SkyCrier copy() { + return new SkyCrier(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index 9bae0c6879..bb3172ecf8 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -196,6 +196,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Sewer Crocodile", 60, Rarity.COMMON, mage.cards.s.SewerCrocodile.class)); cards.add(new SetCardInfo("Shadow of Mortality", 94, Rarity.RARE, mage.cards.s.ShadowOfMortality.class)); cards.add(new SetCardInfo("Shakedown Heavy", 95, Rarity.RARE, mage.cards.s.ShakedownHeavy.class)); + cards.add(new SetCardInfo("Sky Crier", 31, Rarity.COMMON, mage.cards.s.SkyCrier.class)); cards.add(new SetCardInfo("Skybridge Towers", 256, Rarity.COMMON, mage.cards.s.SkybridgeTowers.class)); cards.add(new SetCardInfo("Sleep with the Fishes", 61, Rarity.UNCOMMON, mage.cards.s.SleepWithTheFishes.class)); cards.add(new SetCardInfo("Slip Out the Back", 62, Rarity.UNCOMMON, mage.cards.s.SlipOutTheBack.class));