From da4fc3f203ece7b95b9022735ade95aceb7aeeb4 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Sat, 30 Jul 2011 10:56:56 +0400 Subject: [PATCH] Changed loyalty pay cost description (from "1 loyalty:" to "+1:") --- Mage.Sets/src/mage/sets/scarsofmirrodin/GolemArtisan.java | 2 +- Mage/src/mage/abilities/costs/common/PayLoyaltyCost.java | 3 ++- .../mage/abilities/costs/common/PayVariableLoyaltyCost.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/GolemArtisan.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/GolemArtisan.java index e81ca298f3..758ab1a11c 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/GolemArtisan.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/GolemArtisan.java @@ -56,7 +56,7 @@ import java.util.HashSet; import java.util.UUID; /** - * @author anonymous + * @author nantuko */ public class GolemArtisan extends CardImpl { diff --git a/Mage/src/mage/abilities/costs/common/PayLoyaltyCost.java b/Mage/src/mage/abilities/costs/common/PayLoyaltyCost.java index ddfda7f9ac..f42148993a 100644 --- a/Mage/src/mage/abilities/costs/common/PayLoyaltyCost.java +++ b/Mage/src/mage/abilities/costs/common/PayLoyaltyCost.java @@ -44,7 +44,8 @@ public class PayLoyaltyCost extends CostImpl { public PayLoyaltyCost(int amount) { this.amount = amount; - this.text = Integer.toString(amount) + " loyalty"; + this.text = Integer.toString(amount); + if (amount >= 0) this.text = "+" + this.text; } public PayLoyaltyCost(PayLoyaltyCost cost) { diff --git a/Mage/src/mage/abilities/costs/common/PayVariableLoyaltyCost.java b/Mage/src/mage/abilities/costs/common/PayVariableLoyaltyCost.java index be25b7ecc0..682247b123 100644 --- a/Mage/src/mage/abilities/costs/common/PayVariableLoyaltyCost.java +++ b/Mage/src/mage/abilities/costs/common/PayVariableLoyaltyCost.java @@ -45,7 +45,7 @@ public class PayVariableLoyaltyCost extends CostImpl imp protected int amountPaid = 0; public PayVariableLoyaltyCost() { - this.text = "-X loyalty"; + this.text = "-X"; } public PayVariableLoyaltyCost(final PayVariableLoyaltyCost cost) {