mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* XMage 1.4.26V2
This commit is contained in:
parent
d024d59626
commit
f35eee935c
2 changed files with 4 additions and 5 deletions
|
@ -76,7 +76,7 @@ public class StarfieldOfNyx extends CardImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
public StarfieldOfNyx(UUID ownerId, CardSetInfo setInfo) {
|
public StarfieldOfNyx(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{4}{W}");
|
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{4}{W}");
|
||||||
|
|
||||||
// At the beginning of your upkeep, you may return target enchantment card from your graveyard to the battlefield.
|
// At the beginning of your upkeep, you may return target enchantment card from your graveyard to the battlefield.
|
||||||
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD,
|
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD,
|
||||||
|
@ -112,7 +112,7 @@ class StarfieldOfNyxEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
public StarfieldOfNyxEffect() {
|
public StarfieldOfNyxEffect() {
|
||||||
super(Duration.WhileOnBattlefield, Outcome.BecomeCreature);
|
super(Duration.WhileOnBattlefield, Outcome.BecomeCreature);
|
||||||
staticText = "Each other non-Aura enchantment is a creature in addition to its other types and has base power and toughness each equal to its converted mana cost";
|
staticText = "Each other non-Aura enchantment you control is a creature in addition to its other types and has base power and toughness each equal to its converted mana cost";
|
||||||
}
|
}
|
||||||
|
|
||||||
public StarfieldOfNyxEffect(final StarfieldOfNyxEffect effect) {
|
public StarfieldOfNyxEffect(final StarfieldOfNyxEffect effect) {
|
||||||
|
@ -162,7 +162,7 @@ class StarfieldOfNyxEffect extends ContinuousEffectImpl {
|
||||||
public Set<UUID> isDependentTo(List<ContinuousEffect> allEffectsInLayer) {
|
public Set<UUID> isDependentTo(List<ContinuousEffect> allEffectsInLayer) {
|
||||||
return allEffectsInLayer
|
return allEffectsInLayer
|
||||||
.stream()
|
.stream()
|
||||||
.filter(effect->effect.getDependencyTypes().contains(DependencyType.AuraAddingRemoving))
|
.filter(effect -> effect.getDependencyTypes().contains(DependencyType.AuraAddingRemoving))
|
||||||
.map(Effect::getId)
|
.map(Effect::getId)
|
||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,7 @@ public enum CardRepository {
|
||||||
// raise this if db structure was changed
|
// raise this if db structure was changed
|
||||||
private static final long CARD_DB_VERSION = 51;
|
private static final long CARD_DB_VERSION = 51;
|
||||||
// raise this if new cards were added to the server
|
// raise this if new cards were added to the server
|
||||||
private static final long CARD_CONTENT_VERSION = 87;
|
private static final long CARD_CONTENT_VERSION = 89;
|
||||||
private final TreeSet<String> landTypes = new TreeSet<>();
|
|
||||||
private Dao<CardInfo, Object> cardDao;
|
private Dao<CardInfo, Object> cardDao;
|
||||||
private Set<String> classNames;
|
private Set<String> classNames;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue