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.
13 lines
949 B
JSON
13 lines
949 B
JSON
{
|
|
"name": "Spiritual Weapon",
|
|
"level": 2,
|
|
"school": "evocation",
|
|
"components": "V, S, DF",
|
|
"range": "medium",
|
|
"save": "none",
|
|
"base_dc": 10,
|
|
"cast_time": "standard",
|
|
"effects": [],
|
|
"description": "SRD spells/spiritual-weapon.md: a force weapon appears and attacks 1/round on your turn (starting the round it is cast) for 1 round/level, dealing 1d8 force damage + 1 per three caster levels (maximum +5 at 15th), using your base attack bonus plus your Wisdom modifier; it strikes as a spell (ignores DR, hits incorporeal). Deferred: the engine's only persistent autonomous attacker is SummonEffect, which loads a static creature JSON - it cannot express the per-caster attack bonus (BAB + Wis) or the level-scaled damage, and a summoned creature attacks as a weapon (wrong DR/incorporeal semantics for a force spell). Modeling it needs a spell-scaled summon or an unattended-attack track - a redesign. No combat effect encoded."
|
|
}
|