aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
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);