claude-memory/graph/solutions/crit-threshold-stepper-for-roll-dialogs-f8c36a.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

734 B

id type title tags importance confidence created updated
f8c36a21-d2e7-4ea7-a966-c5d1084134f6 solution Crit threshold stepper for roll dialogs
vagabond-rpg
foundryvtt
javascript
ui-feature
0.5 0.8 2025-12-17T21:42:22.668476+00:00 2025-12-17T21:42:22.668476+00:00

Added always-visible crit threshold display with +/- adjustment buttons to Attack Roll and Spell Cast dialogs in Foundry VTT v13. Key implementation: store critThresholdModifier as relative adjustment (not absolute), use Math.clamp (not deprecated Math.clamped), reset modifier when weapon/spell changes, pass effective threshold to attackCheck()/skillCheck(). Files: attack-roll-dialog.mjs, spell-cast-dialog.mjs, rolls.mjs, templates, SCSS.