mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* TargetNonBasicLandPermanent - Fixed a bug that nonland permanents could be targeted. Made Target by default required.
This commit is contained in:
parent
c58f6c68a1
commit
78f6e28f33
1 changed files with 2 additions and 2 deletions
|
@ -30,13 +30,12 @@ package mage.target.common;
|
|||
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class TargetNonBasicLandPermanent extends TargetPermanent {
|
||||
public class TargetNonBasicLandPermanent extends TargetLandPermanent {
|
||||
|
||||
public TargetNonBasicLandPermanent() {
|
||||
filter.add(Predicates.not(new NamePredicate("Island")));
|
||||
|
@ -45,6 +44,7 @@ public class TargetNonBasicLandPermanent extends TargetPermanent {
|
|||
filter.add(Predicates.not(new NamePredicate("Swamp")));
|
||||
filter.add(Predicates.not(new NamePredicate("Plains")));
|
||||
this.targetName = "nonbasic land";
|
||||
this.setRequired(true);
|
||||
}
|
||||
|
||||
public TargetNonBasicLandPermanent(final TargetNonBasicLandPermanent target) {
|
||||
|
|
Loading…
Reference in a new issue