mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Images: fixed that some tokens uses wrong images of Elemental (#5834);
This commit is contained in:
parent
f2f1abd0f3
commit
4006e9e909
19 changed files with 129 additions and 119 deletions
|
|
@ -23,6 +23,11 @@ public final class AkoumStonewakerElementalToken extends TokenImpl {
|
|||
this.addAbility(TrampleAbility.getInstance());
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
availableImageSetCodes.addAll(Arrays.asList("BFZ", "MH1"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("BFZ")) {
|
||||
setTokenType(2);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -7,7 +6,6 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class CallTheSkyBreakerElementalToken extends TokenImpl {
|
||||
|
|
@ -18,14 +16,20 @@ public final class CallTheSkyBreakerElementalToken extends TokenImpl {
|
|||
color.setBlue(true);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
power = new MageInt(5);
|
||||
toughness = new MageInt(5);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public CallTheSkyBreakerElementalToken(final CallTheSkyBreakerElementalToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,37 +5,46 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class YoungPyromancerElementalToken extends TokenImpl {
|
||||
public final class RedElementalToken extends TokenImpl {
|
||||
|
||||
public YoungPyromancerElementalToken() {
|
||||
public RedElementalToken() {
|
||||
super("Elemental", "1/1 red Elemental creature token");
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M14")) {
|
||||
setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("EMA")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("SHM")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MH1")) {
|
||||
setTokenType(1);
|
||||
}
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C13", "EMA", "M14", "SHM", "MH1", "M20");
|
||||
}
|
||||
|
||||
public YoungPyromancerElementalToken(final YoungPyromancerElementalToken token) {
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C13")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M14")) {
|
||||
setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
}
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("SHM")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public RedElementalToken(final RedElementalToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public YoungPyromancerElementalToken copy() {
|
||||
return new YoungPyromancerElementalToken(this);
|
||||
public RedElementalToken copy() {
|
||||
return new RedElementalToken(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -6,14 +5,14 @@ import mage.abilities.keyword.HasteAbility;
|
|||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class ElementalAppealElementalToken extends TokenImpl {
|
||||
public final class RedElementalWithTrampleAndHaste extends TokenImpl {
|
||||
|
||||
public ElementalAppealElementalToken() {
|
||||
public RedElementalWithTrampleAndHaste() {
|
||||
super("Elemental", "7/1 red Elemental creature token with trample and haste");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
|
|
@ -24,11 +23,20 @@ public final class ElementalAppealElementalToken extends TokenImpl {
|
|||
addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
|
||||
public ElementalAppealElementalToken(final ElementalAppealElementalToken token) {
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("ZEN")) {
|
||||
setTokenType(RandomUtil.nextInt(2) + 1);
|
||||
}
|
||||
}
|
||||
|
||||
public RedElementalWithTrampleAndHaste(final RedElementalWithTrampleAndHaste token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ElementalAppealElementalToken copy() {
|
||||
return new ElementalAppealElementalToken(this);
|
||||
public RedElementalWithTrampleAndHaste copy() {
|
||||
return new RedElementalWithTrampleAndHaste(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,8 @@ import mage.MageInt;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author spjspj
|
||||
*/
|
||||
|
|
@ -15,14 +17,13 @@ public final class SeedGuardianToken extends TokenImpl {
|
|||
|
||||
public SeedGuardianToken(int xValue) {
|
||||
super("Elemental", "X/X green Elemental creature token");
|
||||
setTokenType(1);
|
||||
setOriginalExpansionSetCode("OGW");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
power = new MageInt(xValue);
|
||||
toughness = new MageInt(xValue);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C13", "CHK", "OGW");
|
||||
}
|
||||
|
||||
public SeedGuardianToken(final SeedGuardianToken token) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -6,20 +5,19 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class TilonallisSummonerElementalToken extends TokenImpl {
|
||||
|
||||
public TilonallisSummonerElementalToken() {
|
||||
super("Elemental", "1/1 red Elemental creature tokens");
|
||||
setTokenType(2);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
|
||||
color.setRed(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
setTokenType(2);
|
||||
}
|
||||
|
||||
public TilonallisSummonerElementalToken(final TilonallisSummonerElementalToken token) {
|
||||
|
|
|
|||
|
|
@ -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 WalkerOfTheGroveToken extends TokenImpl {
|
||||
|
|
@ -18,6 +18,17 @@ public final class WalkerOfTheGroveToken extends TokenImpl {
|
|||
this.color.setGreen(true);
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("C13", "LRW", "MMA", "MOR");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode().equals("C13")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public WalkerOfTheGroveToken(final WalkerOfTheGroveToken token) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -7,20 +6,20 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class WandOfTheElementsFirstToken extends TokenImpl {
|
||||
|
||||
public WandOfTheElementsFirstToken() {
|
||||
super("Elemental", "2/2 blue Elemental creature token with flying");
|
||||
setTokenType(1);
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.color.setBlue(true);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
setTokenType(1);
|
||||
}
|
||||
|
||||
public WandOfTheElementsFirstToken(final WandOfTheElementsFirstToken token) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -6,19 +5,19 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class WandOfTheElementsSecondToken extends TokenImpl {
|
||||
|
||||
public WandOfTheElementsSecondToken() {
|
||||
super("Elemental", "3/3 red Elemental creature token");
|
||||
setTokenType(2);
|
||||
cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.color.setRed(true);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(3);
|
||||
|
||||
setTokenType(2);
|
||||
}
|
||||
|
||||
public WandOfTheElementsSecondToken(final WandOfTheElementsSecondToken token) {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ import mage.abilities.keyword.FlyingAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author spjspj
|
||||
*/
|
||||
|
|
@ -19,9 +21,20 @@ public final class WhiteElementalToken extends TokenImpl {
|
|||
toughness = new MageInt(4);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("LRW", "C16", "C20", "RTR");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C20")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("LRW")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public WhiteElementalToken(final WhiteElementalToken token) {
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class ZektarShrineElementalToken extends TokenImpl {
|
||||
|
||||
public ZektarShrineElementalToken() {
|
||||
super("Elemental", "7/1 red Elemental creature token with trample and haste");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
power = new MageInt(7);
|
||||
toughness = new MageInt(1);
|
||||
addAbility(TrampleAbility.getInstance());
|
||||
addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
|
||||
public ZektarShrineElementalToken(final ZektarShrineElementalToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ZektarShrineElementalToken copy() {
|
||||
return new ZektarShrineElementalToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue