From 472cdaf841f700e1cdb758e4c22adec9ebd73fcb Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 18 Apr 2022 21:00:43 -0400 Subject: [PATCH] [SNC] Implemented Glamorous Outlaw --- .../src/mage/cards/g/GlamorousOutlaw.java | 49 +++++++++++++++++++ .../src/mage/sets/StreetsOfNewCapenna.java | 1 + 2 files changed, 50 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/g/GlamorousOutlaw.java diff --git a/Mage.Sets/src/mage/cards/g/GlamorousOutlaw.java b/Mage.Sets/src/mage/cards/g/GlamorousOutlaw.java new file mode 100644 index 0000000000..7b5787708a --- /dev/null +++ b/Mage.Sets/src/mage/cards/g/GlamorousOutlaw.java @@ -0,0 +1,49 @@ +package mage.cards.g; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.common.GiveManaAbilityAndCastSourceAbility; +import mage.abilities.effects.common.DamagePlayersEffect; +import mage.abilities.effects.keyword.ScryEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.TargetController; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class GlamorousOutlaw extends CardImpl { + + public GlamorousOutlaw(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{B}{R}"); + + this.subtype.add(SubType.VAMPIRE); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(4); + this.toughness = new MageInt(5); + + // When Glamorous Outlaw enters the battlefield, it deals 2 damage to each opponent and you scry 2. + Ability ability = new EntersBattlefieldTriggeredAbility( + new DamagePlayersEffect(2, TargetController.OPPONENT) + ); + ability.addEffect(new ScryEffect(2, false).concatBy("and you")); + this.addAbility(ability); + + // {2}, Exile Glamorous Outlaw from your hand: Target land gains "{T}: Add {U}, {B}, or {R}" until Glamorous Outlaw is cast from exile. You may cast Glamorous Outlaw for as long as it remains exiled. + this.addAbility(new GiveManaAbilityAndCastSourceAbility("UBR")); + } + + private GlamorousOutlaw(final GlamorousOutlaw card) { + super(card); + } + + @Override + public GlamorousOutlaw copy() { + return new GlamorousOutlaw(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index ba647b405b..45d789cfef 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -116,6 +116,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Getaway Car", 237, Rarity.RARE, mage.cards.g.GetawayCar.class)); cards.add(new SetCardInfo("Gilded Pinions", 238, Rarity.COMMON, mage.cards.g.GildedPinions.class)); cards.add(new SetCardInfo("Girder Goons", 80, Rarity.COMMON, mage.cards.g.GirderGoons.class)); + cards.add(new SetCardInfo("Glamorous Outlaw", 190, Rarity.COMMON, mage.cards.g.GlamorousOutlaw.class)); cards.add(new SetCardInfo("Glittering Stockpile", 107, Rarity.UNCOMMON, mage.cards.g.GlitteringStockpile.class)); cards.add(new SetCardInfo("Glittermonger", 149, Rarity.COMMON, mage.cards.g.Glittermonger.class)); cards.add(new SetCardInfo("Goldhound", 108, Rarity.COMMON, mage.cards.g.Goldhound.class));