Skip to content

Commit

Permalink
Xmage 1.4.30V6
Browse files Browse the repository at this point in the history
LevelX2 committed Jun 24, 2018
1 parent 99cfd86 commit ca21f32
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Mage.Common/src/main/java/mage/utils/MageVersion.java
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
public final static int MAGE_VERSION_MAJOR = 1;
public final static int MAGE_VERSION_MINOR = 4;
public final static int MAGE_VERSION_PATCH = 30;
public final static String MAGE_VERSION_MINOR_PATCH = "V5";
public final static String MAGE_VERSION_MINOR_PATCH = "V6";
public final static String MAGE_VERSION_INFO = "";

private final int major;
Original file line number Diff line number Diff line change
@@ -5,10 +5,10 @@
import mage.constants.*;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.game.permanent.token.TokenImpl;
import mage.game.permanent.token.Token;

public class CopyTokenEffect extends ContinuousEffectImpl {

protected Token token;

public CopyTokenEffect(Token token) {
@@ -28,19 +28,19 @@ public boolean apply(Game game, Ability source) {
permanent.setName(token.getName());
permanent.getColor(game).setColor(token.getColor(game));
permanent.getCardType().clear();
for (CardType type: token.getCardType()) {
for (CardType type : token.getCardType()) {
permanent.addCardType(type);
}
permanent.getSubtype(game).clear();
for (SubType type: token.getSubtype(game)) {
for (SubType type : token.getSubtype(game)) {
permanent.getSubtype(game).add(type);
}
permanent.getSuperType().clear();
for (SuperType type: token.getSuperType()) {
for (SuperType type : token.getSuperType()) {
permanent.addSuperType(type);
}
permanent.getAbilities().clear();
for (Ability ability: token.getAbilities()) {
for (Ability ability : token.getAbilities()) {
permanent.addAbility(ability, game);
}
permanent.getPower().setValue(token.getPower().getValue());
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ public enum CardRepository {
// raise this if db structure was changed
private static final long CARD_DB_VERSION = 51;
// raise this if new cards were added to the server
private static final long CARD_CONTENT_VERSION = 115;
private static final long CARD_CONTENT_VERSION = 116;
private Dao<CardInfo, Object> cardDao;
private Set<String> classNames;

0 comments on commit ca21f32

Please sign in to comment.