Ejemplo n.º 1
0
        public void AddSkillEntry(CharacterStrategy strategy, int weight)
        {
            if (Skills == null)
            {
                return;
            }

            foreach (var s in Skills)
            {
                if (!strategy.FavoredSkills.HasOption((s)))
                {
                    strategy.FavoredSkills.AddEntry(s, weight);
                }
            }
        }
Ejemplo n.º 2
0
        public CharacterSheet(CharacterStrategy strategy)
        {
            this.Components = new ComponentContainer();
            var abilityScores = new AbilityScores();

            this.Components.AddNoInitialize(new object[] {
                strategy,
                abilityScores,
                new SizeStats(),
                new Inventory(),
                new History(),
                new OffenseStats(),
                new MeleeAttackBonus(),
                new RangeAttackBonus(),
                new DefenseStats(),
                new MovementStats(),
                new CharacterAppearance(),
                new SkillRanks(),
                new Likes()
            });
        }