Files
fvtt-lethal-fantasy/module/documents
uberwald 7eae95cbbd
Release Creation / build (release) Successful in 43s
fix: use arcane spell defense D30 chart for spell saves
Bug: saveSpell local var initialized to false (line 142), while
dialog checkbox was pre-checked via dialogContext.saveSpell =
game.lethalFantasy.spellDefense.  If user didn't click the checkbox,
D30 call used SAVING_THROWS chart instead of ARCANE_SPELL_DEFENSE.

Also: game.lethalFantasy.spellDefense was set true before spell
defense rolls but never cleared, leaking to subsequent non-spell saves.

Fix: initialize saveSpell from the one-shot flag and delete it
immediately.  Dialog context now uses the local saveSpell variable
instead of re-reading the deleted flag.
2026-06-13 15:22:34 +02:00
..
2026-06-12 08:19:42 +02:00
2025-01-12 15:46:36 +01:00
2024-12-17 07:09:20 +01:00