-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Bug description
While working on the fornt-end I noticed that there are errors in the API data being returned for the SRD 2014 Breath weapon attacks. I didn't check all of them, but all of the ones I did check (about 6) were missing their Recharge information and included erroneous Legendary Action Costs.
Steps to Reproduce
For reference lets look at some Dragon statblocks from the 2014 SRD (pp. 282):
Notice that the breath weapon attacks for both the Black Dragon Wyrmling and Ancient Blue Dragon include recharge information and have no legnedary action cost.
Compare that to their representation on the Open5e API (V2):
From https://api.open5e.com/v2/creatures/srd_black-dragon-wyrmling/
"actions": [
{
"name": "Acid Breath",
"desc": "The dragon exhales acid in a 15-foot line ...",
"attacks": [],
"action_type": "ACTION",
"order_in_statblock": 1,
"legendary_action_cost": 1,
"limited_to_form": null,
"usage_limits": null
},
...,
]
The "usage_limits" field should be returning information about this action Recharging on a 5-6. "legendary_action_cost" should be null.
Now lets look at https://api.open5e.com/v2/creatures/srd_ancient-blue-dragon/
"actions": [
...,
{
"name": "Lightning Breath",
"desc": "The dragon exhales lightning in a 120-foot line that is 10 feet wide..."
"attacks": [],
"action_type": "ACTION",
"order_in_statblock": 5,
"legendary_action_cost": 1,
"limited_to_form": null,
"usage_limits": null
},
...,
]
Again, the "usage_limits" field should be returning information about this action Recharging on a 5-6. "legendary_action_cost" should be null.
All other dragons from the SRD-2014 I checked presented this problem, so all should be checked