Skip to content

Commit 1b0060a

Browse files
committed
added core class traits tables to srd-2024 classes
1 parent 4d41d2a commit 1b0060a

File tree

2 files changed

+107
-116
lines changed

2 files changed

+107
-116
lines changed

api_v2/models/characterclass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class ClassFeature(HasName, HasDescription, FromDocument):
5353
# Infer the type of this feature based on the `key`
5454
@property
5555
def feature_type(self) -> str:
56+
if "core-traits" in self.key: return "CORE_TRAITS_TABLE"
5657
if "proficiency-bonus" in self.key: return "PROFICIENCY_BONUS"
5758
if "proficiencies" in self.key: return "PROFICIENCIES"
5859
if "equipment" in self.key: return "STARTING_EQUIPMENT"

0 commit comments

Comments
 (0)