[CLB] Implemented Faceless One

This commit is contained in:
Evan Kranzler 2022-05-17 20:05:18 -04:00
parent 7db20ecc72
commit 4777466b50
7 changed files with 136 additions and 44 deletions

View file

@ -0,0 +1,33 @@
package mage.abilities.common;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import mage.abilities.effects.common.InfoEffect;
import mage.constants.Zone;
import java.io.ObjectStreamException;
/**
* @author TheElk801
*/
public class ChooseABackgroundAbility extends StaticAbility implements MageSingleton {
private static final ChooseABackgroundAbility instance = new ChooseABackgroundAbility();
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static ChooseABackgroundAbility getInstance() {
return instance;
}
private ChooseABackgroundAbility() {
super(Zone.ALL, new InfoEffect("choose a background"));
}
@Override
public ChooseABackgroundAbility copy() {
return instance;
}
}

View file

@ -31,6 +31,7 @@ public enum SubType {
TOWER("Tower", SubTypeSet.NonBasicLandType),
// 205.3h Enchantments have their own unique set of subtypes; these subtypes are called enchantment types.
AURA("Aura", SubTypeSet.EnchantmentType),
BACKGROUND("Background", SubTypeSet.EnchantmentType),
CARTOUCHE("Cartouche", SubTypeSet.EnchantmentType),
CLASS("Class", SubTypeSet.EnchantmentType),
CURSE("Curse", SubTypeSet.EnchantmentType),