From dc04058b0087a75dce55dd16cbe299d8fd39af40 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 25 Jan 2016 20:20:50 +0100 Subject: [PATCH] Added missing attributes to config.cml for release. --- Mage.Server/release/config/config.xml | 4 +++- .../sets/alarareborn/Crystallization.java | 20 ++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Mage.Server/release/config/config.xml b/Mage.Server/release/config/config.xml index f69d7f28af..123ba8599f 100644 --- a/Mage.Server/release/config/config.xml +++ b/Mage.Server/release/config/config.xml @@ -43,7 +43,9 @@ maxSecondsIdle="600" minUserNameLength="3" maxUserNameLength="14" - userNamePattern="[^a-z0-9_]" + invalidUserNamePattern="[^a-z0-9_]" + minPasswordLength="8" + maxPasswordLength="100" maxAiOpponents="15" saveGameActivated="false" authenticationActivated="false" diff --git a/Mage.Sets/src/mage/sets/alarareborn/Crystallization.java b/Mage.Sets/src/mage/sets/alarareborn/Crystallization.java index 66af16ece1..60df001baa 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/Crystallization.java +++ b/Mage.Sets/src/mage/sets/alarareborn/Crystallization.java @@ -54,15 +54,11 @@ import mage.target.targetpointer.FixedTarget; * @author jeffwadsworth */ public class Crystallization extends CardImpl { - + public Crystallization(UUID ownerId) { super(ownerId, 144, "Crystallization", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{G/U}{W}"); this.expansionSetCode = "ARB"; this.subtype.add("Aura"); - - - - // Enchant creature TargetPermanent auraTarget = new TargetCreaturePermanent(); @@ -77,11 +73,11 @@ public class Crystallization extends CardImpl { // When enchanted creature becomes the target of a spell or ability, exile that creature. this.addAbility(new CrystallizationTriggeredAbility()); } - + public Crystallization(final Crystallization card) { super(card); } - + @Override public Crystallization copy() { return new Crystallization(this); @@ -89,15 +85,15 @@ public class Crystallization extends CardImpl { } class CrystallizationTriggeredAbility extends TriggeredAbilityImpl { - + public CrystallizationTriggeredAbility() { super(Zone.BATTLEFIELD, new ExileTargetEffect()); } - + public CrystallizationTriggeredAbility(final CrystallizationTriggeredAbility ability) { super(ability); } - + @Override public CrystallizationTriggeredAbility copy() { return new CrystallizationTriggeredAbility(this); @@ -107,7 +103,7 @@ class CrystallizationTriggeredAbility extends TriggeredAbilityImpl { public boolean checkEventType(GameEvent event, Game game) { return event.getType() == EventType.TARGETED; } - + @Override public boolean checkTrigger(GameEvent event, Game game) { Permanent enchantment = game.getPermanent(sourceId); @@ -120,7 +116,7 @@ class CrystallizationTriggeredAbility extends TriggeredAbilityImpl { } return false; } - + @Override public String getRule() { return "When enchanted creature becomes the target of a spell or ability, exile that creature.";