-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
The Rend attack for the srd-2024_adult-black-dragon contains malformed JSON data. While the desc field correctly identifies both Slashing and Acid damage, the structured attacks array fails to capture the Acid damage dice and incorrectly maps the primary damage type.
- Expected: The attacks array should include damage_type: slashing and extra_damage_die_type: D8 with extra_damage_type: acid.
- Actual: damage_type is null, and all extra_damage fields are null, meaning the 1d8 acid damage is lost to any tool parsing the JSON.
Steps to Reproduce
Query the Open5e API (v2) for the 2024 Adult Black Dragon monster data.
Locate the Rend action in the actions list.
Inspect the attacks array within that action
{
"name": "Rend",
"desc": "Melee Attack Roll: +11, reach 10 ft. 13 (2d6 + 6) Slashing damage plus 4 (1d8) Acid damage.",
"attacks": [
{
"name": "Rend attack",
"damage_die_count": 2,
"damage_die_type": "D6",
"damage_bonus": 6,
"damage_type": null,
"extra_damage_die_count": null,
"extra_damage_die_type": null,
"extra_damage_type": {
"name": "Slashing",
"key": "slashing"
}
}
]
}
Logs or other details
Logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working