From 6314000bd06e6b9b40c63fb2c4302639e320366a Mon Sep 17 00:00:00 2001 From: Tesseract1234567890 Date: Wed, 2 Jun 2021 21:54:11 -0400 Subject: [PATCH] Fixed absurdly high skill counter on UI --- src/ui/numeralFormat.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/numeralFormat.ts b/src/ui/numeralFormat.ts index 3c8c38d57..37cdcae71 100644 --- a/src/ui/numeralFormat.ts +++ b/src/ui/numeralFormat.ts @@ -75,7 +75,10 @@ class NumeralFormatter { } formatSkill(n: number): string { - return this.format(n, "0,0"); + if(n < 1e15){ + return this.format(n, "0,0"); + } + return this.formatAbsurdNumber(n, 3); } formatExp(n: number): string {