* Advent of the Wurm - Removed the expansion reference to RTR of the token. That led to showing the card as RTR card.

This commit is contained in:
LevelX2 2013-07-01 14:25:09 +02:00
parent 319135b8ed
commit 7c5f1efe71
2 changed files with 4 additions and 5 deletions

View file

@ -29,14 +29,13 @@
package mage.sets.dragonsmaze; package mage.sets.dragonsmaze;
import java.util.UUID; import java.util.UUID;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.MageInt; import mage.MageInt;
import mage.ObjectColor; import mage.ObjectColor;
import mage.abilities.effects.common.CreateTokenEffect; import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.TrampleAbility; import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.game.permanent.token.Token; import mage.game.permanent.token.Token;
/** /**
@ -66,6 +65,7 @@ public class AdventOfTheWurm extends CardImpl<AdventOfTheWurm> {
public AdventOfTheWurm copy() { public AdventOfTheWurm copy() {
return new AdventOfTheWurm(this); return new AdventOfTheWurm(this);
} }
private class WurmToken extends Token { private class WurmToken extends Token {
private WurmToken() { private WurmToken() {
@ -75,7 +75,6 @@ public class AdventOfTheWurm extends CardImpl<AdventOfTheWurm> {
subtype.add("Wurm"); subtype.add("Wurm");
power = new MageInt(5); power = new MageInt(5);
toughness = new MageInt(5); toughness = new MageInt(5);
expansionSetCode = "RTR";
addAbility(TrampleAbility.getInstance()); addAbility(TrampleAbility.getInstance());
} }

View file

@ -54,7 +54,7 @@ public enum CardRepository {
instance; instance;
private static final String JDBC_URL = "jdbc:sqlite:db/cards.db"; private static final String JDBC_URL = "jdbc:sqlite:db/cards.db";
private static final long DB_VERSION = 8; private static final long DB_VERSION = 9;
private Random random = new Random(); private Random random = new Random();
private Dao<CardInfo, Object> cardDao; private Dao<CardInfo, Object> cardDao;