Adjustments for Int/Cha progression in Hideout (#737)

* Fixup of some skill handling in hideout

* fix format

* add limited backwards compat and fix repair int value

* more logging and fixes

* fix charisma gain from repair

* revert divisor into multiplier

* run csharpier format

* undo formating/unnecessary files

* add debug guards

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon
2026-02-07 19:45:31 +01:00
committed by GitHub
parent 537ffad7f6
commit 9f189f2e15
6 changed files with 38 additions and 16 deletions
@@ -7,6 +7,7 @@ using SPTarkov.Server.Core.Models.Eft.Common.Tables;
using SPTarkov.Server.Core.Models.Eft.Profile;
using SPTarkov.Server.Core.Models.Enums;
using SPTarkov.Server.Core.Models.Spt.Config;
using SPTarkov.Server.Core.Models.Spt.Logging;
using SPTarkov.Server.Core.Models.Utils;
using SPTarkov.Server.Core.Servers;
using SPTarkov.Server.Core.Services;
@@ -509,6 +510,11 @@ public class ProfileHelper(
profileSkill.PointsEarnedDuringSession += pointsToAddToSkill;
if (logger.IsLogEnabled(LogLevel.Debug))
{
logger.Debug($"Added: {pointsToAddToSkill} points to skill: {skill}, new progress value is: {profileSkill.Progress}");
}
profileSkill.LastAccess = timeUtil.GetTimeStamp();
}