mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
Implemented Sword of Sinew and Steel
This commit is contained in:
parent
4a42b6b3f7
commit
6abfb1370f
5 changed files with 112 additions and 9 deletions
|
|
@ -151,13 +151,13 @@ public final class StaticFilters {
|
|||
FILTER_PERMANENTS.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterPermanent FILTER_PERMANENT_ARTIFACT = new FilterArtifactPermanent("artifact");
|
||||
public static final FilterArtifactPermanent FILTER_PERMANENT_ARTIFACT = new FilterArtifactPermanent("artifact");
|
||||
|
||||
static {
|
||||
FILTER_PERMANENT_ARTIFACT.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterPermanent FILTER_PERMANENT_ARTIFACT_AN = new FilterArtifactPermanent("an artifact");
|
||||
public static final FilterArtifactPermanent FILTER_PERMANENT_ARTIFACT_AN = new FilterArtifactPermanent("an artifact");
|
||||
|
||||
static {
|
||||
FILTER_PERMANENT_ARTIFACT_AN.setLockedFilter(true);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
package mage.target.common;
|
||||
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterArtifactPermanent;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
|
|
@ -9,22 +8,22 @@ import mage.target.TargetPermanent;
|
|||
* @author ayratn
|
||||
*/
|
||||
public class TargetArtifactPermanent extends TargetPermanent {
|
||||
|
||||
|
||||
public TargetArtifactPermanent() {
|
||||
this(1, 1, new FilterArtifactPermanent(), false);
|
||||
this(1, 1, StaticFilters.FILTER_PERMANENT_ARTIFACT, false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public TargetArtifactPermanent(FilterArtifactPermanent filter) {
|
||||
this(1, 1, filter, false);
|
||||
}
|
||||
|
||||
public TargetArtifactPermanent(int numTargets) {
|
||||
this(numTargets, numTargets, new FilterArtifactPermanent(), false);
|
||||
this(numTargets, numTargets, StaticFilters.FILTER_PERMANENT_ARTIFACT, false);
|
||||
}
|
||||
|
||||
public TargetArtifactPermanent(int minNumTargets, int maxNumTargets) {
|
||||
this(minNumTargets, maxNumTargets, new FilterArtifactPermanent(), false);
|
||||
this(minNumTargets, maxNumTargets, StaticFilters.FILTER_PERMANENT_ARTIFACT, false);
|
||||
}
|
||||
|
||||
public TargetArtifactPermanent(int minNumTargets, int maxNumTargets, FilterArtifactPermanent filter, boolean notTarget) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,40 @@
|
|||
package mage.target.common;
|
||||
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterPlaneswalkerPermanent;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class TargetPlaneswalkerPermanent extends TargetPermanent {
|
||||
|
||||
public TargetPlaneswalkerPermanent() {
|
||||
this(1, 1, StaticFilters.FILTER_PERMANENT_PLANESWALKER, false);
|
||||
}
|
||||
|
||||
public TargetPlaneswalkerPermanent(FilterPlaneswalkerPermanent filter) {
|
||||
this(1, 1, filter, false);
|
||||
}
|
||||
|
||||
public TargetPlaneswalkerPermanent(int numTargets) {
|
||||
this(numTargets, numTargets, StaticFilters.FILTER_PERMANENT_PLANESWALKER, false);
|
||||
}
|
||||
|
||||
public TargetPlaneswalkerPermanent(int minNumTargets, int maxNumTargets) {
|
||||
this(minNumTargets, maxNumTargets, StaticFilters.FILTER_PERMANENT_PLANESWALKER, false);
|
||||
}
|
||||
|
||||
public TargetPlaneswalkerPermanent(int minNumTargets, int maxNumTargets, FilterPlaneswalkerPermanent filter, boolean notTarget) {
|
||||
super(minNumTargets, maxNumTargets, filter, notTarget);
|
||||
}
|
||||
|
||||
private TargetPlaneswalkerPermanent(final TargetPlaneswalkerPermanent target) {
|
||||
super(target);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TargetPlaneswalkerPermanent copy() {
|
||||
return new TargetPlaneswalkerPermanent(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue