foul-magics/Mage/src/main/java/mage/game/permanent/token/GoblinToken.java
2021-03-07 03:08:17 +04:00

47 lines
1.3 KiB
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author North
*/
public final class GoblinToken extends TokenImpl {
public GoblinToken(boolean withHaste) {
this();
// token image don't have haste info so it's ok to use same class for different versions
if (withHaste) {
addAbility(HasteAbility.getInstance());
this.description = "1/1 red Goblin creature token with haste";
}
}
public GoblinToken() {
super("Goblin", "1/1 red Goblin creature token");
cardType.add(CardType.CREATURE);
subtype.add(SubType.GOBLIN);
color.setRed(true);
power = new MageInt(1);
toughness = new MageInt(1);
availableImageSetCodes = Arrays.asList("10E", "ALA", "SOM", "M10", "NPH", "M13", "RTR",
"MMA", "M15", "C14", "KTK", "EVG", "DTK", "ORI", "DDG", "DDN", "EVG", "MM2",
"MM3", "EMA", "C16", "DOM", "ANA", "RNA", "WAR", "MH1", "TSR");
}
public GoblinToken(final GoblinToken token) {
super(token);
}
public GoblinToken copy() {
return new GoblinToken(this);
}
}