From 46c613625d995349294464405d573d42a1a8be15 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 9 Apr 2022 09:04:49 -0400 Subject: [PATCH] [SNC] Implemented Rob the Archives --- .../src/mage/cards/r/RobTheArchives.java | 34 +++++++++++++++++++ .../src/mage/sets/StreetsOfNewCapenna.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 36 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/r/RobTheArchives.java diff --git a/Mage.Sets/src/mage/cards/r/RobTheArchives.java b/Mage.Sets/src/mage/cards/r/RobTheArchives.java new file mode 100644 index 0000000000..ca4541f5b4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RobTheArchives.java @@ -0,0 +1,34 @@ +package mage.cards.r; + +import mage.abilities.effects.common.ExileTopXMayPlayUntilEndOfTurnEffect; +import mage.abilities.keyword.CasualtyAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RobTheArchives extends CardImpl { + + public RobTheArchives(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}"); + + // Casualty 1 + this.addAbility(new CasualtyAbility(this, 1)); + + // Exile the top two cards of your library. You may play those cards this turn. + this.getSpellAbility().addEffect(new ExileTopXMayPlayUntilEndOfTurnEffect(2, false)); + } + + private RobTheArchives(final RobTheArchives card) { + super(card); + } + + @Override + public RobTheArchives copy() { + return new RobTheArchives(this); + } +} diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java index 2d58d93bb0..8b74959bb2 100644 --- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java +++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java @@ -66,6 +66,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet { cards.add(new SetCardInfo("Raffine's Tower", 254, Rarity.RARE, mage.cards.r.RaffinesTower.class)); cards.add(new SetCardInfo("Raffine, Scheming Seer", 213, Rarity.MYTHIC, mage.cards.r.RaffineSchemingSeer.class)); cards.add(new SetCardInfo("Riveteers Charm", 217, Rarity.UNCOMMON, mage.cards.r.RiveteersCharm.class)); + cards.add(new SetCardInfo("Rob the Archives", 122, Rarity.UNCOMMON, mage.cards.r.RobTheArchives.class)); cards.add(new SetCardInfo("Rumor Gatherer", 29, Rarity.UNCOMMON, mage.cards.r.RumorGatherer.class)); cards.add(new SetCardInfo("Skybridge Towers", 256, Rarity.COMMON, mage.cards.s.SkybridgeTowers.class)); cards.add(new SetCardInfo("Snooping Newsie", 222, Rarity.COMMON, mage.cards.s.SnoopingNewsie.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 408c8646d0..d389c57f74 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -43939,6 +43939,7 @@ Devilish Valet|Streets of New Capenna|105|R|{2}{R}|Creature - Devil Warrior|1|3| Jaxis, the Troublemaker|Streets of New Capenna|112|R|{3}{R}|Legendary Creature - Human Warrior|2|3|{R}, {T}, Discard a card: Create a token that's a copy of another target creature you control. It gains haste and "When this creature dies, draw a card." Sacrifice it at the beginning of the next end step. Activate only as a sorcery.$Blitz {1}{R}| Light 'Em Up|Streets of New Capenna|113|C|{1}{R}|Sorcery|||Casualty 2$Light 'Em Up deals 2 damage to target creature or planeswalker.| Professional Face-Breaker|Streets of New Capenna|116|R|{2}{R}|Creature - Human Warrior|2|3|Menace$Whenever one or more creatures you control deal combat damage to a player, create a Treasure token.$Sacrifice a Treasure: Exile the top card of your library. You may play that card this turn.| +Rob the Archives|Streets of New Capenna|122|U|{1}{R}|Sorcery|||Casualty 1$Exile the top two cards of your library. You may play those cards this turn.| Strangle|Streets of New Capenna|125|C|{R}|Sorcery|||Strangle deals 3 damage to target creature or planeswalker.| Urabrask, Heretic Praetor|Streets of New Capenna|129|M|{3}{R}{R}|Legendary Creature - Phyrexian Praetor|4|4|Haste$At the beginning of your upkeep, exile the top card of your library. You may play it this turn.$At the beginning of each opponent's upkeep, the next time they would draw a card this turn, instead they exile the top card of their library. They may play it this turn.| Courier's Briefcase|Streets of New Capenna|142|U|{1}{G}|Artifact - Treasure|||When Courier's Briefcase enters the battlefield, create a 1/1 green and white Citizen creature token.${T}, Sacrifice Courier's Briefcase: Add one mana of any color.${W}{U}{B}{R}{G}, {T}, Sacrifice Courier's Briefcase: Draw three cards.|