D&D 5e death-save state machine, undo/redo fixes, dev bulk delete #4

Merged
robert merged 11 commits from single-source into main 2026-07-06 22:14:05 -04:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 6fe4a27dd5 - Show all commits
-3
View File
@@ -4,11 +4,8 @@ Backlog of bugs + long-term items. Milestones live in REWORK_PLAN.md.
## Open ## 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 ### FEAT: critical damage button for dying/stable participants
- Shared logic already supports `applyHpChange(..., { isCriticalHit:true })`. - Shared logic already supports `applyHpChange(..., { isCriticalHit:true })`.
- UI only has normal Damage, which adds 1 failure at 0 HP. - 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> </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 */} {/* Death saves - D&D 5e status state machine */}
{hasDeathSaves && encounter.isStarted && participantStatus !== 'conscious' && ( {hasDeathSaves && encounter.isStarted && participantStatus !== 'conscious' && (
<div className="mt-2 flex flex-col space-y-1"> <div className="mt-2 flex flex-col space-y-1">