Files
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
2026-06-12 08:19:42 +02:00
2024-11-21 23:59:44 +01:00
2026-06-12 08:19:42 +02:00
2026-06-13 21:06:18 +02:00