Implemented getClientRepeatableQuests

Adjusted various profile properties to match EFT types
This commit is contained in:
Chomp
2025-01-16 20:36:50 +00:00
parent fea51987e3
commit 7abcf08f09
5 changed files with 204 additions and 10 deletions
+2 -2
View File
@@ -322,7 +322,7 @@ public class PlayerScavGenerator
return _profileHelper.GetDefaultCounters();
}
protected double GetScavLevel(PmcData scavProfile)
protected int GetScavLevel(PmcData scavProfile)
{
// Info can be null on initial account creation
if (scavProfile?.Info?.Level == null)
@@ -331,7 +331,7 @@ public class PlayerScavGenerator
return scavProfile?.Info?.Level ?? 1;
}
protected double GetScavExperience(PmcData scavProfile)
protected int GetScavExperience(PmcData scavProfile)
{
// Info can be null on initial account creation
if (scavProfile?.Info?.Experience == null)
+1 -1
View File
@@ -25,7 +25,7 @@ public class RepeatableQuestGenerator
/// <returns>RepeatableQuest</returns>
public RepeatableQuest GenerateRepeatableQuest(
string sessionId,
int pmcLevel,
int? pmcLevel,
Dictionary<string, TraderInfo> pmcTraderInfo,
QuestTypePool questTypePool,
RepeatableQuestConfig repeatableConfig