mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
[CLB] Implemented Faceless One
This commit is contained in:
parent
7db20ecc72
commit
4777466b50
7 changed files with 136 additions and 44 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue