new StaticFilters.FILTER_PERMANENT_CREATURE_OR_LAND

This commit is contained in:
xenohedron 2023-07-17 00:24:50 -04:00
parent 0b802b5992
commit 3eaf80cfa6
12 changed files with 36 additions and 120 deletions

View file

@ -734,6 +734,17 @@ public final class StaticFilters {
FILTER_PERMANENT_CREATURE_OR_PLANESWALKER.setLockedFilter(true);
}
public static final FilterPermanent FILTER_PERMANENT_CREATURE_OR_LAND = new FilterPermanent("creature or land");
static {
FILTER_PERMANENT_CREATURE_OR_LAND.add(
Predicates.or(
CardType.CREATURE.getPredicate(),
CardType.LAND.getPredicate()
));
FILTER_PERMANENT_CREATURE_OR_LAND.setLockedFilter(true);
}
public static final FilterCreaturePermanent FILTER_PERMANENT_A_CREATURE = new FilterCreaturePermanent("a creature");
static {