mirror of
https://github.com/correl/mage.git
synced 2024-11-29 03:00:12 +00:00
[USG] Fix Shower of Sparks (#10106)
Co-authored-by: Alex W. Jackson <alex.w.jackson@gmail.com>
This commit is contained in:
parent
d67376641a
commit
29e1c9b318
1 changed files with 3 additions and 11 deletions
|
@ -1,15 +1,12 @@
|
||||||
|
|
||||||
package mage.cards.s;
|
package mage.cards.s;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.abilities.effects.Effect;
|
|
||||||
import mage.abilities.effects.common.DamageTargetEffect;
|
import mage.abilities.effects.common.DamageTargetEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
import mage.target.common.TargetPlayerOrPlaneswalker;
|
import mage.target.common.TargetPlayerOrPlaneswalker;
|
||||||
import mage.target.targetpointer.SecondTargetPointer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -20,14 +17,9 @@ public final class ShowerOfSparks extends CardImpl {
|
||||||
public ShowerOfSparks(UUID ownerId, CardSetInfo setInfo) {
|
public ShowerOfSparks(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}");
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}");
|
||||||
|
|
||||||
// Shower of Sparks deals 1 damage to target creature and 1 damage to target player.
|
// Shower of sparks deals 1 damage to target creature and 1 damage to target player.
|
||||||
this.getSpellAbility().addEffect(new DamageTargetEffect(1));
|
this.getSpellAbility().addEffect(new DamageTargetEffect(1, true, "target creature and 1 damage to target player or planeswalker"));
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
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());
|
this.getSpellAbility().addTarget(new TargetPlayerOrPlaneswalker());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue