From 83160f40b3c4fa147f05078a014bb2570bacaa72 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 1 May 2022 20:47:57 +0800 Subject: clear waypoints after a death --- features/slayers/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'features') 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 -- cgit