mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Spectral Shepherd double check to only target spirits you control
This commit is contained in:
parent
877106c2ad
commit
f2cb945744
1 changed files with 3 additions and 0 deletions
|
@ -37,9 +37,11 @@ import mage.abilities.keyword.FlyingAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
/**
|
||||
|
@ -51,6 +53,7 @@ public class SpectralShepherd extends CardImpl {
|
|||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Spirit");
|
||||
|
||||
static {
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
filter.add(new SubtypePredicate("Spirit"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue