Skip to content

v1.3.12

Choose a tag to compare

@lisasdungeon lisasdungeon released this 30 Jul 00:24
· 5 commits to main since this release

1.3.12

  • Fixed the GM Management window and Activity Log Viewer rendering completely unstyled: the CSS still carried a leftover "-reserves-" segment from the RNK Reserves rebrand (e.g. .ld-hero-pointz-reserves-buttons instead of .ld-hero-pointz-buttons), so none of the module's own selectors ever matched the real DOM.
  • Actor sheet GM controls (award/subtract/reset/zero) now register against the modern dnd5e 2024-rules character/NPC sheet hooks, alongside the legacy hook name for older sheets, instead of only the legacy hook and jQuery API.
  • Fixed a stale-read race where spending a hero point from chat could clobber a concurrent change made while the confirmation dialog was open.
  • The GM controls panel no longer stacks duplicate copies of itself on repeated sheet renders.
  • Socket-driven hero point updates now catch failures (e.g. a permission error on a client that doesn't own the actor) instead of throwing an unhandled rejection on every broadcast.
  • The activity log's read-modify-write is now properly awaited everywhere it's called, instead of being fired and forgotten.
  • LdHeroPointz.enableNPC() no longer persists NaN hero points when called with a non-numeric argument.
  • Removed a dead, never-wired form submit handler.
  • Fixed build-release.mjs, which shelled out to powershell.exe and never worked outside Windows.
  • Added a real automated test suite (25 tests) covering the logging system, socket sync, and the hero point baseline calculation.