forked from External/mage
* updated Riptide Replicator and Volrath's Laboratory * refactored token names * some test fixes * more test fixes * even more test fixes * the final test fixes * fixed a few missed tokens * merge fix * fixed a test failure * fixed test failure * updated ignored verify test * fixed token images not appearing * updated tests
44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package mage.game.permanent.token;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
import mage.abilities.keyword.HasteAbility;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
*
|
|
* @author weirddan455
|
|
*/
|
|
public class DragonIllusionToken extends TokenImpl {
|
|
|
|
public DragonIllusionToken() {
|
|
this(0);
|
|
}
|
|
|
|
public DragonIllusionToken(int xValue) {
|
|
super("Dragon Illusion Token", "X/X red Dragon Illusion creature token with flying and haste");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setRed(true);
|
|
subtype.add(SubType.DRAGON);
|
|
subtype.add(SubType.ILLUSION);
|
|
power = new MageInt(xValue);
|
|
toughness = new MageInt(xValue);
|
|
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
this.addAbility(HasteAbility.getInstance());
|
|
|
|
availableImageSetCodes = Arrays.asList("VOW");
|
|
}
|
|
|
|
private DragonIllusionToken(final DragonIllusionToken token) {
|
|
super(token);
|
|
}
|
|
|
|
@Override
|
|
public DragonIllusionToken copy() {
|
|
return new DragonIllusionToken(this);
|
|
}
|
|
}
|