updated tokens with phyrexian subtype

This commit is contained in:
Evan Kranzler 2021-06-10 20:29:07 -04:00
parent cd99beed6e
commit 5f8d746fc0
34 changed files with 237 additions and 82 deletions

View file

@ -1,13 +1,13 @@
package mage.game.permanent.token;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public final class BrudicladTelchorMyrToken extends TokenImpl {
static final private List<String> tokenImageSets = new ArrayList<>();
@ -17,14 +17,10 @@ public final class BrudicladTelchorMyrToken extends TokenImpl {
}
public BrudicladTelchorMyrToken() {
this((String)null);
}
public BrudicladTelchorMyrToken(String expansionSetCode) {
super("Myr", "2/1 blue Myr artifact creature token");
this.setOriginalExpansionSetCode(expansionSetCode);
super("Phyrexian Myr", "2/1 blue Phyrexian Myr artifact creature token");
cardType.add(CardType.CREATURE);
cardType.add(CardType.ARTIFACT);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.MYR);
color.setBlue(true);
power = new MageInt(2);

View file

@ -28,7 +28,7 @@ public final class GermToken extends TokenImpl {
}
public GermToken(String setCode, int tokenType) {
super("Germ", "0/0 black Phyrexian Germ creature token");
super("Phyrexian Germ", "0/0 black Phyrexian Germ creature token");
availableImageSetCodes = tokenImageSets;
setOriginalExpansionSetCode(setCode);
cardType.add(CardType.CREATURE);

View file

@ -1,22 +1,20 @@
package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.InfectAbility;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author nantuko
*/
public final class InsectInfectToken extends TokenImpl {
public InsectInfectToken() {
super("Insect", "1/1 green Insect creature token with infect");
super("Phyrexian Insect", "1/1 green Phyrexian Insect creature token with infect");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.INSECT);
power = new MageInt(1);
toughness = new MageInt(1);
@ -31,4 +29,4 @@ public final class InsectInfectToken extends TokenImpl {
public InsectInfectToken copy() {
return new InsectInfectToken(this);
}
}
}

View file

@ -17,9 +17,10 @@ public final class MinionToken extends TokenImpl {
}
public MinionToken(String setCode) {
super("Minion", "X/X black Minion creature token");
super("Phyrexian Minion", "X/X black Phyrexian Minion creature token");
this.setOriginalExpansionSetCode(setCode);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.MINION);
color.setBlack(true);
power = new MageInt(0);

View file

@ -23,8 +23,8 @@ public final class MyrToken extends TokenImpl {
public MyrToken(String expansionSetCode) {
super("Myr", "1/1 colorless Myr artifact creature token");
this.setOriginalExpansionSetCode(expansionSetCode);
cardType.add(CardType.CREATURE);
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.MYR);
power = new MageInt(1);
toughness = new MageInt(1);

View file

@ -0,0 +1,30 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author TheElk801
*/
public final class PhyrexianBeastToken extends TokenImpl {
public PhyrexianBeastToken() {
super("Phyrexian Beast", "4/4 green Phyrexian Beast creature token");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.BEAST);
power = new MageInt(4);
toughness = new MageInt(4);
}
public PhyrexianBeastToken(final PhyrexianBeastToken token) {
super(token);
}
@Override
public PhyrexianBeastToken copy() {
return new PhyrexianBeastToken(this);
}
}

View file

@ -0,0 +1,36 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class PhyrexianGoblinToken extends TokenImpl {
public PhyrexianGoblinToken() {
super("Phyrexian Goblin", "1/1 red Phyrexian Goblin creature token with haste");
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.GOBLIN);
color.setRed(true);
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(HasteAbility.getInstance());
availableImageSetCodes = Arrays.asList("NPH");
}
public PhyrexianGoblinToken(final PhyrexianGoblinToken token) {
super(token);
}
public PhyrexianGoblinToken copy() {
return new PhyrexianGoblinToken(this);
}
}

View file

@ -0,0 +1,38 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class PhyrexianGolemToken extends TokenImpl {
public PhyrexianGolemToken() {
super("Phyrexian Golem", "3/3 colorless Phyrexian Golem artifact creature token");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.GOLEM);
power = new MageInt(3);
toughness = new MageInt(3);
availableImageSetCodes = Arrays.asList("MM2", "NPH", "SOM", "MH1", "M20", "CMR");
}
public PhyrexianGolemToken(final PhyrexianGolemToken token) {
super(token);
}
public PhyrexianGolemToken copy() {
return new PhyrexianGolemToken(this);
}
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
}
}

View file

@ -0,0 +1,26 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
public final class PhyrexianMyrToken extends TokenImpl {
public PhyrexianMyrToken() {
super("Phyrexian Myr", "1/1 colorless Phyrexian Myr artifact creature token");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.MYR);
power = new MageInt(1);
toughness = new MageInt(1);
}
public PhyrexianMyrToken(final PhyrexianMyrToken token) {
super(token);
}
public PhyrexianMyrToken copy() {
return new PhyrexianMyrToken(this);
}
}

View file

@ -12,9 +12,10 @@ import java.util.Arrays;
public final class PhyrexianRebirthHorrorToken extends TokenImpl {
public PhyrexianRebirthHorrorToken(int power, int toughness) {
super("Horror", "X/X colorless Horror artifact creature token");
super("Phyrexian Horror", "X/X colorless Phyrexian Horror artifact creature token");
this.cardType.add(CardType.ARTIFACT);
this.cardType.add(CardType.CREATURE);
this.subtype.add(SubType.PHYREXIAN);
this.subtype.add(SubType.HORROR);
this.power = new MageInt(power);
this.toughness = new MageInt(toughness);

View file

@ -0,0 +1,34 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class PhyrexianZombieToken extends TokenImpl {
public PhyrexianZombieToken() {
super("Phyrexian Zombie", "2/2 black Phyrexian Zombie creature token");
cardType.add(CardType.CREATURE);
color.setBlack(true);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.ZOMBIE);
power = new MageInt(2);
toughness = new MageInt(2);
availableImageSetCodes = Arrays.asList("MBS");
}
public PhyrexianZombieToken(final PhyrexianZombieToken token) {
super(token);
}
@Override
public PhyrexianZombieToken copy() {
return new PhyrexianZombieToken(this);
}
}

View file

@ -13,9 +13,10 @@ import java.util.Arrays;
public final class WurmWithDeathtouchToken extends TokenImpl {
public WurmWithDeathtouchToken() {
super("Wurm", "3/3 colorless Wurm artifact creature token with deathtouch");
super("Phyrexian Wurm", "3/3 colorless Phyrexian Wurm artifact creature token with deathtouch");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.WURM);
power = new MageInt(3);
toughness = new MageInt(3);

View file

@ -13,9 +13,10 @@ import java.util.Arrays;
public final class WurmWithLifelinkToken extends TokenImpl {
public WurmWithLifelinkToken() {
super("Wurm", "3/3 colorless Wurm artifact creature token with lifelink");
super("Phyrexian Wurm", "3/3 colorless Phyrexian Wurm artifact creature token with lifelink");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PHYREXIAN);
subtype.add(SubType.WURM);
power = new MageInt(3);
toughness = new MageInt(3);