[WHO] Implement Sarah Jane Smith

This commit is contained in:
theelk801 2023-08-05 13:30:40 -04:00
parent e138003eb0
commit aa1624dc1c
5 changed files with 91 additions and 0 deletions

View file

@ -0,0 +1,38 @@
package mage.abilities.keyword;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import mage.constants.Zone;
import java.io.ObjectStreamException;
/**
* @author TheElk801
*/
public class DoctorsCompanionAbility extends StaticAbility implements MageSingleton {
private static final DoctorsCompanionAbility instance = new DoctorsCompanionAbility();
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static DoctorsCompanionAbility getInstance() {
return instance;
}
private DoctorsCompanionAbility() {
super(Zone.BATTLEFIELD, null);
}
@Override
public String getRule() {
return "Doctor's companion <i>(You can have two commanders if the other is the Doctor.)</i>";
}
@Override
public DoctorsCompanionAbility copy() {
return instance;
}
}

View file

@ -134,6 +134,7 @@ public enum SubType {
DEMIGOD("Demigod", SubTypeSet.CreatureType),
DEMON("Demon", SubTypeSet.CreatureType),
DESERTER("Deserter", SubTypeSet.CreatureType),
DETECTIVE("Detective", SubTypeSet.CreatureType),
DEVIL("Devil", SubTypeSet.CreatureType),
DINOSAUR("Dinosaur", SubTypeSet.CreatureType), // With Ixalan now being spoiled, need this to be selectable
DJINN("Djinn", SubTypeSet.CreatureType),