mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Added GN2 token images
This commit is contained in:
parent
18b515ba5c
commit
f96436b2b2
5 changed files with 23 additions and 3 deletions
|
@ -1647,6 +1647,11 @@ public class ScryfallImageSupportTokens {
|
||||||
put ("GK2/Spirit", "https://api.scryfall.com/cards/tgk2/2/en?format=image");
|
put ("GK2/Spirit", "https://api.scryfall.com/cards/tgk2/2/en?format=image");
|
||||||
put ("GK2/Wurm", "https://api.scryfall.com/cards/tgk2/8/en?format=image");
|
put ("GK2/Wurm", "https://api.scryfall.com/cards/tgk2/8/en?format=image");
|
||||||
|
|
||||||
|
// GN2
|
||||||
|
put ("GN2/Dinosaur", "https://api.scryfall.com/cards/tgn2/3/en?format=image");
|
||||||
|
put ("GN2/Dragon/1", "https://api.scryfall.com/cards/tgn2/1/en?format=image");
|
||||||
|
put ("GN2/Dragon/2", "https://api.scryfall.com/cards/tgn2/2/en?format=image");
|
||||||
|
|
||||||
// generate supported sets
|
// generate supported sets
|
||||||
supportedSets.clear();
|
supportedSets.clear();
|
||||||
for (String cardName : this.keySet()) {
|
for (String cardName : this.keySet()) {
|
||||||
|
|
|
@ -1856,4 +1856,9 @@
|
||||||
|Generate|TOK:GK2|Ooze|||OozeToken|
|
|Generate|TOK:GK2|Ooze|||OozeToken|
|
||||||
|Generate|TOK:GK2|Saproling|||SaprolingToken|
|
|Generate|TOK:GK2|Saproling|||SaprolingToken|
|
||||||
|Generate|TOK:GK2|Spirit|||SpiritWhiteToken|
|
|Generate|TOK:GK2|Spirit|||SpiritWhiteToken|
|
||||||
|Generate|TOK:GK2|Wurm|||WurmToken|
|
|Generate|TOK:GK2|Wurm|||WurmToken|
|
||||||
|
|
||||||
|
# GN2
|
||||||
|
|Generate|TOK:GN2|Dinosaur|||DinosaurToken|
|
||||||
|
|Generate|TOK:GN2|Dragon|1||DragonEggDragonToken|
|
||||||
|
|Generate|TOK:GN2|Dragon|2||DragonToken2|
|
|
@ -6,6 +6,8 @@ import mage.MageInt;
|
||||||
import mage.abilities.keyword.TrampleAbility;
|
import mage.abilities.keyword.TrampleAbility;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author TheElk801
|
* @author TheElk801
|
||||||
|
@ -20,6 +22,8 @@ public final class DinosaurToken extends TokenImpl {
|
||||||
power = new MageInt(3);
|
power = new MageInt(3);
|
||||||
toughness = new MageInt(3);
|
toughness = new MageInt(3);
|
||||||
addAbility(TrampleAbility.getInstance());
|
addAbility(TrampleAbility.getInstance());
|
||||||
|
|
||||||
|
availableImageSetCodes = Arrays.asList("XLN", "GN2");
|
||||||
}
|
}
|
||||||
|
|
||||||
public DinosaurToken(final DinosaurToken token) {
|
public DinosaurToken(final DinosaurToken token) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ public final class DragonEggDragonToken extends TokenImpl {
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
|
||||||
|
|
||||||
availableImageSetCodes = Arrays.asList("C18", "EMA", "M14", "M15", "M19", "CMR", "IMA");
|
availableImageSetCodes = Arrays.asList("C18", "EMA", "M14", "M15", "M19", "CMR", "IMA", "GN2");
|
||||||
}
|
}
|
||||||
|
|
||||||
public DragonEggDragonToken(final DragonEggDragonToken token) {
|
public DragonEggDragonToken(final DragonEggDragonToken token) {
|
||||||
|
@ -49,5 +49,8 @@ public final class DragonEggDragonToken extends TokenImpl {
|
||||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M19")) {
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("M19")) {
|
||||||
this.setTokenType(1);
|
this.setTokenType(1);
|
||||||
}
|
}
|
||||||
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GN2")) {
|
||||||
|
this.setTokenType(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ public final class DragonToken2 extends TokenImpl {
|
||||||
|
|
||||||
addAbility(FlyingAbility.getInstance());
|
addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
availableImageSetCodes = Arrays.asList("10E", "BFZ", "C15", "C19", "CMA", "CMD", "SCG", "WWK", "M19", "KHM", "AFC", "IMA", "PCA", "CN2");
|
availableImageSetCodes = Arrays.asList("10E", "BFZ", "C15", "C19", "CMA", "CMD", "SCG", "WWK", "M19", "KHM", "AFC", "IMA", "PCA", "CN2", "GN2");
|
||||||
}
|
}
|
||||||
|
|
||||||
public DragonToken2(final DragonToken2 token) {
|
public DragonToken2(final DragonToken2 token) {
|
||||||
|
@ -43,5 +43,8 @@ public final class DragonToken2 extends TokenImpl {
|
||||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("IMA")) {
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("IMA")) {
|
||||||
this.setTokenType(2);
|
this.setTokenType(2);
|
||||||
}
|
}
|
||||||
|
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("GN2")) {
|
||||||
|
this.setTokenType(2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue