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.
29 lines
1.4 KiB
JSON
29 lines
1.4 KiB
JSON
{
|
|
"name": "Spear of Purity",
|
|
"level": 2,
|
|
"school": "evocation",
|
|
"components": "V, S, DF",
|
|
"range": "close",
|
|
"save": "will",
|
|
"base_dc": 10,
|
|
"requires_ranged_touch": true,
|
|
"cast_time": "standard",
|
|
"effects": [
|
|
{
|
|
"type": "damage",
|
|
"formula": "0",
|
|
"types": ["force"],
|
|
"half_on_save": true,
|
|
"scaling": { "dice": "1d8", "per_levels": 2, "max_dice": 5 },
|
|
"alignment_gate": {
|
|
"axis": "good_evil",
|
|
"immune": "good",
|
|
"full": "evil",
|
|
"full_condition": "blinded",
|
|
"full_condition_rounds": 1
|
|
}
|
|
}
|
|
],
|
|
"description": "SRD spells/spear-of-purity.md: evocation [good], level 2 (cleric/oracle/warpriest), range close, spear of good energy delivered as a ranged touch attack, Will partial, spell resistance yes. An evil creature struck takes 1d8 points of damage per two caster levels (maximum 5d8) and, on a failed Will save, is blinded for 1 round; a successful Will save halves the damage and negates the blinded effect. The spear has no effect on good creatures (alignment_gate immune) and deals only half damage to creatures neither evil nor good, without the blindness (alignment_gate neutral halving). Simplifications: the evil-outsider variant (1d6 per caster level, maximum 10d6) is not modeled (the engine has no outsider subtype); force damage stands in for good energy (no energy type models it)."
|
|
}
|