Monster's damage vulnerabilities, resistances and immunities should be NamedAPIResource structures
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 934
- Fork
- 427
- Merge trung bình
- 17 giờ 25 phút
- Pull request đã merge (30 ngày)
- 22
Mô tả
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"
}
]
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.