From caf82bd3d36f9652d83d4840cb7c5598d5139ad6 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 8 Jun 2022 07:11:23 +0800 Subject: + fix rounding issues on slayer exp displays --- features/slayers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/slayers/index.js b/features/slayers/index.js index 7076736..ee399f4 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -91,7 +91,7 @@ class Slayers extends Feature { } } - this.slayerExp[this.lastSlayerType] = this.lastSlayerExp * multiplier + (this.slayerExp[this.lastSlayerType] || 0); + this.slayerExp[this.lastSlayerType] = Math.round(this.lastSlayerExp * multiplier) + (this.slayerExp[this.lastSlayerType] || 0); if (this.expOnKill.getValue()) { cancel(e); -- cgit