mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[refactoring][minor] removed unneeded code.
This commit is contained in:
parent
7734abe87f
commit
ed877f772b
1 changed files with 1 additions and 4 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue