fix(rules): cure spells damage undead instead of healing

SRD Cure Light Wounds: 'Since undead are powered by negative energy,
this spell deals damage to them instead of curing their wounds. An
undead creature can apply spell resistance, and can attempt a Will save
to take half damage.'

- _apply_heal_effect takes the rolled save; an undead target takes the
  rolled healing as damage (halved on a successful save; SR already
  resolved upstream, DR never applies to spell energy, no bleeding stop
  or stabilization). Living targets are bit-identical.
- cure_light/cure_moderate descriptions fixed: the SRD save line is
  'Will half (harmless)', not 'negates'.
- Deafened 20% verbal spell failure DEFERRED to the README « Limites
  hors perimetre »: SpellSpec carries no components data (would need a
  verbal flag on all 108 spells) and sound-based Perception is not
  modeled either.
This commit is contained in:
2026-09-16 15:48:36 +02:00
parent 3e19d2974e
commit cad35e2e13
7 changed files with 109 additions and 6 deletions
+11
View File
@@ -1583,6 +1583,17 @@ plutôt que bricolées) :
en revanche deux créatures de même taille (Small et plus) ne partagent
jamais une case, et la co-occupation de plusieurs Tiny sur une même case
n'est pas modélisée.
- **Échec d'incantation pour un personnage sourd hors périmètre** (SRD
« Conditions — Deafened » : « a 20% chance of spell failure when casting
spells with verbal components ») : le moteur ne porte pas la composante
verbale des sorts (`SpellSpec` n'a pas de champ `components` — il
faudrait l'encoder sur les 108 sorts du registre) et ne modélise pas non
plus le jet de Perception DD 20 basé sur le son ni l'échec automatique
associé ; la condition `deafened` reste donc un porteur de modificateurs
(−4 d'initiative) sans la faillibilité d'incantation. Le soin des
morts-vivants par les sorts de soin (`cure`) est en revanche modélisé :
SRD « Cure Light Wounds » — « this spell deals damage to them instead of
curing their wounds [...] can attempt a Will save to take half damage ».
Limites de sorts (conformance D6-D9, documentées plutôt que bricolées) :