91666d84b9
- Every data/spells/*.json now carries a "components" field with the V/S/M/F/DF tokens from its KB Components line (material/focus descriptions dropped; M/DF and F/DF alternatives kept verbatim). - 107/108 encoded. Create Alcool (data/spells/create_alcool.json) is left without the field: it is a homebrew cantrip (level 0) with no KB entry - the closest real spell, Enhance Water (Inner Sea Gods, V, S), is already a separate registry entry. - summon_monster_i/ii map to the KB's numeric files (summon-monster-1/2); hidden_diplomacy maps to its KB name Egorian Diplomacy (same spell, Spymaster's Handbook rename): V, S, M. - tests/test_spell_failure.py: the placeholder asserting the registry was not yet encoded is replaced by an encoded-state smoke test (all spells but Create Alcool declare components; five spot-checks against the SRD stat blocks). Golden transcripts unchanged: the component gates still need deafened/ASF conditions no golden combat has.
27 lines
778 B
JSON
27 lines
778 B
JSON
{
|
|
"name": "Sleep",
|
|
"level": 1,
|
|
"school": "enchantment",
|
|
"components": "V, S, M",
|
|
"range": "medium",
|
|
"save": "will",
|
|
"base_dc": 10,
|
|
"cast_time": "one_round",
|
|
"effects": [
|
|
{
|
|
"type": "area",
|
|
"radius_ft": 10,
|
|
"save_for_half": false,
|
|
"effects": [
|
|
{
|
|
"type": "condition",
|
|
"condition_name": "asleep",
|
|
"duration_rounds": 10,
|
|
"save_negates": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"description": "A magical slumber comes upon 4 HD of living creatures in a 10-ft.-radius burst (fewest HD first; the HD budget is not modeled). Sleeping creatures are helpless (modeled as the asleep condition, 1 min./level approximated as 10 rounds). Will negates. Constructs and undead are immune (not modeled)."
|
|
}
|