Refactored how skills are parsed, fixes issues with bot generation and end of raid profile parsing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user