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 摘要。