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.
This commit is contained in:
david raistrick
2026-07-06 18:34:50 -04:00
parent bf1fccfd3b
commit 6fe4a27dd5
2 changed files with 4 additions and 3 deletions
-3
View File
@@ -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.
+4
View File
@@ -1472,6 +1472,10 @@ function ParticipantManager({ encounter, encounterPath, campaignCharacters, camp
</button>
)}
{hasDeathSaves && participantStatus === 'stable' && (
<div className="mt-2 text-xs text-emerald-300/80 italic">Stable regains 1 HP after 1d4 hours</div>
)}
{/* Death saves - D&D 5e status state machine */}
{hasDeathSaves && encounter.isStarted && participantStatus !== 'conscious' && (
<div className="mt-2 flex flex-col space-y-1">