Exemplo n.º 1
0
        private void CalculateValues()
        {
            var player = GameState.Instance.PlayerRpgState;
            int levels = RpgValues.LevelsForExperience(player);

            for (int i = 0, tLevel = player.Level; i < levels; i++, tLevel++)
            {
                PotentialPoints += RpgValues.PotentialPointsForLevel(tLevel, player);
            }

            NewLevel = player.Level + levels;

            //copy stats set
            NewStats = new StatsSet(player.BaseStats);
        }