W.I.P. Sci Fi theater zone (CH1S9) & Timeline fix.

This commit is contained in:
PRO100KatYT
2022-03-09 13:56:02 +01:00
parent e0eeab0ccd
commit 2b66e2db9d
2 changed files with 2547 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -223,11 +223,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.Season9.Phase2",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
},
{
"eventType": "EventFlag.Anniversary2019_BR",
"activeUntil": "9999-01-01T00:00:00.000Z",
@@ -248,6 +243,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.Season9.Phase2",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
})
}
}
if (memory.season == 10) {
@@ -307,7 +310,7 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
"activeSince": "2020-01-01T00:00:00.000Z"
})
if (Number(memory.build.toString().split(".")[1].split("")[0]) >= 2) {
if (memory.build.toString().includes(".") && (Number(memory.build.toString().split(".")[1].split("")[0]) >= 2)) {
activeEvents.push(
{
"eventType": "EventFlag.Starlight",
@@ -316,7 +319,7 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
})
}
if (Number(memory.build.toString().split(".")[1].split("")[0]) < 3) {
if (memory.build.toString().includes(".") && (Number(memory.build.toString().split(".")[1].split("")[0]) < 3)) {
activeEvents.push(
{
"eventType": "EventFlag.Season11.Fortnitemares.Quests.Phase1",