Merge pull request #6541 from gp66/tokens-with-x-power-toughness

Tokens with x power toughness
This commit is contained in:
Oleg Agafonov 2020-05-15 20:05:54 +02:00 committed by GitHub
commit 19af91cf18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,9 @@ package mage.game.permanent.token;
*/
public final class DinosaurBeastToken extends TokenImpl {
public DinosaurBeastToken() {
this(0);
}
public DinosaurBeastToken(int xValue) {
super("Dinosaur Beast", "X/X green Dinosaur Beast creature token with trample");
cardType.add(CardType.CREATURE);

View file

@ -11,6 +11,9 @@ import mage.constants.SubType;
*/
public final class PurphorossInterventionToken extends TokenImpl {
public PurphorossInterventionToken() {
this(0);
}
public PurphorossInterventionToken(int power) {
super("Elemental", "X/1 red Elemental creature token with trample and haste");
this.cardType.add(CardType.CREATURE);

View file

@ -10,6 +10,9 @@ import mage.constants.SubType;
*/
public final class SharkToken extends TokenImpl {
public SharkToken() {
this(0);
}
public SharkToken(int xValue) {
super("Shark", "X/X blue Shark creature token with flying");
cardType.add(CardType.CREATURE);

View file

@ -53,6 +53,8 @@ public abstract class TokenImpl extends MageObjectImpl implements Token {
}
}
public TokenImpl() { }
public TokenImpl(String name, String description) {
this.name = name;
this.description = description;