mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Changed loyalty pay cost description (from "1 loyalty:" to "+1:")
This commit is contained in:
parent
43e327159a
commit
da4fc3f203
3 changed files with 4 additions and 3 deletions
|
@ -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> {
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue