mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
* Images: added tokens from Modern Horizons (MH1);
This commit is contained in:
parent
4148a572cf
commit
9c2714da53
19 changed files with 134 additions and 91 deletions
|
|
@ -1,15 +1,14 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class AkoumStonewakerElementalToken extends TokenImpl {
|
||||
|
|
@ -23,8 +22,11 @@ public final class AkoumStonewakerElementalToken extends TokenImpl {
|
|||
toughness = new MageInt(1);
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
this.setOriginalExpansionSetCode("BFZ");
|
||||
this.setTokenType(1);
|
||||
availableImageSetCodes.addAll(Arrays.asList("BFZ", "MH1"));
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("MH1")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public AkoumStonewakerElementalToken(final AkoumStonewakerElementalToken token) {
|
||||
|
|
|
|||
|
|
@ -1,16 +1,14 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public final class ElephantToken extends TokenImpl {
|
||||
|
|
@ -18,11 +16,11 @@ public final class ElephantToken extends TokenImpl {
|
|||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("C14", "CNS", "DDD", "MM2", "WWK", "OGW", "C15", "DD3GVL", "MM3", "CMA"));
|
||||
tokenImageSets.addAll(Arrays.asList("C14", "CNS", "DDD", "MM2", "WWK", "OGW", "C15", "DD3GVL", "MM3", "CMA", "MH1"));
|
||||
}
|
||||
|
||||
public ElephantToken() {
|
||||
this((String)null);
|
||||
this((String) null);
|
||||
}
|
||||
|
||||
public ElephantToken(String setCode) {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public final class GoblinToken extends TokenImpl {
|
|||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("10E", "ALA", "SOM", "M10", "NPH", "M13", "RTR",
|
||||
"MMA", "M15", "C14", "KTK", "EVG", "DTK", "ORI", "DDG", "DDN", "DD3EVG", "MM2",
|
||||
"MM3", "EMA", "C16", "DOM", "ANA", "RNA", "WAR"));
|
||||
"MM3", "EMA", "C16", "DOM", "ANA", "RNA", "WAR", "MH1"));
|
||||
}
|
||||
|
||||
public GoblinToken(boolean withHaste) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public final class GolemToken extends TokenImpl {
|
|||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("MM2", "NPH", "SOM", "MM3", "M20"));
|
||||
tokenImageSets.addAll(Arrays.asList("MM2", "NPH", "SOM", "MM3", "MH1", "M20"));
|
||||
}
|
||||
|
||||
public GolemToken() {
|
||||
|
|
|
|||
|
|
@ -1,24 +1,22 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import static javax.management.Query.value;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class KarnConstructToken extends TokenImpl {
|
||||
|
|
@ -30,18 +28,14 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
}
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("DOM"));
|
||||
tokenImageSets.addAll(Arrays.asList("DOM", "MH1"));
|
||||
}
|
||||
|
||||
public KarnConstructToken() {
|
||||
this("DOM");
|
||||
}
|
||||
|
||||
public KarnConstructToken(String setCode) {
|
||||
super("Construct", "0/0 colorless Construct artifact creature token with \"This creature gets +1/+1 for each artifact you control.\"");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
this.setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.CONSTRUCT);
|
||||
|
|
@ -52,7 +46,7 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new BoostSourceEffect(value, value, Duration.WhileOnBattlefield)
|
||||
.setText("This creature gets +1/+1 for each artifact you control")
|
||||
.setText("This creature gets +1/+1 for each artifact you control")
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -9,6 +7,8 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author spjspj
|
||||
*/
|
||||
|
|
@ -16,7 +16,6 @@ public final class MaritLageToken extends TokenImpl {
|
|||
|
||||
public MaritLageToken() {
|
||||
super("Marit Lage", "Marit Lage, a legendary 20/20 black Avatar creature token with flying and indestructible");
|
||||
this.setOriginalExpansionSetCode("CSP");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.AVATAR);
|
||||
addSuperType(SuperType.LEGENDARY);
|
||||
|
|
@ -28,6 +27,7 @@ public final class MaritLageToken extends TokenImpl {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
this.addAbility(IndestructibleAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("CSP", "MH1"));
|
||||
}
|
||||
|
||||
public MaritLageToken(final MaritLageToken token) {
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
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 MelokuTheCloudedMirrorToken extends TokenImpl {
|
||||
|
|
@ -20,6 +20,7 @@ public final class MelokuTheCloudedMirrorToken extends TokenImpl {
|
|||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
availableImageSetCodes.addAll(Arrays.asList("CHK", "MMA", "MH1"));
|
||||
}
|
||||
|
||||
public MelokuTheCloudedMirrorToken(final MelokuTheCloudedMirrorToken token) {
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public final class MyrToken extends TokenImpl {
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("C14", "MM2", "NPH", "SOM"));
|
||||
tokenImageSets.addAll(Arrays.asList("C14", "MM2", "NPH", "SOM", "MH1"));
|
||||
}
|
||||
|
||||
public MyrToken() {
|
||||
this((String)null);
|
||||
this((String) null);
|
||||
}
|
||||
|
||||
public MyrToken(String expansionSetCode) {
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class RhinoToken extends TokenImpl {
|
||||
|
|
@ -20,6 +20,8 @@ public final class RhinoToken extends TokenImpl {
|
|||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
addAbility(TrampleAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("DGM", "RTR", "MH1"));
|
||||
}
|
||||
|
||||
public RhinoToken(final RhinoToken token) {
|
||||
|
|
|
|||
|
|
@ -5,13 +5,24 @@ import mage.abilities.keyword.ChangelingAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ShapeshifterToken extends TokenImpl {
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("C15", "LRW", "MH1"));
|
||||
}
|
||||
|
||||
public ShapeshifterToken() {
|
||||
super("Shapeshifter", "2/2 colorless Shapeshifter creature token with changeling");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.SHAPESHIFTER);
|
||||
power = new MageInt(2);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public final class SoldierToken extends TokenImpl {
|
|||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("10E", "M15", "C14", "ORI", "ALA", "DDF", "THS", "M12", "M13", "MM2", "MMA", "RTR",
|
||||
"SOM", "DDO", "M10", "ORI", "EMN", "EMA", "CN2", "C16", "MM3", "E01", "DOM", "M20"));
|
||||
"SOM", "DDO", "M10", "ORI", "EMN", "EMA", "CN2", "C16", "MM3", "E01", "DOM", "MH1", "M20"));
|
||||
}
|
||||
|
||||
public SoldierToken() {
|
||||
|
|
|
|||
|
|
@ -5,16 +5,16 @@
|
|||
*/
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fireshoes
|
||||
*/
|
||||
public final class SpiderToken extends TokenImpl {
|
||||
|
|
@ -22,7 +22,7 @@ public final class SpiderToken extends TokenImpl {
|
|||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("ISD", "EMN", "C15", "SHM"));
|
||||
tokenImageSets.addAll(Arrays.asList("ISD", "EMN", "C15", "SHM", "MH1"));
|
||||
}
|
||||
|
||||
public SpiderToken() {
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public final class SquirrelToken extends TokenImpl {
|
||||
|
|
@ -17,7 +16,7 @@ public final class SquirrelToken extends TokenImpl {
|
|||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Collections.singletonList("CNS"));
|
||||
tokenImageSets.addAll(Arrays.asList("CNS", "MH1"));
|
||||
}
|
||||
|
||||
public SquirrelToken() {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -7,6 +5,8 @@ import mage.abilities.keyword.FlyingAbility;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author spjspj
|
||||
*/
|
||||
|
|
@ -21,6 +21,8 @@ public final class WhiteBlackSpiritToken extends TokenImpl {
|
|||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes.addAll(Arrays.asList("MH1"));
|
||||
}
|
||||
|
||||
public WhiteBlackSpiritToken(final WhiteBlackSpiritToken token) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import mage.constants.SubType;
|
|||
import mage.util.RandomUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class YoungPyromancerElementalToken extends TokenImpl {
|
||||
|
|
@ -19,6 +18,12 @@ public final class YoungPyromancerElementalToken extends TokenImpl {
|
|||
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);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public final class ZombieToken extends TokenImpl {
|
|||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("10E", "M10", "M11", "M12", "M13", "M14", "M15", "MBS", "ALA", "ISD", "C14", "C15", "C16", "C17", "CNS",
|
||||
"MMA", "BNG", "KTK", "DTK", "ORI", "OGW", "SOI", "EMN", "EMA", "MM3", "AKH", "CMA", "E01", "RNA", "WAR", "M20"));
|
||||
"MMA", "BNG", "KTK", "DTK", "ORI", "OGW", "SOI", "EMN", "EMA", "MM3", "AKH", "CMA", "E01", "RNA", "WAR", "MH1", "M20"));
|
||||
}
|
||||
|
||||
public ZombieToken() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue