From bcbc1e259f6655af4b2a547c635be6845487bfa6 Mon Sep 17 00:00:00 2001 From: tresabhi Date: Thu, 22 Jun 2023 18:28:10 +0000 Subject: [PATCH] fix: WN8 delta uses correct fixed decimals --- src/commands/eligible.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/eligible.ts b/src/commands/eligible.ts index c30b32390..92bcc56fb 100644 --- a/src/commands/eligible.ts +++ b/src/commands/eligible.ts @@ -122,7 +122,10 @@ export default { ]); } if (WN8 < 2450) { - problems.push(['WN8', `${WN8.toFixed(0)} (${WN8 - 2450})`]); + problems.push([ + 'WN8', + `${WN8.toFixed(0)} (${(WN8 - 2450).toFixed(0)})`, + ]); } if (tier10Damage < 1250) { problems.push([