mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Show energy symbols in cost payment
This commit is contained in:
@@ -48,7 +48,12 @@ public class CostPayEnergy extends CostPart {
|
||||
@Override
|
||||
public final String toString() {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
sb.append("Pay ").append(this.getAmount()).append(" Energy");
|
||||
sb.append("Pay ");
|
||||
|
||||
int count = Integer.parseInt(getAmount()) - paidAmount;
|
||||
for (int i = 0; i < count; i++) {
|
||||
sb.append("{E}");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user