Fixed misspellings of "proficiencies"

This commit is contained in:
Christopher Johnstone
2022-06-24 20:19:30 -04:00
parent 002d38990d
commit a506bdd304
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ class Race:
owner = None
languages = ("Common",)
proficiencies_text = tuple()
weapon_proficiences = tuple()
weapon_proficiencies = tuple()
skill_proficiencies = ()
skill_choices = ()
num_skill_choices = 0
@@ -61,7 +61,7 @@ class _Dwarf(Race):
languages = ("Common", "Dwarvish")
constitution_bonus = 2
proficiencies_text = ("battleaxes", "handaxes", "throwing hammers", "warhammers")
weapon_proficiences = (
weapon_proficiencies = (
weapons.Battleaxe,
weapons.Handaxe,
weapons.ThrowingHammer,
@@ -388,7 +388,7 @@ class Tabaxi(Race):
speed = "30 (20 climb)"
languages = ("Common", "[Choose One]")
weapon_proficiencies = (weapons.Claws,)
proficiences_text = ("Claws",)
proficiencies_text = ("Claws",)
skill_proficiencies = ("perception", "stealth")
features = (
feats.Darkvision,
@@ -427,7 +427,7 @@ class Aarakocra(Race):
wisdom_bonus = 1
languages = ("Common", "Aarakocra", "Auran")
weapon_proficiencies = (weapons.Talons,)
proficiences_text = ("Talons",)
proficiencies_text = ("Talons",)
def __init__(self, owner=None):
super().__init__(owner=owner)
+3 -3
View File
@@ -500,14 +500,14 @@ class FoundryCharacterReader(JSONCharacterReader):
"cha": "charisma",
}
abilities = self.json_data()["data"]["abilities"]
save_proficiences = []
save_proficiencies = []
for abbr, attr in attribute_names.items():
char_props[attr] = self.as_int(abilities[abbr]["value"])
# Check proficiency
is_proficient = bool(abilities[abbr]["proficient"])
if is_proficient:
save_proficiences.append(attr)
char_props["saving_throw_proficiencies"] = save_proficiences
save_proficiencies.append(attr)
char_props["saving_throw_proficiencies"] = save_proficiencies
# Skill proficiencies
skill_names = [
"acrobatics",