mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
new StaticFilters.FILTER_PERMANENT_CREATURE_OR_LAND
This commit is contained in:
parent
0b802b5992
commit
3eaf80cfa6
12 changed files with 36 additions and 120 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue