From c147a7b52f04d1c5003a79d01eeab58bad28a27d Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 7 Jun 2022 16:56:58 +0800 Subject: + fix slayer exp getting multiplied by 1.25 every boss --- features/slayers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/slayers') diff --git a/features/slayers/index.js b/features/slayers/index.js index df49346..ed7bb04 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 + (this.slayerExp[this.lastSlayerType] || 0) * multiplier; + this.slayerExp[this.lastSlayerType] = this.lastSlayerExp* multiplier + (this.slayerExp[this.lastSlayerType] || 0) ; if (this.expOnKill.getValue()) { cancel(e); -- cgit