aboutsummaryrefslogtreecommitdiff
path: root/features
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
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')
-rw-r--r--features/mining/index.js2
-rw-r--r--features/slayers/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/mining/index.js b/features/mining/index.js
index f8f7843..3536501 100644
--- a/features/mining/index.js
+++ b/features/mining/index.js
@@ -68,7 +68,7 @@ class Mining extends Feature {
this.hudElements.push(this.nextChEventElement)
- this.metalDetectorSolver = new ToggleSetting("Metal detector solver", "", true, "metal_detector_solver", this)
+ this.metalDetectorSolver = new ToggleSetting("Metal detector solver", "", true, "metal_detector_solver", this).contributor("tenios", ["- idea that chests are in same locations every time", "- locations of chests", "- finding offset of divan mines"])
this.alertTools = new ToggleSetting("Alert when all 4 tools in inventory", "", true, "alert_tools", this)
this.seenBalDamages = []
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);