mirror of
https://github.com/correl/mage.git
synced 2024-11-16 19:19:30 +00:00
Revert "set filter on restriction effect"
This reverts commit cb99dbd330
.
This commit is contained in:
parent
cb99dbd330
commit
8357514142
1 changed files with 0 additions and 8 deletions
|
@ -41,9 +41,6 @@ import mage.constants.Duration;
|
||||||
import mage.constants.Outcome;
|
import mage.constants.Outcome;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
|
||||||
import mage.filter.predicate.Predicates;
|
|
||||||
import mage.filter.predicate.mageobject.AbilityPredicate;
|
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
|
|
||||||
|
@ -76,11 +73,6 @@ public class TeferisMoat extends CardImpl {
|
||||||
|
|
||||||
class TeferisMoatRestrictionEffect extends RestrictionEffect {
|
class TeferisMoatRestrictionEffect extends RestrictionEffect {
|
||||||
|
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Creatures without flying");
|
|
||||||
static {
|
|
||||||
filter.add(Predicates.not(new AbilityPredicate(FlyingAbility.class)));
|
|
||||||
}
|
|
||||||
|
|
||||||
TeferisMoatRestrictionEffect(){
|
TeferisMoatRestrictionEffect(){
|
||||||
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
||||||
staticText = "Creatures of the chosen color without flying can't attack you";
|
staticText = "Creatures of the chosen color without flying can't attack you";
|
||||||
|
|
Loading…
Reference in a new issue