From 7e4c438c51979f89de055af769b1770540696d7c Mon Sep 17 00:00:00 2001
From: Evan Kranzler <theelk801@gmail.com>
Date: Sat, 9 Apr 2022 09:39:47 -0400
Subject: [PATCH] [SNC] Implemented Luxurious Libation

---
 .../src/mage/cards/l/LuxuriousLibation.java   | 39 +++++++++++++++++++
 .../src/mage/sets/StreetsOfNewCapenna.java    |  1 +
 Utils/mtg-cards-data.txt                      |  1 +
 3 files changed, 41 insertions(+)
 create mode 100644 Mage.Sets/src/mage/cards/l/LuxuriousLibation.java

diff --git a/Mage.Sets/src/mage/cards/l/LuxuriousLibation.java b/Mage.Sets/src/mage/cards/l/LuxuriousLibation.java
new file mode 100644
index 0000000000..8d1a47af15
--- /dev/null
+++ b/Mage.Sets/src/mage/cards/l/LuxuriousLibation.java
@@ -0,0 +1,39 @@
+package mage.cards.l;
+
+import mage.abilities.dynamicvalue.common.ManacostVariableValue;
+import mage.abilities.effects.common.CreateTokenEffect;
+import mage.abilities.effects.common.continuous.BoostTargetEffect;
+import mage.cards.CardImpl;
+import mage.cards.CardSetInfo;
+import mage.constants.CardType;
+import mage.constants.Duration;
+import mage.game.permanent.token.CitizenGreenWhiteToken;
+import mage.target.common.TargetCreaturePermanent;
+
+import java.util.UUID;
+
+/**
+ * @author TheElk801
+ */
+public final class LuxuriousLibation extends CardImpl {
+
+    public LuxuriousLibation(UUID ownerId, CardSetInfo setInfo) {
+        super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{X}{G}");
+
+        // Target creature gets +X/+X until end of turn. Create a 1/1 green and white Citizen creature token.
+        this.getSpellAbility().addEffect(new BoostTargetEffect(
+                ManacostVariableValue.REGULAR, ManacostVariableValue.REGULAR, Duration.EndOfTurn
+        ));
+        this.getSpellAbility().addEffect(new CreateTokenEffect(new CitizenGreenWhiteToken()));
+        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
+    }
+
+    private LuxuriousLibation(final LuxuriousLibation card) {
+        super(card);
+    }
+
+    @Override
+    public LuxuriousLibation copy() {
+        return new LuxuriousLibation(this);
+    }
+}
diff --git a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java
index da78f19da3..e3dfc9fa17 100644
--- a/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java
+++ b/Mage.Sets/src/mage/sets/StreetsOfNewCapenna.java
@@ -52,6 +52,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
         cards.add(new SetCardInfo("Ledger Shredder", 46, Rarity.RARE, mage.cards.l.LedgerShredder.class));
         cards.add(new SetCardInfo("Light 'Em Up", 113, Rarity.COMMON, mage.cards.l.LightEmUp.class));
         cards.add(new SetCardInfo("Lord Xander, the Collector", 197, Rarity.MYTHIC, mage.cards.l.LordXanderTheCollector.class));
+        cards.add(new SetCardInfo("Luxurious Libation", 152, Rarity.UNCOMMON, mage.cards.l.LuxuriousLibation.class));
         cards.add(new SetCardInfo("Maestros Charm", 199, Rarity.UNCOMMON, mage.cards.m.MaestrosCharm.class));
         cards.add(new SetCardInfo("Maestros Diabolist", 200, Rarity.RARE, mage.cards.m.MaestrosDiabolist.class));
         cards.add(new SetCardInfo("Maestros Initiate", 86, Rarity.COMMON, mage.cards.m.MaestrosInitiate.class));
diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt
index 8319e27217..914725f859 100644
--- a/Utils/mtg-cards-data.txt
+++ b/Utils/mtg-cards-data.txt
@@ -43945,6 +43945,7 @@ Strangle|Streets of New Capenna|125|C|{R}|Sorcery|||Strangle deals 3 damage to t
 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.|
 Gala Greeters|Streets of New Capenna|148|R|{1}{G}|Creature - Elf Druid|1|1|Alliance — Whenever another creature enters the battlefield under your control, choose one that hasn't been chosen this turn—$• Put a +1/+1 counter on Gala Greeters.$• Create a tapped Treasure token.$• You gain 2 life.|
+Luxurious Libation|Streets of New Capenna|152|U|{X}{G}|Instant|||Target creature gets +X/+X until end of turn. Create a 1/1 green and white Citizen creature token.|
 Vivien on the Hunt|Streets of New Capenna|162|M|{4}{G}{G}|Legendary Planeswalker - Vivien|4|+2: You may sacrifice a creature. If you do, search your library for a creature card with mana value equal to 1 plus the sacrificed creature's mana value, put it onto the battlefield, then shuffle.$+1: Mill five cards, then put any number of creature cards milled this way into your hand.$−1: Create a 4/4 green Rhino Warrior creature token.|
 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.|