mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
* 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.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/**
|
|
* @author spjspj
|
|
*/
|
|
public final class AnotherSpiritToken extends TokenImpl {
|
|
|
|
public AnotherSpiritToken() {
|
|
super("Spirit Token", "3/3 white Spirit creature token with flying");
|
|
cardType.add(CardType.CREATURE);
|
|
color.setWhite(true);
|
|
subtype.add(SubType.SPIRIT);
|
|
power = new MageInt(3);
|
|
toughness = new MageInt(3);
|
|
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
|
|
availableImageSetCodes = Arrays.asList("BOK", "VOC");
|
|
}
|
|
|
|
@Override
|
|
public void setExpansionSetCodeForImage(String code) {
|
|
super.setExpansionSetCodeForImage(code);
|
|
|
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("VOC")) {
|
|
setTokenType(2);
|
|
}
|
|
}
|
|
|
|
public AnotherSpiritToken(final AnotherSpiritToken token) {
|
|
super(token);
|
|
}
|
|
|
|
public AnotherSpiritToken copy() {
|
|
return new AnotherSpiritToken(this);
|
|
}
|
|
}
|