aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-21 22:21:31 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-21 22:21:31 +0800
commit5139209b268a6f34b2fa65b3963f451a4e316ce6 (patch)
tree13b55578968aac9e75b7f8ca45a7866ca44259b7
parent42755196a746aeb309f6b87c48f6b2e2fc0c68cf (diff)
downloadSoopyV2-5139209b268a6f34b2fa65b3963f451a4e316ce6.tar.gz
SoopyV2-5139209b268a6f34b2fa65b3963f451a4e316ce6.tar.bz2
SoopyV2-5139209b268a6f34b2fa65b3963f451a4e316ce6.zip
Fix boss slain timer, and some comments
-rw-r--r--features/slayers/index.js2
-rw-r--r--features/streamsGUI/index.js5
2 files changed, 6 insertions, 1 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 7232a0c..3c3b517 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -46,7 +46,7 @@ class Slayers extends Feature {
ChatLib.chat("&r &r&a&lSLAYER QUEST COMPLETE!&r")
ChatLib.chat("&r &r&aYou have &d" + numberWithCommas(this.slayerExp[this.lastSlayerType]) + " " + this.lastSlayerType + " XP&r&7!&r")
ChatLib.chat("&r &r&aYou have &d" + numberWithCommas(Object.values(this.slayerExp).reduce((a, t)=>t+a, 0)) + " total XP&r&7!&r")
- if(Date-now()-this.lastBossSlain < 60000*5) ChatLib.chat("&r &r&aBoss took &d" + timeNumber((Date-now()-this.lastBossSlain)) + " to spawn and kill&r&7!&r")
+ if(Date.now()-this.lastBossSlain < 60000*5) ChatLib.chat("&r &r&aBoss took &d" + timeNumber((Date.now()-this.lastBossSlain)) + " &ato spawn and kill&r&7!&r") //TODO: Seperate setting for this
}
this.lastBossSlain = Date.now()
})
diff --git a/features/streamsGUI/index.js b/features/streamsGUI/index.js
index 9ac7bc0..2cd2a4f 100644
--- a/features/streamsGUI/index.js
+++ b/features/streamsGUI/index.js
@@ -75,7 +75,12 @@ class StreamPage extends GuiPage {
this.openSidebarPage(sidebar)
+ /*
+ TODO: finish this
+ - Open stream in browser button
+ - show live chat
+ */
}
onOpen(){