Skip to content

Conversation

@ToMakPo
Copy link

@ToMakPo ToMakPo commented Apr 28, 2025

What does this do?

I've added all of the 2014 and 2024 feats to the JSON files. Please note, the feats class was only setup to display ability score prerequisites. the 2014 feats also has spellcasting and armor training prerequisites, and 2024 has those as well as level prereqs. Because there was no plase to add those, I simply added them to the bottom of the description. I will create a feature request to add those also. Once it is ready, I can easily go back update the JSON files to include those.

How was it tested?

I ran npm run test and all tests passed.

Is there a Github issue this is resolving?

No

Did you update the docs in the API? Please link an associated PR if applicable.

No

Here's a fun image for your troubles

image

@ToMakPo ToMakPo requested a review from bagelbits as a code owner April 28, 2025 08:47
@@ -1,4 +1,130 @@
[
{
"index": "actor",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of these feats are not in the SRD, so we cannot include them. Check our FAQ for more info about the SRD.

The only Feat in the 2014 SRD is "Grappler", and SRD 5.2 (2024) includes the origin feats Alert, Magic Initiate, Savage Attacker, and the general feat Grappler.

"General Feat",
"Increase one ability score of your choice by 2, or increase two ability scores of your choice by 1. This feat can't increase an ability score above 20.",
"**Repeatable**. You can take this feat more than once.",
"PREREQ: level = 4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. We should be using the prerequisites array.

"name": "Ability Score Improvement",
"prerequisites": [],
"desc": [
"General Feat",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What purpose does this serve? The SRD doesn't contain this text in the Feat description.

We probably need to add a feat_type field to differentiate Origin, General, Fighting Style and Epic Boon Feats..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm aware that you mention this in your PR description, but we should probably be designing this data nicely all in one go, rather than breaking it into lots of PRs.

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

Successfully merging this pull request may close these issues.

2 participants