mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Caught in the Brights - Fixed that it triggered for all attacking vehicles not only controlled vehicles.
This commit is contained in:
parent
267aee43a5
commit
a9e76069c1
1 changed files with 91 additions and 89 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue