Changed set codes in image sources and Mage Sets to match recent changes. Changed Portal Second Age set code back to PO2. Updated tokens with recent sets to product correct images. Fixed that there was no basic land slot in EMN packs.

This commit is contained in:
fireshoes 2016-07-18 15:49:43 -05:00
parent 5350c134da
commit 9630320ba9
193 changed files with 583 additions and 366 deletions

View file

@ -27,7 +27,9 @@
*/
package mage.game.permanent.token;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import mage.MageInt;
import mage.constants.CardType;
@ -37,14 +39,29 @@ import mage.constants.CardType;
*/
public class BeastToken2 extends Token {
final static private List<String> tokenImageSets = new ArrayList<>();
static {
tokenImageSets.addAll(Arrays.asList("ZEN", "C14", "DDD", "C15", "DD3GVL"));
}
public BeastToken2() {
this(null, 0);
}
public BeastToken2(String setCode) {
this(setCode, 0);
}
public BeastToken2(String setCode, int tokenType) {
super("Beast", "4/4 green Beast creature token");
availableImageSetCodes = tokenImageSets;
setOriginalExpansionSetCode(setCode);
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add("Beast");
power = new MageInt(4);
toughness = new MageInt(4);
availableImageSetCodes.addAll(Arrays.asList("ZEN", "C14", "DDD", "C15"));
}
public BeastToken2(final BeastToken2 token) {
@ -59,7 +76,7 @@ public class BeastToken2 extends Token {
@Override
public void setExpansionSetCodeForImage(String code) {
super.setExpansionSetCodeForImage(code);
if (getOriginalExpansionSetCode().equals("C14") || getOriginalExpansionSetCode().equals("DDD")) {
if (getOriginalExpansionSetCode().equals("C14") || getOriginalExpansionSetCode().equals("DDD") || getOriginalExpansionSetCode().equals("DD3GVL")) {
this.setTokenType(2);
}
}