Fix quests

This commit is contained in:
CWX
2025-01-17 19:20:11 +00:00
parent d862f845fd
commit 6622f4767c
4 changed files with 12 additions and 5 deletions
@@ -83,6 +83,8 @@ public class RepeatableQuestController
public List<PmcDataRepeatableQuest> GetClientRepeatableQuests(string sessionID)
{
_logger.Error("BYPASSED GetClientRepeatableQuests");
return new();
var returnData = new List<PmcDataRepeatableQuest>();
var fullProfile = _profileHelper.GetFullProfile(sessionID);
var pmcData = fullProfile.CharacterData.PmcData;
@@ -136,7 +138,7 @@ public class RepeatableQuestController
{
quest = _repeatableQuestGenerator.GenerateRepeatableQuest(
sessionID,
pmcData.Info.Level,
pmcData.Info.Level ?? 0,
pmcData.TradersInfo,
questTypePool,
repeatableConfig);
@@ -295,6 +297,8 @@ public class RepeatableQuestController
private QuestTypePool GenerateQuestPool(RepeatableQuestConfig repeatableConfig, int? pmcLevel)
{
_logger.Error("BYPASSED GenerateQuestPool");
return new();
var questPool = CreateBaseQuestPool(repeatableConfig);
// Get the allowed locations based on the PMC's level