aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-07 16:56:58 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-07 16:56:58 +0800
commitc147a7b52f04d1c5003a79d01eeab58bad28a27d (patch)
tree3d012808ae6b71ab89bda3824f453aee254f778a /features/slayers/index.js
parent091590d76e30797ec27a143129146904c14dd2b3 (diff)
downloadSoopyV2-c147a7b52f04d1c5003a79d01eeab58bad28a27d.tar.gz
SoopyV2-c147a7b52f04d1c5003a79d01eeab58bad28a27d.tar.bz2
SoopyV2-c147a7b52f04d1c5003a79d01eeab58bad28a27d.zip
+ fix slayer exp getting multiplied by 1.25 every boss
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js2
1 files changed, 1 insertions, 1 deletions
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);