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>
27 lines
831 B
JSON
27 lines
831 B
JSON
{
|
|
"name": "Obscuring Mist",
|
|
"level": 1,
|
|
"school": "conjuration",
|
|
"range": "close",
|
|
"save": "none",
|
|
"base_dc": 10,
|
|
"cast_time": "standard",
|
|
"spell_resistance": false,
|
|
"effects": [
|
|
{
|
|
"type": "area",
|
|
"radius_ft": 20,
|
|
"save_for_half": false,
|
|
"effects": [
|
|
{
|
|
"type": "condition",
|
|
"condition_name": "blurred",
|
|
"duration_rounds": 10,
|
|
"save_negates": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"description": "A mist cloud spreads in a 20-ft radius from you for 1 min/level (approximated as 10 rounds): a creature 5 feet away has concealment (20% miss chance), farther away total concealment. Simplification: everyone in the area (allies included) gains the blurred 20% miss chance; the distance-scaled total concealment beyond 5 ft is not modeled."
|
|
}
|