mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[CLB] Implemented Alora, Merry Thief
This commit is contained in:
parent
080a73f20f
commit
758f1cb896
19 changed files with 142 additions and 83 deletions
|
|
@ -885,6 +885,12 @@ public final class StaticFilters {
|
|||
FILTER_CREATURE_TOKENS.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterAttackingCreature FILTER_ATTACKING_CREATURE = new FilterAttackingCreature();
|
||||
|
||||
static {
|
||||
FILTER_ATTACKING_CREATURE.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterAttackingCreature FILTER_ATTACKING_CREATURES = new FilterAttackingCreature("attacking creatures");
|
||||
|
||||
static {
|
||||
|
|
|
|||
|
|
@ -1,26 +1,23 @@
|
|||
|
||||
|
||||
package mage.target.common;
|
||||
|
||||
import mage.filter.common.FilterAttackingCreature;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class TargetAttackingCreature extends TargetPermanent {
|
||||
|
||||
public TargetAttackingCreature() {
|
||||
this(1, 1, new FilterAttackingCreature(), false);
|
||||
}
|
||||
|
||||
public TargetAttackingCreature(int numTargets) {
|
||||
this(numTargets, numTargets, new FilterAttackingCreature(), false);
|
||||
this(1);
|
||||
}
|
||||
|
||||
public TargetAttackingCreature(int minNumTargets, int maxNumTargets, FilterAttackingCreature filter, boolean notTarget) {
|
||||
super(minNumTargets, maxNumTargets, filter, notTarget);
|
||||
public TargetAttackingCreature(int numTargets) {
|
||||
this(numTargets, numTargets);
|
||||
}
|
||||
|
||||
public TargetAttackingCreature(int minNumTargets, int maxNumTargets) {
|
||||
super(minNumTargets, maxNumTargets, StaticFilters.FILTER_ATTACKING_CREATURE, false);
|
||||
}
|
||||
|
||||
public TargetAttackingCreature(final TargetAttackingCreature target) {
|
||||
|
|
@ -31,5 +28,4 @@ public class TargetAttackingCreature extends TargetPermanent {
|
|||
public TargetAttackingCreature copy() {
|
||||
return new TargetAttackingCreature(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue