mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
Fixed high HP values
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user