mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Updated Card Repository version.
This commit is contained in:
parent
78959ebbaa
commit
949e861efd
2 changed files with 14 additions and 1 deletions
|
@ -9,6 +9,19 @@ import mage.constants.Duration;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 702.13. Intimidate #
|
||||||
|
*
|
||||||
|
* 702.13a Intimidate is an evasion ability.
|
||||||
|
*
|
||||||
|
* 702.13b A creature with intimidate can't be blocked except by artifact creatures
|
||||||
|
* and/or creatures that share a color with it. (See rule 509, "Declare Blockers Step.") #
|
||||||
|
*
|
||||||
|
* 702.13c Multiple instances of intimidate on the same creature are redundant.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class IntimidateAbility extends EvasionAbility<IntimidateAbility> implements MageSingleton {
|
public class IntimidateAbility extends EvasionAbility<IntimidateAbility> implements MageSingleton {
|
||||||
private static final IntimidateAbility fInstance = new IntimidateAbility();
|
private static final IntimidateAbility fInstance = new IntimidateAbility();
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ public enum CardRepository {
|
||||||
|
|
||||||
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 String VERSION_ENTITY_NAME = "card";
|
private static final String VERSION_ENTITY_NAME = "card";
|
||||||
private static final long CARD_DB_VERSION = 14;
|
private static final long CARD_DB_VERSION = 15;
|
||||||
|
|
||||||
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