fixed Twincast targeting any spell (fixes
-
package mage.cards.t;
-import java.util.UUID;
import mage.abilities.effects.common.CopyTargetSpellEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@@ -9,8 +7,9 @@ import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.target.TargetSpell;
+import java.util.UUID;
+
/**
- *
* @author Loki
*/
public final class Twincast extends CardImpl {
@@ -20,7 +19,7 @@ public final class Twincast extends CardImpl {
// Copy target instant or sorcery spell. You may choose new targets for the copy.
this.getSpellAbility().addEffect(new CopyTargetSpellEffect());
- this.getSpellAbility().addTarget(new TargetSpell());
+ this.getSpellAbility().addTarget(new TargetSpell(StaticFilters.FILTER_SPELL_INSTANT_OR_SORCERY));
}
private Twincast(final Twincast card) {
