From 619856c8f5d0572bf8509926a1048a89a63e5f9e Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 6 Mar 2016 10:25:11 +0100 Subject: [PATCH] Some minor changes. --- Mage.Server/release/readme.txt | 2 +- Mage.Server/server.msg.txt | 2 +- .../abilities/decorator/ConditionalActivatedAbility.java | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Mage.Server/release/readme.txt b/Mage.Server/release/readme.txt index 4eb395fe854..0299e81adac 100644 --- a/Mage.Server/release/readme.txt +++ b/Mage.Server/release/readme.txt @@ -11,7 +11,7 @@ You can download this from: http://java.com/ Installing and running XMage You will need to download both the client and the server applications. These can be -obtained from HTTP://XMage.info. +obtained from HTTP://XMage.de. Extact the client and the server to separate folders. To play a game you can either connect to a server or start your own server. To diff --git a/Mage.Server/server.msg.txt b/Mage.Server/server.msg.txt index b7101ba5dc5..e0375adafb6 100644 --- a/Mage.Server/server.msg.txt +++ b/Mage.Server/server.msg.txt @@ -2,5 +2,5 @@ HotKeys: Alt+E - Enlarge card image Wheel zoom in/out - Enlarge card image F4 - end current turn, response to stack F9 - skip all opponents' turns, no response to stack -Welcome! You are playing Mage version 1.4.3 +Welcome! You are playing Mage version 1.4.9 Contact us on www.slightlymagic.net \ No newline at end of file diff --git a/Mage/src/main/java/mage/abilities/decorator/ConditionalActivatedAbility.java b/Mage/src/main/java/mage/abilities/decorator/ConditionalActivatedAbility.java index 457722a855f..38339c569d8 100644 --- a/Mage/src/main/java/mage/abilities/decorator/ConditionalActivatedAbility.java +++ b/Mage/src/main/java/mage/abilities/decorator/ConditionalActivatedAbility.java @@ -1,4 +1,4 @@ - /* +/* * To change this template, choose Tools | Templates * and open the template in the editor. */ @@ -23,7 +23,7 @@ import mage.game.Game; public class ConditionalActivatedAbility extends ActivatedAbilityImpl { private static final Effects emptyEffects = new Effects(); - + private final Condition condition; private String ruleText = null; @@ -31,7 +31,7 @@ public class ConditionalActivatedAbility extends ActivatedAbilityImpl { super(zone, effect, cost); this.condition = condition; } - + public ConditionalActivatedAbility(Zone zone, Effect effect, ManaCosts cost, Condition condition, String rule) { super(zone, effect, cost); this.condition = condition; @@ -82,6 +82,6 @@ public class ConditionalActivatedAbility extends ActivatedAbilityImpl { if (ruleText != null && !ruleText.isEmpty()) { return ruleText; } - return new StringBuilder(super.getRule()).append(" Activate this ability only ").append(condition.toString()).append(".").toString(); + return super.getRule() + " Activate this ability only " + condition.toString(); } }