Exemplo n.º 1
0
        /// <summary>
        /// Forces a recalculation of the stat bonuses. Ideally, this will never be needed, even though recalculation
        /// is not very expensive.
        /// </summary>
        protected void RecalculateStatBonuses()
        {
            _modStats.SetAll(0);

            foreach (var item in this)
            {
                item.AddBonusesTo(_modStats);
            }
        }