mirror of
https://github.com/correl/mage.git
synced 2024-12-29 19:15:06 +00:00
Added missing attributes to config.cml for release.
This commit is contained in:
parent
3134900a73
commit
dc04058b00
2 changed files with 11 additions and 13 deletions
|
@ -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"
|
||||
|
|
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue