Example #1
0
        public string GetAptitudeDescription(Race aRace, int skill)
        {
            int raceIA;
            string description = "Average";

            raceIA = aRace.GetInherentAptitude(skill);
            switch (raceIA)
            {
                case 0:
                    description = "Poor";
                    break;
                case 10:
                    description = "Average";
                    break;
                case 30:
                    description = "Good";
                    break;
                case 50:
                    description = "Excellent";
                    break;
                default:
                    description = "Average";
                    break;
            }

            return description;
        }
Example #2
0
        public int GetMaxTrainingLevel(Race aRace, int skill)
        {
            int raceAptitudeForSkill;
            int maxLevel = 100;

            raceAptitudeForSkill = aRace.GetInherentAptitude(skill);
            switch (raceAptitudeForSkill)
            {
            case 4:
                maxLevel = 100;
                break;

            case 3:
                maxLevel = 150;
                break;

            case 2:
                maxLevel = 200;
                break;

            case 1:
                maxLevel = 250;
                break;
            }

            return(maxLevel);
        }
Example #3
0
        public string GetAptitudeDescription(Race aRace, int skill)
        {
            int    raceIA;
            string description = "Average";

            raceIA = aRace.GetInherentAptitude(skill);
            switch (raceIA)
            {
            case 0:
                description = "Poor";
                break;

            case 10:
                description = "Average";
                break;

            case 30:
                description = "Good";
                break;

            case 50:
                description = "Excellent";
                break;

            default:
                description = "Average";
                break;
            }

            return(description);
        }
Example #4
0
        public int GetMaxTrainingLevel(Race aRace, int skill)
        {
            int raceAptitudeForSkill;
            int maxLevel = 100;

            raceAptitudeForSkill = aRace.GetInherentAptitude(skill);
            switch (raceAptitudeForSkill)
            {
                case 4:
                    maxLevel = 100;
                    break;
                case 3:
                    maxLevel = 150;
                    break;
                case 2:
                    maxLevel = 200;
                    break;
                case 1:
                    maxLevel = 250;
                    break;
            }

            return maxLevel;
        }