removed copy/paste code

This commit is contained in:
gp66 2020-05-15 12:57:28 -05:00
parent 162907b9da
commit 877abe087a
3 changed files with 3 additions and 26 deletions

View file

@ -11,16 +11,8 @@ package mage.game.permanent.token;
public final class DinosaurBeastToken extends TokenImpl { public final class DinosaurBeastToken extends TokenImpl {
public DinosaurBeastToken() { public DinosaurBeastToken() {
super("Dinosaur Beast", "X/X green Dinosaur Beast creature token with trample"); this(0);
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.DINOSAUR);
subtype.add(SubType.BEAST);
power = new MageInt(0);
toughness = new MageInt(0);
addAbility(TrampleAbility.getInstance());
} }
public DinosaurBeastToken(int xValue) { public DinosaurBeastToken(int xValue) {
super("Dinosaur Beast", "X/X green Dinosaur Beast creature token with trample"); super("Dinosaur Beast", "X/X green Dinosaur Beast creature token with trample");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);

View file

@ -12,16 +12,8 @@ import mage.constants.SubType;
public final class PurphorossInterventionToken extends TokenImpl { public final class PurphorossInterventionToken extends TokenImpl {
public PurphorossInterventionToken() { public PurphorossInterventionToken() {
super("Elemental", "X/1 red Elemental creature token with trample and haste"); this(0);
this.cardType.add(CardType.CREATURE);
this.subtype.add(SubType.ELEMENTAL);
this.color.setRed(true);
this.power = new MageInt(0);
this.toughness = new MageInt(1);
this.addAbility(TrampleAbility.getInstance());
this.addAbility(HasteAbility.getInstance());
} }
public PurphorossInterventionToken(int power) { public PurphorossInterventionToken(int power) {
super("Elemental", "X/1 red Elemental creature token with trample and haste"); super("Elemental", "X/1 red Elemental creature token with trample and haste");
this.cardType.add(CardType.CREATURE); this.cardType.add(CardType.CREATURE);

View file

@ -11,15 +11,8 @@ import mage.constants.SubType;
public final class SharkToken extends TokenImpl { public final class SharkToken extends TokenImpl {
public SharkToken() { public SharkToken() {
super("Shark", "X/X blue Shark creature token with flying"); this(0);
cardType.add(CardType.CREATURE);
color.setBlue(true);
subtype.add(SubType.SHARK);
power = new MageInt(0);
toughness = new MageInt(0);
addAbility(FlyingAbility.getInstance());
} }
public SharkToken(int xValue) { public SharkToken(int xValue) {
super("Shark", "X/X blue Shark creature token with flying"); super("Shark", "X/X blue Shark creature token with flying");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);