forked from External/mage
refactored TokenPredicate to contain its own inverse
This commit is contained in:
parent
cb5d873fea
commit
bdeb0dde66
180 changed files with 196 additions and 310 deletions
|
|
@ -5,7 +5,6 @@ import mage.abilities.common.LeavesBattlefieldAllTriggeredAbility;
|
|||
import mage.abilities.effects.common.discard.DiscardControllerEffect;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.command.Emblem;
|
||||
|
||||
|
|
@ -18,7 +17,7 @@ public final class AurraSingBaneOfJediEmblem extends Emblem {
|
|||
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("a nontoken creature you control");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(TokenPredicate.instance));
|
||||
filter.add(TokenPredicate.FALSE);
|
||||
}
|
||||
|
||||
// Whenever a nontoken creature you control leaves the battlefied, discard a card.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue