mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
[MOM] Implement Etched Host Doombringer
This commit is contained in:
parent
c1ac88102e
commit
ae0773de4e
5 changed files with 145 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ public enum CounterType {
|
|||
CURRENCY("currency"),
|
||||
DEATH("death"),
|
||||
DEATHTOUCH("deathtouch"),
|
||||
DEFENSE("defense"),
|
||||
DELAY("delay"),
|
||||
DEPLETION("depletion"),
|
||||
DESCENT("descent"),
|
||||
|
|
|
|||
|
|
@ -763,6 +763,18 @@ public final class StaticFilters {
|
|||
FILTER_PERMANENT_PLANESWALKERS.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterBattlePermanent FILTER_PERMANENT_BATTLE = new FilterBattlePermanent();
|
||||
|
||||
static {
|
||||
FILTER_PERMANENT_BATTLE.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterBattlePermanent FILTER_PERMANENT_BATTLES = new FilterBattlePermanent("battles");
|
||||
|
||||
static {
|
||||
FILTER_PERMANENT_BATTLES.setLockedFilter(true);
|
||||
}
|
||||
|
||||
public static final FilterNonlandPermanent FILTER_PERMANENT_NON_LAND = new FilterNonlandPermanent();
|
||||
|
||||
static {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
package mage.filter.common;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class FilterBattlePermanent extends FilterPermanent {
|
||||
|
||||
public FilterBattlePermanent() {
|
||||
this("battle");
|
||||
}
|
||||
|
||||
public FilterBattlePermanent(String name) {
|
||||
super(name);
|
||||
this.add(CardType.BATTLE.getPredicate());
|
||||
}
|
||||
|
||||
public FilterBattlePermanent(SubType subtype, String name) {
|
||||
super(name);
|
||||
this.add(CardType.BATTLE.getPredicate());
|
||||
this.add(subtype.getPredicate());
|
||||
}
|
||||
|
||||
public FilterBattlePermanent(final FilterBattlePermanent filter) {
|
||||
super(filter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilterBattlePermanent copy() {
|
||||
return new FilterBattlePermanent(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue