ctan
b84238792c
feat(rules): scale healing spells with caster level
...
PF1e (SRD spells/cure-light-wounds.md): 'cures 1d8 points of damage +1
point per caster level (maximum +5)'; (spells/cure-moderate-wounds.md):
'cures 2d8 points of damage +1 point per caster level (maximum +10)'.
A HealEffect now carries the same DamageFlatScaling spec as damage
effects (S1b) and resolves it through effective_formula(caster_level)
at cast time, so the flat bonus grows with the caster and stops at the
stated cap. The engine passes the caster's level into _apply_heal_effect
(required keyword: no silent level-0 under-heal); Maximize Spell
maximizes the scaled formula. Cure Light/Moderate Wounds ship the SRD
values; inflict_light_wounds already carried its scaling_flat.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-09-13 17:19:58 +02:00
..
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-12 12:46:53 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 11:01:07 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 11:01:07 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 17:19:58 +02:00
2026-09-13 17:19:58 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 20:19:03 +02:00
2026-09-11 15:01:42 +02:00
2026-09-12 15:11:56 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:32:45 +02:00
2026-09-13 10:48:09 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 10:48:09 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 11:01:07 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:05:56 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 20:19:03 +02:00
2026-09-11 20:19:03 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:05:56 +02:00
2026-09-11 20:19:03 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 10:48:09 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-12 12:31:06 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 20:19:03 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-11 15:01:42 +02:00
2026-09-13 12:44:35 +02:00