mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed some wrong card numbers and rarities. Raised db version by 1.
This commit is contained in:
parent
e7024c1088
commit
66ebfe19f2
7 changed files with 7 additions and 14 deletions
|
@ -55,7 +55,7 @@ public class MazeAbomination extends CardImpl<MazeAbomination> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public MazeAbomination (UUID ownerId) {
|
public MazeAbomination (UUID ownerId) {
|
||||||
super(ownerId, 24, "Maze Abomination", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{5}{B}");
|
super(ownerId, 26, "Maze Abomination", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{5}{B}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Elemental");
|
this.subtype.add("Elemental");
|
||||||
this.color.setBlack(true);
|
this.color.setBlack(true);
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class MazeRusher extends CardImpl<MazeRusher> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public MazeRusher (UUID ownerId) {
|
public MazeRusher (UUID ownerId) {
|
||||||
super(ownerId, 31, "Maze Rusher", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{5}{R}");
|
super(ownerId, 33, "Maze Rusher", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{5}{R}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Elemental");
|
this.subtype.add("Elemental");
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
|
|
|
@ -32,23 +32,16 @@ import java.util.UUID;
|
||||||
import mage.Constants;
|
import mage.Constants;
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
import mage.Constants.Duration;
|
import mage.Constants.Duration;
|
||||||
import mage.Constants.Outcome;
|
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.Constants.Zone;
|
import mage.Constants.Zone;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
|
||||||
import mage.abilities.effects.common.continious.GainAbilityAllEffect;
|
import mage.abilities.effects.common.continious.GainAbilityAllEffect;
|
||||||
import mage.abilities.keyword.ExtortAbility;
|
import mage.abilities.keyword.ExtortAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.Cards;
|
|
||||||
import mage.cards.CardsImpl;
|
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||||
import mage.game.Game;
|
|
||||||
import mage.players.Player;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -65,7 +58,7 @@ public class PontiffOfBlight extends CardImpl<PontiffOfBlight> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public PontiffOfBlight (UUID ownerId) {
|
public PontiffOfBlight (UUID ownerId) {
|
||||||
super(ownerId, 27, "Pontiff of Blight", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{4}{B}{B}");
|
super(ownerId, 27, "Pontiff of Blight", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{4}{B}{B}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Zombie");
|
this.subtype.add("Zombie");
|
||||||
this.subtype.add("Cleric");
|
this.subtype.add("Cleric");
|
||||||
|
|
|
@ -45,7 +45,7 @@ import mage.cards.CardImpl;
|
||||||
public class RiotPiker extends CardImpl<RiotPiker> {
|
public class RiotPiker extends CardImpl<RiotPiker> {
|
||||||
|
|
||||||
public RiotPiker (UUID ownerId) {
|
public RiotPiker (UUID ownerId) {
|
||||||
super(ownerId, 36, "Riot Piker", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
super(ownerId, 37, "Riot Piker", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Goblin");
|
this.subtype.add("Goblin");
|
||||||
this.subtype.add("Berserker");
|
this.subtype.add("Berserker");
|
||||||
|
|
|
@ -46,7 +46,7 @@ import mage.cards.CardImpl;
|
||||||
public class RubblebeltMaaka extends CardImpl<RubblebeltMaaka> {
|
public class RubblebeltMaaka extends CardImpl<RubblebeltMaaka> {
|
||||||
|
|
||||||
public RubblebeltMaaka (UUID ownerId) {
|
public RubblebeltMaaka (UUID ownerId) {
|
||||||
super(ownerId, 37, "Rubblebelt Maaka", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
super(ownerId, 38, "Rubblebelt Maaka", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Cat");
|
this.subtype.add("Cat");
|
||||||
this.color.setRed(true);
|
this.color.setRed(true);
|
||||||
|
|
|
@ -67,7 +67,7 @@ public class SmeltWardGatekeepers extends CardImpl<SmeltWardGatekeepers> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SmeltWardGatekeepers (UUID ownerId) {
|
public SmeltWardGatekeepers (UUID ownerId) {
|
||||||
super(ownerId, 38, "Smelt-Ward Gatekeepers", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
super(ownerId, 39, "Smelt-Ward Gatekeepers", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||||
this.expansionSetCode = "DGM";
|
this.expansionSetCode = "DGM";
|
||||||
this.subtype.add("Human");
|
this.subtype.add("Human");
|
||||||
this.subtype.add("Soldier");
|
this.subtype.add("Soldier");
|
||||||
|
|
|
@ -53,7 +53,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 = 5;
|
private static final long DB_VERSION = 6;
|
||||||
|
|
||||||
private Random random = new Random();
|
private Random random = new Random();
|
||||||
private Dao<CardInfo, Object> cardDao;
|
private Dao<CardInfo, Object> cardDao;
|
||||||
|
|
Loading…
Reference in a new issue