Refactored how skills are parsed, fixes issues with bot generation and end of raid profile parsing

This commit is contained in:
Chomp
2025-06-08 09:39:14 +01:00
parent 094d83ced5
commit 89106d5448
7 changed files with 64 additions and 59 deletions
@@ -537,7 +537,7 @@ public class ProfileHelper(
/// <param name="pmcData">Player profile</param>
/// <param name="skill">Skill to look up and return value from</param>
/// <returns>Common skill object from desired profile</returns>
public BaseSkill? GetSkillFromProfile(PmcData pmcData, SkillTypes skill)
public CommonSkill? GetSkillFromProfile(PmcData pmcData, SkillTypes skill)
{
var skillToReturn = pmcData?.Skills?.Common.FirstOrDefault(s => s.Id == skill);
if (skillToReturn == null)