Files
fvtt-lethal-fantasy/module/documents
uberwald 3b0d4e032e
Release Creation / build (release) Successful in 50s
fix: cache results.length before explosion loop to prevent double-count
Pushing explosion dice to DieTerm.results made the for loop
condition (j < results.length) grow mid-iteration, re-processing
the explosion result as a normal die. This produced spurious
entries like `1D6 → 4` alongside the correct `1D6-1 → 3`.

Fixes prompt() (for loop) and rollSpellDamageToMessage()
(for...of) by caching result count / snapshotting the array
before iterating.
2026-06-16 19:34:13 +02:00
..
2026-06-13 21:06:18 +02:00
2025-01-12 15:46:36 +01:00
2024-12-17 07:09:20 +01:00