Spectral Shepherd double check to only target spirits you control

This commit is contained in:
drmDev 2016-07-25 11:11:59 -04:00
parent 877106c2ad
commit f2cb945744

View file

@ -37,9 +37,11 @@ import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.Rarity; import mage.constants.Rarity;
import mage.constants.TargetController;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterControlledPermanent; import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.SubtypePredicate; import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.target.common.TargetControlledPermanent; import mage.target.common.TargetControlledPermanent;
/** /**
@ -51,6 +53,7 @@ public class SpectralShepherd extends CardImpl {
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Spirit"); private static final FilterControlledPermanent filter = new FilterControlledPermanent("Spirit");
static { static {
filter.add(new ControllerPredicate(TargetController.YOU));
filter.add(new SubtypePredicate("Spirit")); filter.add(new SubtypePredicate("Spirit"));
} }