forked from External/mage
* [NEO] Implemented Tamiyo, Compleated Sage * replaced PhyrexianManaCost calls with ManaCostsImpl calls * updated phyrexian mana implementation * added phyrexian hybrid symbol support * updated starting loyalty implementation for planeswalkers * change compleated to singleton * implemented Compleated ability * added some missing loyalty setters * changed when loyalty is added to a walker to fix bugs * slight change to some tests to fix them from failing * fixed token issue
42 lines
821 B
Java
42 lines
821 B
Java
package mage.abilities.keyword;
|
|
|
|
import mage.abilities.MageSingleton;
|
|
import mage.abilities.StaticAbility;
|
|
import mage.constants.Zone;
|
|
|
|
import java.io.ObjectStreamException;
|
|
|
|
/**
|
|
* @author TheElk801
|
|
*/
|
|
public class CompleatedAbility extends StaticAbility implements MageSingleton {
|
|
|
|
private static final CompleatedAbility instance;
|
|
|
|
static {
|
|
instance = new CompleatedAbility();
|
|
}
|
|
|
|
private Object readResolve() throws ObjectStreamException {
|
|
return instance;
|
|
}
|
|
|
|
public static CompleatedAbility getInstance() {
|
|
return instance;
|
|
}
|
|
|
|
private CompleatedAbility() {
|
|
super(Zone.ALL, null);
|
|
}
|
|
|
|
@Override
|
|
public String getRule() {
|
|
return "compleated";
|
|
}
|
|
|
|
@Override
|
|
public CompleatedAbility copy() {
|
|
return instance;
|
|
}
|
|
|
|
}
|