From 29e1c9b318fc4760ca3d935ba4fec9fafcc24c57 Mon Sep 17 00:00:00 2001 From: chesse20 Date: Thu, 9 Mar 2023 16:16:06 -0800 Subject: [PATCH] [USG] Fix Shower of Sparks (#10106) Co-authored-by: Alex W. Jackson --- Mage.Sets/src/mage/cards/s/ShowerOfSparks.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/ShowerOfSparks.java b/Mage.Sets/src/mage/cards/s/ShowerOfSparks.java index 6ae115872e..db144515b3 100644 --- a/Mage.Sets/src/mage/cards/s/ShowerOfSparks.java +++ b/Mage.Sets/src/mage/cards/s/ShowerOfSparks.java @@ -1,15 +1,12 @@ - package mage.cards.s; import java.util.UUID; -import mage.abilities.effects.Effect; import mage.abilities.effects.common.DamageTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetPlayerOrPlaneswalker; -import mage.target.targetpointer.SecondTargetPointer; /** * @@ -19,15 +16,10 @@ public final class ShowerOfSparks extends CardImpl { public ShowerOfSparks(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}"); - - // Shower of Sparks deals 1 damage to target creature and 1 damage to target player. - this.getSpellAbility().addEffect(new DamageTargetEffect(1)); + + // Shower of sparks deals 1 damage to target creature and 1 damage to target player. + this.getSpellAbility().addEffect(new DamageTargetEffect(1, true, "target creature and 1 damage to target player or planeswalker")); this.getSpellAbility().addTarget(new TargetCreaturePermanent()); - - Effect effect = new DamageTargetEffect(1); - effect.setTargetPointer(new SecondTargetPointer()); - effect.setText("and 1 damage to target player"); - this.getSpellAbility().addEffect(effect); this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker()); }