[TLA] Implement Rebellious Captives

This commit is contained in:
theelk801 2025-08-15 07:51:55 -04:00
parent 0fc1eba02c
commit 076dcf1cf9
12 changed files with 98 additions and 26 deletions

View file

@ -0,0 +1,30 @@
package mage.target.common;
import mage.filter.StaticFilters;
/**
* @author TheElk801
*/
public class TargetControlledLandPermanent extends TargetControlledPermanent {
public TargetControlledLandPermanent() {
this(1);
}
public TargetControlledLandPermanent(int numTargets) {
this(numTargets, numTargets);
}
public TargetControlledLandPermanent(int minNumTargets, int maxNumTargets) {
super(minNumTargets, maxNumTargets, maxNumTargets > 1 ? StaticFilters.FILTER_CONTROLLED_PERMANENT_LANDS : StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND, false);
}
protected TargetControlledLandPermanent(final TargetControlledLandPermanent target) {
super(target);
}
@Override
public TargetControlledLandPermanent copy() {
return new TargetControlledLandPermanent(this);
}
}