mage/Mage/src/main/java/mage/game/permanent/token/AnotherSpiritToken.java
Evan Kranzler 9e0ea945ca
Refactoring token names to reflect new rule (ready for review) (#8446)
* 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
2022-03-14 22:37:21 -04:00

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);
}
}