5e-bits / 5e-bits/5e-database

Monster's damage vulnerabilities, resistances and immunities should be NamedAPIResource structures

Open
#246 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
934
Forks
427
Avg merge
17h 25m
Merged PRs (30d)
22

Description

Using full references makes the content better digestible by data-consuming applications, and also brings the structure of monsters' damage immunities/etc. in line with the structure of their condition immunities.

Instead of this:
```
damage_immunities: [
"acid"
]
```

We should see this:
```
damage_immunities: [
{
"index": "acid",
"name": "Acid",
"url": "/api/damage-types/acid"
}
]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.