Added the Spring Event theater zone (CH1S8)

This commit is contained in:
PRO100KatYT
2022-03-12 10:16:50 +01:00
parent c8a697ff89
commit 94ccb2ffa1
2 changed files with 3072 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -188,11 +188,6 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
},
{
"eventType": "EventFlag.Spring2019.Phase2",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
},
{
"eventType": "EventFlag.LTM_Ashton",
"activeUntil": "9999-01-01T00:00:00.000Z",
@@ -213,6 +208,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 (memory.build.toString().includes(".") && (Number(memory.build.toString().split(".")[1].split("")[0]) >= 2)) {
activeEvents.push(
{
"eventType": "EventFlag.Spring2019.Phase2",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
})
}
}