Feature: Update incrementSkillLevel() call to replace hard coded value with value from globals

This commit is contained in:
Dev 2023-03-21 14:35:29 +00:00
parent 249730ee65
commit 415b73d674

View File

@ -198,8 +198,7 @@ export class HideoutController
}
// Add Skill Points Per Area Upgrade
//TODO using a variable for value of increment
this.playerService.incrementSkillLevel(pmcData, SkillTypes.HIDEOUT_MANAGEMENT, 80);
this.playerService.incrementSkillLevel(pmcData, SkillTypes.HIDEOUT_MANAGEMENT, this.databaseServer.getTables().globals.config.SkillsSettings.HideoutManagement.SkillPointsPerAreaUpgrade);
return output;
}