Skip to content

[BUG] 2024 SRD Adult Black Dragon: Rend attack missing Acid damage and malformed damage_type in JSON #873

@uribracha2611

Description

@uribracha2611

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions