mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
add static filter for creatures with flying
This commit is contained in:
parent
28a78d80af
commit
7f189f5e4b
103 changed files with 451 additions and 1291 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package mage.filter;
|
||||
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.*;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.common.*;
|
||||
|
|
@ -1159,6 +1160,13 @@ public final class StaticFilters {
|
|||
FILTER_CREATURES_NON_TOKEN.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterCreaturePermanent FILTER_CREATURE_FLYING = new FilterCreaturePermanent("creature with flying");
|
||||
|
||||
static {
|
||||
FILTER_CREATURE_FLYING.add(new AbilityPredicate(FlyingAbility.class));
|
||||
FILTER_CREATURE_FLYING.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterControlledCreaturePermanent FILTER_A_CONTROLLED_CREATURE_P1P1 = new FilterControlledCreaturePermanent("a creature you control with a +1/+1 counter on it");
|
||||
|
||||
static {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue