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

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

未关闭
#246 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
934
派生
427
平均合并
17 小时 25 分钟
30 天内合并 PR
22

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。