From 96a40eb30174162b27f421ab629399474f58dfc5 Mon Sep 17 00:00:00 2001 From: Kaeno Date: Tue, 9 Jul 2024 14:52:35 +0100 Subject: [PATCH] Enable Quest saving when leaving raid as pmc. Modify maxbotpve caps instead of maxbot cap --- project/src/controllers/GameController.ts | 2 +- project/src/services/LocationLifecycleService.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 30cab90c..aae2ce94 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -312,7 +312,7 @@ export class GameController continue; } - map.base.BotMax = this.botConfig.maxBotCap[locationKey]; + map.base.BotMaxPvE = this.botConfig.maxBotCap[locationKey]; // make values no larger than 30 secs map.base.BotStart = Math.min(map.base.BotStart, 30); diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index 5727569e..13297195 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -470,6 +470,7 @@ export class LocationLifecycleService pmcProfile.TaskConditionCounters = postRaidProfile.TaskConditionCounters; pmcProfile.SurvivorClass = postRaidProfile.SurvivorClass; pmcProfile.Achievements = postRaidProfile.Achievements; + pmcProfile.Quests = postRaidProfile.Quests; pmcProfile.Info.Experience = postRaidProfile.Info.Experience;