Exemplo n.º 1
0
 private void initializeSubType()
 {
     foreach (var feature in subClass.setFeatures())
     {
         _features.Add(feature.Key, feature.Value);
     }
 }
Exemplo n.º 2
0
        private void initializeSubType()
        {
            foreach (var feature in subClass.setFeatures())
            {
                _features.Add(feature.Key, feature.Value);
            }

            var subClassLanguageProf = subClass.setLanguageProf();

            if (subClassLanguageProf != null)
            {
                _languageProficiencies.AddRange(subClassLanguageProf);
            }
        }
Exemplo n.º 3
0
        private void initializeSubType()
        {
            foreach (var feature in subClass.setFeatures())
            {
                _features.Add(feature.Key, feature.Value);
            }

            var subClassArmorProf = subClass.setArmorProf();

            if (subClassArmorProf != null)
            {
                _armorProficiencies.AddRange(subClassArmorProf);
            }

            var subClassWeaponProf = subClass.setWeaponProf();

            if (subClassWeaponProf != null)
            {
                _weaponProficiencies.AddRange(subClassWeaponProf);
            }

            var subClassLanguageProf = subClass.setLanguageProf();

            if (subClassLanguageProf != null)
            {
                _languageProficiencies.AddRange(subClassLanguageProf);
            }

            var subClassSkillProf = subClass.setSkillProf();

            if (subClassSkillProf != null)
            {
                _skillProficiencies.AddRange(subClassSkillProf);
            }

            var availableGods = Gods.Instance.gods.Where(x => x.domains.Contains(domain)).ToList();

            god = availableGods[NumberGen.gen(availableGods.Count())];
        }