mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
- Fixed Terror.
This commit is contained in:
parent
b05bcffd19
commit
20e01817d0
1 changed files with 5 additions and 2 deletions
|
@ -33,6 +33,7 @@ import mage.Constants.Rarity;
|
|||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.target.Target;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
|
@ -45,9 +46,9 @@ public class Terror extends CardImpl<Terror> {
|
|||
|
||||
static {
|
||||
filter.getNotCardType().add(CardType.ARTIFACT);
|
||||
filter.setNotCardType(true);
|
||||
filter.getColor().setBlack(true);
|
||||
filter.setNotColor(true);
|
||||
filter.setUseColor(true);
|
||||
}
|
||||
|
||||
public Terror(UUID ownerId) {
|
||||
|
@ -57,7 +58,9 @@ public class Terror extends CardImpl<Terror> {
|
|||
this.color.setBlack(true);
|
||||
|
||||
// Destroy target nonartifact, nonblack creature. It can't be regenerated.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
|
||||
Target target = new TargetCreaturePermanent(filter);
|
||||
target.setTargetName("nonartifact, nonblack creature");
|
||||
this.getSpellAbility().addTarget(target);
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue