diff --git a/Mage.Sets/src/mage/cards/c/CormelaGlamourThief.java b/Mage.Sets/src/mage/cards/c/CormelaGlamourThief.java new file mode 100644 index 0000000000..8c387bc016 --- /dev/null +++ b/Mage.Sets/src/mage/cards/c/CormelaGlamourThief.java @@ -0,0 +1,65 @@ +package mage.cards.c; + +import mage.MageInt; +import mage.Mana; +import mage.abilities.Ability; +import mage.abilities.common.DiesSourceTriggeredAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect; +import mage.abilities.keyword.HasteAbility; +import mage.abilities.mana.ConditionalColoredManaAbility; +import mage.abilities.mana.builder.common.InstantOrSorcerySpellManaBuilder; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.filter.StaticFilters; +import mage.target.common.TargetCardInYourGraveyard; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class CormelaGlamourThief extends CardImpl { + + public CormelaGlamourThief(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}{B}{R}"); + + this.addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.VAMPIRE); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(2); + this.toughness = new MageInt(4); + + // Haste + this.addAbility(HasteAbility.getInstance()); + + // {1}, {T}: Add {U}{B}{R}. Spend this mana only to cast instant and/or sorcery spells. + Ability ability = new ConditionalColoredManaAbility( + new GenericManaCost(1), + new Mana(0, 1, 1, 1, 0, 0, 0, 0), + new InstantOrSorcerySpellManaBuilder() + ); + ability.addCost(new TapSourceCost()); + this.addAbility(ability); + + // When Cormela, Glamour Thief dies, return up to one target instant or sorcery card from your graveyard to your hand. + ability = new DiesSourceTriggeredAbility(new ReturnFromGraveyardToHandTargetEffect(), false); + ability.addTarget(new TargetCardInYourGraveyard( + 0, 1, StaticFilters.FILTER_CARD_INSTANT_OR_SORCERY_FROM_YOUR_GRAVEYARD + )); + this.addAbility(ability); + } + + private CormelaGlamourThief(final CormelaGlamourThief card) { + super(card); + } + + @Override + public CormelaGlamourThief copy() { + return new CormelaGlamourThief(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index 83ff18fed9..80a84ecc51 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -33,6 +33,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Brokers Charm", 171, Rarity.UNCOMMON, mage.cards.b.BrokersCharm.class)); cards.add(new SetCardInfo("Cabaretti Charm", 173, Rarity.UNCOMMON, mage.cards.c.CabarettiCharm.class)); cards.add(new SetCardInfo("Chrome Cat", 236, Rarity.COMMON, mage.cards.c.ChromeCat.class)); + cards.add(new SetCardInfo("Cormela, Glamour Thief", 177, Rarity.UNCOMMON, mage.cards.c.CormelaGlamourThief.class)); cards.add(new SetCardInfo("Courier's Briefcase", 142, Rarity.UNCOMMON, mage.cards.c.CouriersBriefcase.class)); cards.add(new SetCardInfo("Cut of the Profits", 72, Rarity.RARE, mage.cards.c.CutOfTheProfits.class)); cards.add(new SetCardInfo("Devilish Valet", 105, Rarity.RARE, mage.cards.d.DevilishValet.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index b929c26ea6..a87709d33d 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -43943,6 +43943,7 @@ Vivien on the Hunt|Streets of New Capenna|162|M|{4}{G}{G}|Legendary Planeswalker Brokers Ascendancy|Streets of New Capenna|170|R|{G}{W}{U}|Enchantment|||At the beginning of your end step, put a +1/+1 counter on each creature you control and a loyalty counter on each planeswalker you control.| Brokers Charm|Streets of New Capenna|171|U|{G}{W}{U}|Instant|||Choose one —$• Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to target creature or planeswalker an opponent controls.$• Destroy target enchantment.$• Draw two cards.| Cabaretti Charm|Streets of New Capenna|173|U|{R}{G}{W}|Instant|||Choose one —$• Cabaretti Charm deals damage equal to the number of creatures you control to target creature or planeswalker.$• Creatures you control get +1/+1 and gain trample until end of turn.$• Create two 1/1 green and white Citizen creature tokens.| +Cormela, Glamour Thief|Streets of New Capenna|177|U|{1}{U}{B}{R}|Legendary Creature - Vampire Rogue|2|4|Haste${1}, {T}: Add {U}{B}{R}. Spend this mana only to cast instant and/or sorcery spells.$When Cormela, Glamour Thief dies, return up to one target instant or sorcery card from your graveyard to your hand.| Disciplined Duelist|Streets of New Capenna|182|U|{G}{W}{U}|Creature - Human Citizen|2|1|Double strike$Disciplined Duelist enters the battlefield with a shield counter on it.| Evelyn, the Covetous|Streets of New Capenna|184|R|{2}{U/B}{B}{B/R}|Legendary Creature - Vampire Rogue|2|5|Flash$Whenever Evelyn, the Covetous or another vampire enters the battlefield under your control, exile the top card of each player's library with a collection counter on it.$Once each turn, you may play a card from exile with a collection counter on it if it was exiled by an ability you controlled, and you may spend mana as though it were any color to cast it.| Falco Spara, Pactweaver|Streets of New Capenna|186|M|{1}{G}{W}{U}|Legendary Creature - Bird Demon|3|3|Flying, trample$Falco Spara, Pactweaver enters the battlefield with a shield counter on it.$You may look at the top card of your library any time.$You may cast spells from the top of your library by removing a counter from a creature you control in addition to paying their other costs.|