* Caught in the Brights - Fixed that it triggered for all attacking vehicles not only controlled vehicles.

This commit is contained in:
LevelX2 2017-01-08 13:13:07 +01:00
parent 267aee43a5
commit a9e76069c1

View file

@ -41,10 +41,11 @@ import mage.constants.AttachmentType;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.Outcome; import mage.constants.Outcome;
import mage.constants.SetTargetPointer; import mage.constants.SetTargetPointer;
import mage.constants.TargetController;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterArtifactCreaturePermanent;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.mageobject.SubtypePredicate; import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.target.TargetPermanent; import mage.target.TargetPermanent;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
@ -57,6 +58,7 @@ public class CaughtInTheBrights extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Vehicle you control"); private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Vehicle you control");
static { static {
filter.add(new ControllerPredicate(TargetController.YOU));
filter.add(new SubtypePredicate("Vehicle")); filter.add(new SubtypePredicate("Vehicle"));
} }