Ejemplo n.º 1
0
        public IEnumerable <Feat> Load(IObjectStore configuration)
        {
            var skillFocuses = new List <SkillFocus>();
            //Set one up as the "Generic" one for use in trait situations
            var skillFocusPrimary = new SkillFocus(configuration);
            var skills            = GatewayProvider.All <Skill>();

            skillFocuses.Add(skillFocusPrimary);
            foreach (var skl in skills)
            {
                var copy = skillFocusPrimary.Copy() as SkillFocus;
                copy.SetSkillFocus(skl.Name);
                copy.Tags.Add(FeatToken.IGNORE_GENERIC_TAG);
                skillFocuses.Add(copy);
            }

            return(skillFocuses);
        }
Ejemplo n.º 2
0
 public SkillFocus(SkillFocus copy) : base(copy)
 {
     this.SkillName = copy.SkillName;
     this.Name      = copy.Name;
 }