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
812 B
JSON
28 lines
812 B
JSON
{
|
|
"name": "Acid Arrow",
|
|
"level": 2,
|
|
"school": "evocation",
|
|
"range": "long",
|
|
"save": "none",
|
|
"base_dc": 10,
|
|
"requires_ranged_touch": true,
|
|
"cast_time": "standard",
|
|
"spell_resistance": false,
|
|
"effects": [
|
|
{
|
|
"type": "damage",
|
|
"formula": "2d4",
|
|
"types": ["acid"],
|
|
"half_on_save": false,
|
|
"recurring": {
|
|
"formula": "2d4",
|
|
"types": ["acid"],
|
|
"base_rounds": 1,
|
|
"per_levels": 3,
|
|
"max": 6
|
|
}
|
|
}
|
|
],
|
|
"description": "SRD spells/acid-arrow.md: ranged touch attack dealing 2d4 acid damage, plus another 2d4 acid damage at the start of each of the target's turns for 1 round + 1 round per three caster levels (maximum 6 additional rounds). Recurring damage is reduced by energy resistance/immunity, not by DR. No save."
|
|
}
|