mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-13 17:27:46 +00:00
improve CostRemoveCounter prompt formatting
This commit is contained in:
@@ -108,10 +108,11 @@ public class CostRemoveCounter extends CostPart {
|
|||||||
} else {
|
} else {
|
||||||
sb.append("Remove ");
|
sb.append("Remove ");
|
||||||
final Integer i = this.convertAmount();
|
final Integer i = this.convertAmount();
|
||||||
sb.append(Cost.convertAmountTypeToWords(i, this.getAmount(), this.counter.getName() + " counter"));
|
if (this.getAmount().equals("X")) {
|
||||||
|
sb.append("any number of counters");
|
||||||
if (this.getAmount().equals("All")) {
|
} else {
|
||||||
sb.append("s");
|
sb.append(Cost.convertAmountTypeToWords(i, this.getAmount(), this.counter.getName().toLowerCase()));
|
||||||
|
sb.append(this.getAmount().equals("1") ? " counter" : " counters");
|
||||||
}
|
}
|
||||||
|
|
||||||
sb.append(" from ");
|
sb.append(" from ");
|
||||||
|
|||||||
Reference in New Issue
Block a user