private RequiredSkillSelection ParseRequiredSkillData(TypeAndAmountSelection selection) { var splitData = SkillConstants.Parse(selection.Type); var requiredSkill = new RequiredSkillSelection(); requiredSkill.Skill = splitData[0]; requiredSkill.Ranks = selection.Amount; if (splitData.Length > 1) { requiredSkill.Focus = splitData[1]; } return(requiredSkill); }
public void Setup() { requiredSkillSelection = new RequiredSkillSelection(); otherSkills = new List <Skill>(); baseStat = new Ability("stat name"); }