From 50c2b52d7388ef1a8382ac5ac720f6f74e9e8ed7 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 19 Sep 2016 11:18:49 +0200 Subject: [PATCH] * Spark of Creativity - Fixed the missing target definition. --- Mage.Sets/src/mage/sets/kaladesh/SparkOfCreativity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/kaladesh/SparkOfCreativity.java b/Mage.Sets/src/mage/sets/kaladesh/SparkOfCreativity.java index 6f64ad0278..b0d562e2ca 100644 --- a/Mage.Sets/src/mage/sets/kaladesh/SparkOfCreativity.java +++ b/Mage.Sets/src/mage/sets/kaladesh/SparkOfCreativity.java @@ -44,6 +44,7 @@ import mage.constants.Zone; import mage.game.Game; import mage.game.permanent.Permanent; import mage.players.Player; +import mage.target.common.TargetCreaturePermanent; /** * @@ -57,6 +58,7 @@ public class SparkOfCreativity extends CardImpl { // Choose target creature. Exile the top card of your library. You may have Spark of Creativity deal damage to that creature equal to the converted mana cost of the exiled card. If you don't, you may play that card until end of turn. this.getSpellAbility().addEffect(new SparkOfCreativityEffect()); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); } public SparkOfCreativity(final SparkOfCreativity card) { @@ -142,9 +144,7 @@ class SparkOfCreativityPlayEffect extends AsThoughEffectImpl { if (objectReference.refersTo(objectId, game) && affectedControllerId.equals(source.getControllerId())) { Player controller = game.getPlayer(source.getControllerId()); if (controller != null) { - if (controller.chooseUse(outcome, "Play the exiled card?", source, game)) { - return true; - } + return true; } else { discard(); }