diff options
-rw-r--r-- | features/slayers/index.js | 2 | ||||
-rw-r--r-- | features/streamsGUI/index.js | 5 |
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(){ |