mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Added default image set codes for several tokens
This commit is contained in:
parent
7a8dd704cf
commit
188e6dd8c1
24 changed files with 30 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -19,6 +19,7 @@ public final class ConstructRedToken extends TokenImpl {
|
|||
power = new MageInt(3);
|
||||
toughness = new MageInt(1);
|
||||
addAbility(HasteAbility.getInstance());
|
||||
setOriginalExpansionSetCode("NEO");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -27,6 +27,7 @@ public final class FeatherToken extends TokenImpl {
|
|||
);
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
setOriginalExpansionSetCode("IKO");
|
||||
}
|
||||
|
||||
private FeatherToken(final FeatherToken token) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue