From 9f3a8865b7f1ad059cc4876c4a9c8f774ce380ca Mon Sep 17 00:00:00 2001 From: PRO100KatYT <67335438+PRO100KatYT@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:20:39 +0100 Subject: [PATCH] Increase challenge bundle level for s10 & s11 when the quests are set to completed --- structure/mcp.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/structure/mcp.js b/structure/mcp.js index 6184325..d8ad863 100644 --- a/structure/mcp.js +++ b/structure/mcp.js @@ -1123,6 +1123,10 @@ express.post("/fortnite/api/game/v2/profile/*/client/ClientQuestLogin", async (r if (config.Profile.bCompletedSeasonalQuests == true) { profile.items[ChallengeBundleID].attributes.num_quests_completed = ChallengeBundle.grantedquestinstanceids.length; profile.items[ChallengeBundleID].attributes.num_progress_quests_completed = ChallengeBundle.grantedquestinstanceids.length; + + if ((memory.season == 10 || memory.season == 11) && (ChallengeBundle.templateId.toLowerCase().includes("missionbundle_s10_0") || ChallengeBundle.templateId.toLowerCase() == "challengebundle:missionbundle_s11_stretchgoals2")) { + profile.items[ChallengeBundleID].attributes.level += 1; + } } ApplyProfileChanges.push({