mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Increase challenge bundle level for s10 & s11 when the quests are set to completed
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user