9768f5ae1d
SpellSpec gains spell_resistance: bool = True (JSON 'spell_resistance'). When false, _spell_delivery_blocked skips the targeted SR check and _apply_area_effect skips the per-creature SR check (threaded through the effect chain). Verified each imported spell against the local KB and set false on the 28 whose SRD block says 'Spell Resistance: no' (Acid Arrow, Flurry of Snowballs, Web, Darkness, Sanctuary, the Protection from X spells, etc.). Added no-SR targeted/area tests and a high-SR control in test_spell_resistance.py, and the README. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
28 lines
690 B
JSON
28 lines
690 B
JSON
{
|
|
"name": "Flurry of Snowballs",
|
|
"level": 2,
|
|
"school": "evocation",
|
|
"range": "close",
|
|
"save": "ref",
|
|
"base_dc": 10,
|
|
"cast_time": "standard",
|
|
"spell_resistance": false,
|
|
"effects": [
|
|
{
|
|
"type": "area",
|
|
"shape": "cone",
|
|
"radius_ft": 30,
|
|
"save_for_half": true,
|
|
"effects": [
|
|
{
|
|
"type": "damage",
|
|
"formula": "4d6",
|
|
"types": ["cold"],
|
|
"half_on_save": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"description": "SRD spells/flurry-of-snowballs.md: any creature in the 30-ft. cone-shaped burst takes 4d6 points of cold damage. Reflex half. The SRD range is 30 ft. - modeled as the closest category (close)."
|
|
}
|