From bbd0fa2ffbc3141dc453ee33f7029faa267d47f7 Mon Sep 17 00:00:00 2001 From: xenohedron <12538125+xenohedron@users.noreply.github.com> Date: Sat, 1 Feb 2025 00:43:51 -0500 Subject: [PATCH] fix Light Up the Night dealing double damage --- Mage.Sets/src/mage/cards/l/LightUpTheNight.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/l/LightUpTheNight.java b/Mage.Sets/src/mage/cards/l/LightUpTheNight.java index 12053d405ec..e64d7dfed6a 100644 --- a/Mage.Sets/src/mage/cards/l/LightUpTheNight.java +++ b/Mage.Sets/src/mage/cards/l/LightUpTheNight.java @@ -16,7 +16,6 @@ import mage.game.Game; import mage.game.permanent.Permanent; import mage.players.Player; import mage.target.common.TargetAnyTarget; -import mage.util.CardUtil; import java.util.UUID; @@ -69,8 +68,7 @@ class LightUpTheNightEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - // Normal cast + Flashback cast - int damage = CardUtil.getSourceCostsTag(game, source, "X", 0) + GetXValue.instance.calculate(game, source, this); + int damage = GetXValue.instance.calculate(game, source, this); UUID targetId = getTargetPointer().getFirst(game, source); Player player = game.getPlayer(targetId); if (player != null) {