Changed loyalty pay cost description (from "1 loyalty:" to "+1:")

This commit is contained in:
magenoxx 2011-07-30 10:56:56 +04:00
parent 43e327159a
commit da4fc3f203
3 changed files with 4 additions and 3 deletions

View file

@ -56,7 +56,7 @@ import java.util.HashSet;
import java.util.UUID; import java.util.UUID;
/** /**
* @author anonymous * @author nantuko
*/ */
public class GolemArtisan extends CardImpl<GolemArtisan> { public class GolemArtisan extends CardImpl<GolemArtisan> {

View file

@ -44,7 +44,8 @@ public class PayLoyaltyCost extends CostImpl<PayLoyaltyCost> {
public PayLoyaltyCost(int amount) { public PayLoyaltyCost(int amount) {
this.amount = 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) { public PayLoyaltyCost(PayLoyaltyCost cost) {

View file

@ -45,7 +45,7 @@ public class PayVariableLoyaltyCost extends CostImpl<PayVariableLoyaltyCost> imp
protected int amountPaid = 0; protected int amountPaid = 0;
public PayVariableLoyaltyCost() { public PayVariableLoyaltyCost() {
this.text = "-X loyalty"; this.text = "-X";
} }
public PayVariableLoyaltyCost(final PayVariableLoyaltyCost cost) { public PayVariableLoyaltyCost(final PayVariableLoyaltyCost cost) {