Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void Setup()
 {
     requiredSkillSelection = new RequiredSkillSelection();
     otherSkills            = new List <Skill>();
     baseStat = new Ability("stat name");
 }