aboutsummaryrefslogtreecommitdiff
path: root/features/slayers
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-01 20:47:57 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-01 20:47:57 +0800
commit83160f40b3c4fa147f05078a014bb2570bacaa72 (patch)
treee9f1a2291c86df2e510df492f9a2ac0873959bf1 /features/slayers
parentbd7630cb2610e00b686f8e571a8472b2f66fb0af (diff)
downloadSoopyV2-83160f40b3c4fa147f05078a014bb2570bacaa72.tar.gz
SoopyV2-83160f40b3c4fa147f05078a014bb2570bacaa72.tar.bz2
SoopyV2-83160f40b3c4fa147f05078a014bb2570bacaa72.zip
clear waypoints after a death
Diffstat (limited to 'features/slayers')
-rw-r--r--features/slayers/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 13abf1f..9f993db 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -81,6 +81,10 @@ class Slayers extends Feature {
this.lastBossSlain = Date.now();
});
+ this.registerChat("&r &r&c&lSLAYER QUEST FAILED!&r", () => {
+ socketConnection.sendSlayerSpawnData({ loc: null, lobby: this.FeatureManager.features["dataLoader"].class.stats.Server });
+ })
+
this.bossSlainMessage = false;
this.bossSpawnedMessage = false;
this.lastBossNotSpawnedTime = 0;
@@ -130,6 +134,7 @@ class Slayers extends Feature {
}
slayerLocationData(loc, user) {
+ console.log(user + " : " + JSON.stringify(loc))
if (!loc) {
delete this.slayerLocationDataH[user]
return