Beispiel #1
0
        private void DecreaseStat(string stat)
        {
            var cost = PointBuyUtil.FindDecreaseCost(_baseStatDictionary[stat]);

            if (_baseStatDictionary[stat] > PointBuyUtil.StatFloor)
            {
                _baseStatDictionary[stat]--;
                _points += cost;
            }
        }