[refactoring][minor] removed unneeded code.

This commit is contained in:
North 2012-07-03 08:48:19 +03:00
parent 7734abe87f
commit ed877f772b

View file

@ -33,7 +33,6 @@ import mage.Constants.Rarity;
import mage.abilities.effects.common.DestroyTargetEffect; import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterCreaturePermanent;
import mage.target.Target;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
/** /**
@ -58,9 +57,7 @@ public class Terror extends CardImpl<Terror> {
this.color.setBlack(true); this.color.setBlack(true);
// Destroy target nonartifact, nonblack creature. It can't be regenerated. // Destroy target nonartifact, nonblack creature. It can't be regenerated.
Target target = new TargetCreaturePermanent(filter); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
target.setTargetName("nonartifact, nonblack creature");
this.getSpellAbility().addTarget(target);
this.getSpellAbility().addEffect(new DestroyTargetEffect(true)); this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
} }