Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API V2 - /creatures endpoint does not return Creature Traits #541

Open
calumbell opened this issue Sep 22, 2024 · 0 comments
Open

API V2 - /creatures endpoint does not return Creature Traits #541

calumbell opened this issue Sep 22, 2024 · 0 comments
Assignees

Comments

@calumbell
Copy link
Contributor

Creature traits are not implemented across the board, so for this example I will be using the Aboleth from the WOTC SRD, which I believe has been set to use as something like a 'test monster'

For clarity, Creature Traits are the features listed between the sections for a creature's proficiencies/senses/CR and its actions in a typical 5e statblock. Using the the Aboleth's page on DND Beyond for reference, its creature traits are; Amphibious, Mucous Cloud and Probing Telepathy.

These traits already exist in the V2 data, there is also already a CreatureTrait model defined in api_v2/models/creatures (starts line 245). So getting this feature up and running is probably just a case of configuring the creature serializer to return this data.

@augustjohnson augustjohnson self-assigned this Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants