Xmage 1.4.24.V1

This commit is contained in:
LevelX2 2017-07-09 01:29:26 +02:00
parent da6a4bd614
commit 8e666c9403
3 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,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 = 24;
public final static String MAGE_VERSION_MINOR_PATCH = "V0";
public final static String MAGE_VERSION_MINOR_PATCH = "V1";
public final static String MAGE_VERSION_INFO = "";
private final int major;

View file

@ -27,6 +27,7 @@
*/
package mage.cards.f;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.condition.common.RevoltCondition;
import mage.abilities.effects.OneShotEffect;
@ -40,8 +41,6 @@ import mage.players.Player;
import mage.target.common.TargetCreaturePermanent;
import mage.watchers.common.RevoltWatcher;
import java.util.UUID;
/**
*
* @author emerald000
@ -91,7 +90,8 @@ class FatalPushEffect extends OneShotEffect {
Permanent targetCreature = game.getPermanent(this.getTargetPointer().getFirst(game, source));
if (targetCreature != null) {
int cmc = targetCreature.getConvertedManaCost();
if (cmc <= 2 || (RevoltCondition.instance.apply(game, source) && cmc <= 4)) {
if (cmc <= 2
|| (RevoltCondition.instance.apply(game, source) && cmc <= 4)) {
targetCreature.destroy(source.getSourceId(), game, false);
}
}

View file

@ -58,7 +58,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 = 82;
private static final long CARD_CONTENT_VERSION = 83;
private final TreeSet<String> landTypes = new TreeSet<>();
private Dao<CardInfo, Object> cardDao;
private Set<String> classNames;