Пример #1
0
        public void RunAddClass(Character character)
        {
            character.Init += character.DexMod;

            AddClass.AddSpellsKnown(character);
            AddClass.AddSpellSlots(character);
            AddClass.NewClass(character);

            if (character.DemigodDomain == "Knowledge")
            {
                Console.WriteLine("Pick a skill to gain Expertise in");
                var prof = new List <string>();
                prof.AddRange(character.SkillProficiencies);
                string expertise = CLIHelper.PrintChoices(prof);
                BEHelper.AddSkillExpertise(expertise, character);
            }
            if (character.Feats.ContainsKey("Weapon Master"))
            {
                Feats.WeaponMaster(character);
            }

            AddClass.ModifySkills(character);
            BEHelper.AddSpellDesc(character);
            AddClass.DetermineAC(character);
            AddClass.DetermineHP(character);

            Console.Clear();
            Console.WriteLine("\nYou've finished adding your character's class!\n");
        }