mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Some fixes to Emblems of Starwars set and Elspeth, Sun Champion.
This commit is contained in:
parent
3516dc75e4
commit
daf34c6bf0
4 changed files with 8 additions and 8 deletions
|
@ -98,8 +98,8 @@ class ObiWanKenobiEmblem extends Emblem {
|
|||
// Creatures you control get +1/+1 and have vigilance, first strike, and lifelink
|
||||
public ObiWanKenobiEmblem() {
|
||||
this.setName("Emblem - Obi-Wan");
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield));
|
||||
Effect effect = new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.WhileOnBattlefield);
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new BoostControlledEffect(1, 1, Duration.EndOfGame));
|
||||
Effect effect = new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.EndOfGame);
|
||||
effect.setText("and have vigilance,");
|
||||
ability.addEffect(effect);
|
||||
effect = new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -138,10 +138,10 @@ class YodaEmblem extends Emblem {
|
|||
// You get an emblem with "Hexproof, you and your creatures have."
|
||||
public YodaEmblem() {
|
||||
this.setName("Emblem - Yoda");
|
||||
Effect effect = new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield);
|
||||
Effect effect = new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.EndOfGame);
|
||||
effect.setText("Hexproof,");
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
|
||||
effect = new GainAbilityControllerEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield);
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, effect);
|
||||
effect = new GainAbilityControllerEffect(HexproofAbility.getInstance(), Duration.EndOfGame);
|
||||
effect.setText(" you and your creatures have");
|
||||
ability.addEffect(effect);
|
||||
getAbilities().add(ability);
|
||||
|
|
|
@ -93,8 +93,8 @@ class ElspethSunsChampionEmblem extends Emblem {
|
|||
|
||||
public ElspethSunsChampionEmblem() {
|
||||
this.setName("EMBLEM: Elspeth, Sun's Champion");
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new BoostControlledEffect(2, 2, Duration.WhileOnBattlefield, filter, false));
|
||||
ability.addEffect(new GainAbilityControlledEffect(FlyingAbility.getInstance(), Duration.WhileOnBattlefield, filter));
|
||||
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new BoostControlledEffect(2, 2, Duration.EndOfGame, filter, false));
|
||||
ability.addEffect(new GainAbilityControlledEffect(FlyingAbility.getInstance(), Duration.EndOfGame, filter));
|
||||
this.getAbilities().add(ability);
|
||||
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ public enum ExpansionRepository {
|
|||
private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE";
|
||||
private static final String VERSION_ENTITY_NAME = "expansion";
|
||||
private static final long EXPANSION_DB_VERSION = 5;
|
||||
private static final long EXPANSION_CONTENT_VERSION = 10;
|
||||
private static final long EXPANSION_CONTENT_VERSION = 11;
|
||||
|
||||
private Dao<ExpansionInfo, Object> expansionDao;
|
||||
|
||||
|
|
Loading…
Reference in a new issue