Fixed high HP values

This commit is contained in:
Tesseract1234567890 2021-06-02 21:57:31 -04:00
parent 6314000bd0
commit 0535a0c49b

@ -67,7 +67,10 @@ class NumeralFormatter {
} }
formatHp(n: number): string { formatHp(n: number): string {
return this.format(n, "0"); if(n < 1e6){
return this.format(n, "0,0");
}
return this.formatAbsurdNumber(n, 3)
} }
formatMoney(n: number): string { formatMoney(n: number): string {