fix(spells): set the correct area shapes

SRD-verified area templates: Burning Hands 15-ft cone, Color Spray 15-ft cone, Fear 30-ft cone, Flurry of Snowballs 30-ft cone, Lightning Bolt 120-ft line (all converted from single-target/burst approximations to proper AreaEffect shapes); Fireball 20-ft burst, Sound Burst 10-ft spread, Sleep 10-ft burst, Web 20-ft spread kept. Close-range spells note the 15/30-ft RAW ranges as an approximation in their descriptions. README: cone/scaling limitations moved out of the limitations list, new area-shape + caster-level scaling rules documented, areas.py added to the architecture.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-09-13 11:01:07 +02:00
parent a6cc5aef36
commit ee8c8f80ff
8 changed files with 108 additions and 45 deletions
+15 -7
View File
@@ -2,18 +2,26 @@
"name": "Burning Hands",
"level": 1,
"school": "evocation",
"range": "touch",
"range": "close",
"save": "ref",
"base_dc": 10,
"cast_time": "standard",
"effects": [
{
"type": "damage",
"formula": "0",
"types": ["fire"],
"half_on_save": true,
"scaling": { "dice": "1d4", "per_levels": 1, "max_dice": 5 }
"type": "area",
"shape": "cone",
"radius_ft": 15,
"save_for_half": true,
"effects": [
{
"type": "damage",
"formula": "0",
"types": ["fire"],
"half_on_save": true,
"scaling": { "dice": "1d4", "per_levels": 1, "max_dice": 5 }
}
]
}
],
"description": "SRD spells/burning-hands.md: 1d4 points of fire damage per caster level (maximum 5d4) in a 15-ft. cone; Reflex half. The cone template is applied in the area-shapes batch; until then the spell resolves on the target."
"description": "SRD spells/burning-hands.md: a 15-ft. cone of searing flame dealing 1d4 points of fire damage per caster level (maximum 5d4); Reflex half. The SRD range is 15 ft. - modeled as the closest category (close, 25 ft. at low levels)."
}