mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[STX] added tokens and images download;
This commit is contained in:
parent
50c9258263
commit
27a55529a9
63 changed files with 192 additions and 149 deletions
|
|
@ -8,6 +8,8 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
|
|
@ -21,11 +23,14 @@ public final class BloodAvatarToken extends TokenImpl {
|
|||
subtype.add(SubType.AVATAR);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(6);
|
||||
|
||||
addAbility(HasteAbility.getInstance());
|
||||
addAbility(new AttacksTriggeredAbility(
|
||||
new DamagePlayersEffect(3, TargetController.OPPONENT), false,
|
||||
"Whenever this creature attacks, it deals 3 damage to each opponent."
|
||||
));
|
||||
|
||||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private BloodAvatarToken(final BloodAvatarToken token) {
|
||||
|
|
|
|||
|
|
@ -4,12 +4,14 @@ import mage.MageInt;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PrismariToken extends TokenImpl {
|
||||
public final class Elemental44Token extends TokenImpl {
|
||||
|
||||
public PrismariToken() {
|
||||
public Elemental44Token() {
|
||||
super("Elemental", "4/4 blue and red Elemental creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
|
|
@ -17,14 +19,16 @@ public final class PrismariToken extends TokenImpl {
|
|||
subtype.add(SubType.ELEMENTAL);
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private PrismariToken(final PrismariToken token) {
|
||||
private Elemental44Token(final Elemental44Token token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrismariToken copy() {
|
||||
return new PrismariToken(this);
|
||||
public Elemental44Token copy() {
|
||||
return new Elemental44Token(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -17,9 +17,9 @@ import java.util.UUID;
|
|||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class QuandrixToken extends TokenImpl {
|
||||
public final class FractalToken extends TokenImpl {
|
||||
|
||||
public QuandrixToken() {
|
||||
public FractalToken() {
|
||||
super("Fractal", "0/0 green and blue Fractal creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.FRACTAL);
|
||||
|
|
@ -31,12 +31,12 @@ public final class QuandrixToken extends TokenImpl {
|
|||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private QuandrixToken(final QuandrixToken token) {
|
||||
private FractalToken(final FractalToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public QuandrixToken copy() {
|
||||
return new QuandrixToken(this);
|
||||
public FractalToken copy() {
|
||||
return new FractalToken(this);
|
||||
}
|
||||
|
||||
public static QuandrixTokenEffect getEffect(DynamicValue xValue, String text) {
|
||||
|
|
@ -65,7 +65,7 @@ public final class QuandrixToken extends TokenImpl {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Token token = new QuandrixToken();
|
||||
Token token = new FractalToken();
|
||||
token.putOntoBattlefield(1, game, source, source.getControllerId());
|
||||
int value = xValue.calculate(game, source, this);
|
||||
if (value < 1) {
|
||||
|
|
@ -5,12 +5,14 @@ import mage.abilities.keyword.FlyingAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SilverquillToken extends TokenImpl {
|
||||
public final class InklingToken extends TokenImpl {
|
||||
|
||||
public SilverquillToken() {
|
||||
public InklingToken() {
|
||||
super("Inkling", "2/1 white and black Inkling creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setWhite(true);
|
||||
|
|
@ -18,15 +20,18 @@ public final class SilverquillToken extends TokenImpl {
|
|||
subtype.add(SubType.INKLING);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private SilverquillToken(final SilverquillToken token) {
|
||||
private InklingToken(final InklingToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SilverquillToken copy() {
|
||||
return new SilverquillToken(this);
|
||||
public InklingToken copy() {
|
||||
return new InklingToken(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -6,12 +6,14 @@ import mage.abilities.effects.common.GainLifeEffect;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WitherbloomToken extends TokenImpl {
|
||||
public final class Pest11GainLifeToken extends TokenImpl {
|
||||
|
||||
public WitherbloomToken() {
|
||||
public Pest11GainLifeToken() {
|
||||
super("Pest", "1/1 black and green Pest creature token with \"When this creature dies, you gain 1 life.\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlack(true);
|
||||
|
|
@ -21,13 +23,15 @@ public final class WitherbloomToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new GainLifeEffect(1)));
|
||||
|
||||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private WitherbloomToken(final WitherbloomToken token) {
|
||||
private Pest11GainLifeToken(final Pest11GainLifeToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public WitherbloomToken copy() {
|
||||
return new WitherbloomToken(this);
|
||||
public Pest11GainLifeToken copy() {
|
||||
return new Pest11GainLifeToken(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class PestToken extends TokenImpl {
|
||||
|
|
@ -18,6 +18,8 @@ public final class PestToken extends TokenImpl {
|
|||
subtype.add(SubType.PEST);
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("HOP", "MRD");
|
||||
}
|
||||
|
||||
public PestToken(final PestToken token) {
|
||||
|
|
|
|||
|
|
@ -4,12 +4,14 @@ import mage.MageInt;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LoreholdToken extends TokenImpl {
|
||||
public final class Spirit32Token extends TokenImpl {
|
||||
|
||||
public LoreholdToken() {
|
||||
public Spirit32Token() {
|
||||
super("Spirit", "3/2 red and white Spirit creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
|
|
@ -17,14 +19,16 @@ public final class LoreholdToken extends TokenImpl {
|
|||
subtype.add(SubType.SPIRIT);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("STX");
|
||||
}
|
||||
|
||||
private LoreholdToken(final LoreholdToken token) {
|
||||
private Spirit32Token(final Spirit32Token token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LoreholdToken copy() {
|
||||
return new LoreholdToken(this);
|
||||
public Spirit32Token copy() {
|
||||
return new Spirit32Token(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ public final class TreasureToken extends TokenImpl {
|
|||
ability.addCost(new SacrificeSourceCost());
|
||||
this.addAbility(ability);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("XLN", "RNA", "M20", "C19", "C20", "M21", "CMR", "KHM");
|
||||
availableImageSetCodes = Arrays.asList("XLN", "RNA", "M20", "C19", "C20", "M21", "CMR", "KHM", "STX");
|
||||
}
|
||||
|
||||
public TreasureToken(final TreasureToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue