From 6fe4a27dd56dfd209e24fea2dff8f3a6014f51d0 Mon Sep 17 00:00:00 2001 From: david raistrick <1108844+keen99@users.noreply.github.com> Date: Mon, 6 Jul 2026 18:34:50 -0400 Subject: [PATCH] Show stable regain hint in DM view for stable+unconscious participants D&D 5e: stable creature regains 1 HP after 1d4 hours. Static display-only reminder, no storage/time-tracking. Fires only for participants with status=stable (dying->stable or dead->revive), shown where Revive button would sit. Derived from status, survives refresh. --- TODO.md | 3 --- src/App.js | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 81cf7e3..f7ba9f8 100644 --- a/TODO.md +++ b/TODO.md @@ -4,11 +4,8 @@ Backlog of bugs + long-term items. Milestones live in REWORK_PLAN.md. ## Open -### bug - start/end/resume combat should not be in undo I think... -## dying>stabe state - add +1hp in 1d4 hours DISPLAY (maybe show a rolled hours too) for while stable -## dying>stabe state - add +1hp in 1d4 hours DISPLAY (maybe show a rolled hours too) for while stable ### FEAT: critical damage button for dying/stable participants - Shared logic already supports `applyHpChange(..., { isCriticalHit:true })`. - UI only has normal Damage, which adds 1 failure at 0 HP. diff --git a/src/App.js b/src/App.js index fff1da7..a0889ba 100644 --- a/src/App.js +++ b/src/App.js @@ -1472,6 +1472,10 @@ function ParticipantManager({ encounter, encounterPath, campaignCharacters, camp )} + {hasDeathSaves && participantStatus === 'stable' && ( +
Stable — regains 1 HP after 1d4 hours
+ )} + {/* Death saves - D&D 5e status state machine */} {hasDeathSaves && encounter.isStarted && participantStatus !== 'conscious' && (