mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Fixed high HP values
This commit is contained in:
parent
6314000bd0
commit
0535a0c49b
@ -67,7 +67,10 @@ class NumeralFormatter {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user