static {
   filter.add(
       Predicates.or(
           new CardTypePredicate(CardType.INSTANT), new CardTypePredicate(CardType.SORCERY)));
   filterPermanent.add(Predicates.not(new TokenPredicate()));
   filterPermanent.add(new AnotherPredicate());
 }
Example #2
0
 static {
   filter.add(new ControllerPredicate(TargetController.NOT_YOU));
 }
Example #3
0
 static {
   filterSpell.add(new ColorlessPredicate());
 }
Example #4
0
 static {
   filter.add(Predicates.not(new CardTypePredicate(CardType.CREATURE)));
 }
Example #5
0
 static {
   blueFilter.add(new ColorPredicate(ObjectColor.BLUE));
   blackFilter.add(new ColorPredicate(ObjectColor.BLACK));
 }
Example #6
0
 static {
   filter.add(new CardTypePredicate(CardType.ARTIFACT));
 }
Example #7
0
 static {
   filter.add(Predicates.not(new SubtypePredicate("Faerie")));
 }
Example #8
0
 static {
   filterNonCreature.add(Predicates.not(new CardTypePredicate(CardType.CREATURE)));
 }
 static {
   filterSpell.add(new CardTypePredicate(CardType.CREATURE));
   filterSpell.add(new ConvertedManaCostPredicate(Filter.ComparisonType.GreaterThan, 4));
 }
Example #10
0
 static {
   filterGreenSpell.add(new ColorPredicate(ObjectColor.GREEN));
   filterBlueSpell.add(new ColorPredicate(ObjectColor.BLUE));
 }
Example #11
0
 static {
   filter.add(
       Predicates.or(
           new CardTypePredicate(CardType.INSTANT), new CardTypePredicate(CardType.SORCERY)));
 }
Example #12
0
 static {
   filter.add(new ColorPredicate(ObjectColor.RED));
   filter.add(
       Predicates.or(
           new CardTypePredicate(CardType.INSTANT), new CardTypePredicate(CardType.SORCERY)));
 }
 static {
   filter.add(new SupertypePredicate("Legendary"));
 }
Example #14
0
 static {
   filterSpell.add(new ColorPredicate(ObjectColor.GREEN));
   filterLand.add(new SubtypePredicate("Forest"));
 }
Example #15
0
 static {
   filter.add(new ColorPredicate(ObjectColor.BLACK));
 }
Example #16
0
 static {
   filter.add(new ColorPredicate(ObjectColor.GREEN));
 }
Example #17
0
 static {
   filter.add(new SubtypePredicate("Giant"));
 }
Example #18
0
 static {
   filter.add(new SecondSpellPredicate());
 }
Example #19
0
 static {
   filter.add(new DawnCharmPredicate());
 }
Example #20
0
 static {
   filter.add(new CardTypePredicate(CardType.INSTANT));
 }