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

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

Aperta
#246 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.