Monster's damage vulnerabilities, resistances and immunities should be NamedAPIResource structures
Aperta
- Lingua principale
- TypeScript
- Stelle
- 934
- Fork
- 427
- Merge medio
- 17h 25m
- PR unite (30g)
- 22
Descrizione
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"
}
]
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.