Added default image set codes for several tokens

This commit is contained in:
PurpleCrowbar 2022-08-06 21:54:15 +01:00
parent 7a8dd704cf
commit 188e6dd8c1
24 changed files with 30 additions and 8 deletions

View file

@ -20,6 +20,7 @@ public final class AjanisPridemateToken extends TokenImpl {
subtype.add(SubType.SOLDIER);
power = new MageInt(2);
toughness = new MageInt(2);
setOriginalExpansionSetCode("M20");
this.addAbility(new GainLifeControllerTriggeredAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false

View file

@ -19,6 +19,8 @@ public final class ArchitectOfTheUntamedBeastToken extends TokenImpl {
subtype.add(SubType.BEAST);
power = new MageInt(6);
toughness = new MageInt(6);
setOriginalExpansionSetCode("KLD");
}
public ArchitectOfTheUntamedBeastToken(final ArchitectOfTheUntamedBeastToken token) {

View file

@ -14,6 +14,7 @@ public final class ArtifactWallToken extends TokenImpl {
subtype.add(SubType.WALL);
power = new MageInt(0);
toughness = new MageInt(4);
setOriginalExpansionSetCode("THB");
addAbility(DefenderAbility.getInstance());
}

View file

@ -31,6 +31,7 @@ public final class AshiokNightmareMuseToken extends TokenImpl {
subtype.add(SubType.NIGHTMARE);
power = new MageInt(2);
toughness = new MageInt(3);
setOriginalExpansionSetCode("THB");
this.addAbility(new AttacksOrBlocksTriggeredAbility(new AshiokNightmareMuseTokenEffect(), false));
}

View file

@ -14,6 +14,7 @@ public final class AvatarToken2 extends TokenImpl {
subtype.add(SubType.AVATAR);
power = new MageInt(4);
toughness = new MageInt(4);
setOriginalExpansionSetCode("M19");
addAbility(FlyingAbility.getInstance());
}

View file

@ -6,6 +6,8 @@ import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.FlyingAbility;
import java.util.Arrays;
/**
*
* @author TheElk801
@ -21,6 +23,8 @@ public final class BirdIllusionToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance());
availableImageSetCodes = Arrays.asList("GRN", "C20");
}
public BirdIllusionToken(final BirdIllusionToken token) {

View file

@ -20,6 +20,7 @@ public final class BirdSoldierToken extends TokenImpl {
color.setWhite(true);
power = new MageInt(1);
toughness = new MageInt(1);
setOriginalExpansionSetCode("ARB");
addAbility(FlyingAbility.getInstance());
}

View file

@ -19,6 +19,7 @@ public final class CatBirdToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(FlyingAbility.getInstance());
setOriginalExpansionSetCode("IKO");
}
private CatBirdToken(final CatBirdToken token) {

View file

@ -19,6 +19,7 @@ public final class ConstructRedToken extends TokenImpl {
power = new MageInt(3);
toughness = new MageInt(1);
addAbility(HasteAbility.getInstance());
setOriginalExpansionSetCode("NEO");
}
@Override

View file

@ -23,6 +23,7 @@ public final class CorpseweftZombieToken extends TokenImpl {
color.setBlack(true);
this.power = new MageInt(power);
this.toughness = new MageInt(toughness);
setOriginalExpansionSetCode("DTK");
}
public CorpseweftZombieToken(final CorpseweftZombieToken token) {

View file

@ -18,6 +18,7 @@ public final class CrestedSunmareToken extends TokenImpl {
color.setWhite(true);
subtype.add(SubType.HORSE);
cardType.add(CardType.CREATURE);
setOriginalExpansionSetCode("HOU");
}
public CrestedSunmareToken(final CrestedSunmareToken token) {

View file

@ -20,6 +20,8 @@ public final class DeathtouchSnakeToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(DeathtouchAbility.getInstance());
setOriginalExpansionSetCode("AKH");
}
public DeathtouchSnakeToken(final DeathtouchSnakeToken token) {

View file

@ -13,20 +13,13 @@ import mage.constants.SubType;
public final class DefenderPlantToken extends TokenImpl {
public DefenderPlantToken() {
this(null, 0);
}
public DefenderPlantToken(String setCode) {
this(setCode, 0);
}
public DefenderPlantToken(String setCode, int tokenType) {
super("Plant Token", "0/2 green Plant creature token with defender");
color.setGreen(true);
cardType.add(CardType.CREATURE);
subtype.add(SubType.PLANT);
power = new MageInt(0);
toughness = new MageInt(2);
setOriginalExpansionSetCode("XLN");
this.addAbility(DefenderAbility.getInstance());
}

View file

@ -15,6 +15,7 @@ public final class DevastatingSummonsElementalToken extends TokenImpl {
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add(SubType.ELEMENTAL);
setOriginalExpansionSetCode("ROE");
}
public DevastatingSummonsElementalToken(final DevastatingSummonsElementalToken token) {

View file

@ -22,6 +22,7 @@ public final class DinosaurBeastToken extends TokenImpl {
power = new MageInt(xValue);
toughness = new MageInt(xValue);
addAbility(TrampleAbility.getInstance());
setOriginalExpansionSetCode("IKO");
}
private DinosaurBeastToken(final DinosaurBeastToken token) {

View file

@ -14,6 +14,7 @@ public final class DinosaurCatToken extends TokenImpl {
subtype.add(SubType.CAT);
power = new MageInt(2);
toughness = new MageInt(2);
setOriginalExpansionSetCode("C20");
}
public DinosaurCatToken(final DinosaurCatToken token) {

View file

@ -18,6 +18,7 @@ public final class DinosaurHasteToken extends TokenImpl {
power = new MageInt(1);
toughness = new MageInt(1);
addAbility(HasteAbility.getInstance());
setOriginalExpansionSetCode("IKO");
}
private DinosaurHasteToken(final DinosaurHasteToken token) {

View file

@ -30,6 +30,7 @@ public final class DokaiWeaverofLifeToken extends TokenImpl {
toughness = new MageInt(0);
DynamicValue controlledLands = new PermanentsOnBattlefieldCount(filterLands);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(controlledLands, controlledLands, Duration.WhileOnBattlefield)));
setOriginalExpansionSetCode("C18");
}
public DokaiWeaverofLifeToken(final DokaiWeaverofLifeToken token) {

View file

@ -24,6 +24,7 @@ public final class DragonBroodmotherDragonToken extends TokenImpl {
toughness = new MageInt(1);
addAbility(FlyingAbility.getInstance());
addAbility(new DevourAbility(DevourEffect.DevourFactor.Devour2));
setOriginalExpansionSetCode("ARB");
}
public DragonBroodmotherDragonToken(final DragonBroodmotherDragonToken token) {

View file

@ -19,6 +19,7 @@ public final class DragonSpiritToken extends TokenImpl {
power = new MageInt(5);
toughness = new MageInt(5);
addAbility(FlyingAbility.getInstance());
setOriginalExpansionSetCode("NEO");
}
public DragonSpiritToken(final DragonSpiritToken token) {

View file

@ -16,6 +16,7 @@ public final class DwarfToken extends TokenImpl {
subtype.add(SubType.DWARF);
power = new MageInt(1);
toughness = new MageInt(1);
setOriginalExpansionSetCode("ELD");
}
private DwarfToken(final DwarfToken token) {

View file

@ -20,6 +20,7 @@ public class FableOfTheMirrorBreakerToken extends TokenImpl {
power = new MageInt(2);
toughness = new MageInt(2);
addAbility(new AttacksTriggeredAbility(new CreateTokenEffect(new TreasureToken())).setTriggerPhrase("Whenever this creature attacks, "));
setOriginalExpansionSetCode("NEO");
}
private FableOfTheMirrorBreakerToken(final FableOfTheMirrorBreakerToken token) {

View file

@ -27,6 +27,7 @@ public final class FeatherToken extends TokenImpl {
);
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
setOriginalExpansionSetCode("IKO");
}
private FeatherToken(final FeatherToken token) {

View file

@ -18,6 +18,8 @@ public final class NestOfScarabsBlackInsectToken extends TokenImpl {
subtype.add(SubType.INSECT);
power = new MageInt(1);
toughness = new MageInt(1);
setOriginalExpansionSetCode("AKH");
}
public NestOfScarabsBlackInsectToken(final NestOfScarabsBlackInsectToken token) {