mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Temporary CH1S4 theater zone fix.
This commit is contained in:
@@ -53,22 +53,31 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
|
||||
"eventType": "EventFlag.Blockbuster2018Phase1",
|
||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
},
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase2",
|
||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
},
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase3",
|
||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
},
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase4",
|
||||
"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]) >= 3)) {
|
||||
activeEvents.push(
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase2",
|
||||
"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]) >= 4)) {
|
||||
activeEvents.push(
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase3",
|
||||
"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]) >= 5)) {
|
||||
activeEvents.push(
|
||||
{
|
||||
"eventType": "EventFlag.Blockbuster2018Phase4",
|
||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
if (memory.season == 5) {
|
||||
@@ -279,7 +288,7 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
},
|
||||
{
|
||||
"eventType": "EEventFlag.S10_Mystery",
|
||||
"eventType": "EventFlag.S10_Mystery",
|
||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user