mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Merge fix
This commit is contained in:
parent
c6a3d5e588
commit
1e4f3524a9
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ public class EpicEffect extends OneShotEffect {
|
|||
if (spell == null) {
|
||||
return false;
|
||||
}
|
||||
spell = spell.copy();
|
||||
spell = spell.copy(); // it's a fake spell (template), real copy with events in EpicPushEffect
|
||||
spell.getSpellAbility().getEffects().removeIf(EpicEffect.class::isInstance);
|
||||
game.addDelayedTriggeredAbility(new AtTheBeginOfYourNextUpkeepDelayedTriggeredAbility(
|
||||
new EpicPushEffect(spell, rule), Duration.EndOfGame, false
|
||||
|
|
|
@ -34,9 +34,9 @@ public enum CardRepository {
|
|||
private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE";
|
||||
private static final String VERSION_ENTITY_NAME = "card";
|
||||
// raise this if db structure was changed
|
||||
private static final long CARD_DB_VERSION = 54;
|
||||
private static final long CARD_DB_VERSION = 53;
|
||||
// raise this if new cards were added to the server
|
||||
private static final long CARD_CONTENT_VERSION = 238;
|
||||
private static final long CARD_CONTENT_VERSION = 239;
|
||||
private Dao<CardInfo, Object> cardDao;
|
||||
private Set<String> classNames;
|
||||
private final RepositoryEventSource eventSource = new RepositoryEventSource();
|
||||
|
|
Loading…
Reference in a new issue