From c4514221c9c1182801f01a6ae9ec9e314fd2718d Mon Sep 17 00:00:00 2001 From: PRO100KatYT Date: Sun, 28 Nov 2021 15:10:22 +0100 Subject: [PATCH] S6 Halloween Lobby + Some Battle Bus Event Flags --- index.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/index.js b/index.js index 4e52e81..1e0376f 100644 --- a/index.js +++ b/index.js @@ -1026,6 +1026,14 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => { "activeUntil": "9999-01-01T00:00:00.000Z", "activeSince": "2020-01-01T00:00:00.000Z" }) + if (req.headers["user-agent"].includes("Release-5.10")) { + activeEvents.push( + { + "eventType": "EventFlag.BirthdayBattleBus", + "activeUntil": "9999-01-01T00:00:00.000Z", + "activeSince": "2020-01-01T00:00:00.000Z" + }) + } } if (seasondata.season == 6) { @@ -1045,6 +1053,19 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => { "activeUntil": "9999-01-01T00:00:00.000Z", "activeSince": "2020-01-01T00:00:00.000Z" }) + if (req.headers["user-agent"].includes("Release-6.20") || req.headers["user-agent"].includes("Release-6.21")) { + activeEvents.push( + { + "eventType": "EventFlag.LobbySeason6Halloween", + "activeUntil": "9999-01-01T00:00:00.000Z", + "activeSince": "2020-01-01T00:00:00.000Z" + }, + { + "eventType": "EventFlag.HalloweenBattleBus", + "activeUntil": "9999-01-01T00:00:00.000Z", + "activeSince": "2020-01-01T00:00:00.000Z" + }) + } } if (seasondata.season == 7) {