Added Winterfest 2022

This commit is contained in:
PRO100KatYT
2022-12-13 15:56:13 +01:00
parent ecef24739b
commit 0eb357525b
4 changed files with 65 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/PurchaseHomebaseNode", asyn
res.end();
});
// Open Winterfest presents (11.31 & 19.01)
// Open Winterfest presents (11.31, 19.01 & 23.10)
express.post("/fortnite/api/game/v2/profile/*/client/UnlockRewardNode", async (req, res) => {
const profile = require(`./../profiles/${req.query.profileId || "athena"}.json`);
const common_core = require("./../profiles/common_core.json");

View File

@@ -1066,6 +1066,20 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
})
}
if (memory.build == 23.10) {
activeEvents.push(
{
"eventType": "EventFlag.LTE_WinterFest",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
},
{
"eventType": "EventFlag.LTE_WinterFestTab",
"activeUntil": "9999-01-01T00:00:00.000Z",
"activeSince": "2020-01-01T00:00:00.000Z"
})
}
if (config.Profile.bAllSTWEventsActivated == true) {
var Events = [
"EventFlag.Blockbuster2018",