mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
fixed life payment cost text
This commit is contained in:
parent
57022068d3
commit
d3484ddc5d
1 changed files with 2 additions and 3 deletions
|
@ -18,13 +18,12 @@ public class PayLifeCost extends CostImpl {
|
|||
private final DynamicValue amount;
|
||||
|
||||
public PayLifeCost(int amount) {
|
||||
this.amount = StaticValue.get(amount);
|
||||
this.text = "Pay " + Integer.toString(amount) + " life";
|
||||
this(StaticValue.get(amount), Integer.toString(amount) + " life");
|
||||
}
|
||||
|
||||
public PayLifeCost(DynamicValue amount, String text) {
|
||||
this.amount = amount.copy();
|
||||
this.text = "Pay " + text;
|
||||
this.text = "pay " + text;
|
||||
}
|
||||
|
||||
public PayLifeCost(PayLifeCost cost) {
|
||||
|
|
Loading…
Reference in a new issue