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

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

Offen
#246 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
934
Forks
427
Ø Merge
17 Std. 25 Min.
Gemergte PRs (30 T.)
22

Beschreibung

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"
}
]
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.