aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/slayers/index.js')
-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