forked from External/mage
refactored all usages of CardTypePredicate to match the new implementation
This commit is contained in:
parent
f685ee3d69
commit
688be783aa
1069 changed files with 1619 additions and 2732 deletions
|
|
@ -5,7 +5,6 @@ import mage.abilities.dynamicvalue.common.StaticValue;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterPermanentOrPlayer;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -16,7 +15,7 @@ public class TargetCreatureOrPlayerAmount extends TargetPermanentOrPlayerAmount
|
|||
= new FilterPermanentOrPlayer("creatures and/or players");
|
||||
|
||||
static {
|
||||
defaultFilter.getPermanentFilter().add(new CardTypePredicate(CardType.CREATURE));
|
||||
defaultFilter.getPermanentFilter().add(CardType.CREATURE.getPredicate());
|
||||
}
|
||||
|
||||
public TargetCreatureOrPlayerAmount(int amount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue