fixed Seize the Soul

This commit is contained in:
Evan Kranzler 2020-04-23 17:33:39 -04:00
parent ce7df21792
commit 4e5e00d2be

View file

@ -11,7 +11,7 @@ import mage.constants.CardType;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates; import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.ColorPredicate; import mage.filter.predicate.mageobject.ColorPredicate;
import mage.game.permanent.token.SpiritToken; import mage.game.permanent.token.SpiritWhiteToken;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
import java.util.UUID; import java.util.UUID;
@ -33,18 +33,18 @@ public final class SeizeTheSoul extends CardImpl {
// Destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield. // Destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield.
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritToken())); this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritWhiteToken()));
this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter)); this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
// Haunt // Haunt
// When the creature Seize the Soul haunts dies, destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield. // When the creature Seize the Soul haunts dies, destroy target nonwhite, nonblack creature. Put a 1/1 white Spirit creature token with flying onto the battlefield.
Ability ability = new HauntAbility(this, new DestroyTargetEffect()); Ability ability = new HauntAbility(this, new DestroyTargetEffect());
ability.addEffect(new CreateTokenEffect(new SpiritToken())); ability.addEffect(new CreateTokenEffect(new SpiritWhiteToken()));
ability.addTarget(new TargetCreaturePermanent()); ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability); this.addAbility(ability);
} }
public SeizeTheSoul(final SeizeTheSoul card) { private SeizeTheSoul(final SeizeTheSoul card) {
super(card); super(card);
} }