Implement the 009-combatant-hp feature that adds optional max HP and current HP tracking per combatant with +/- controls, direct entry, and persistence

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-05 17:18:03 +01:00
parent a9c280a6d6
commit 8185fde0e8
21 changed files with 1367 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
export { type AddCombatantSuccess, addCombatant } from "./add-combatant.js";
export { type AdjustHpSuccess, adjustHp } from "./adjust-hp.js";
export { advanceTurn } from "./advance-turn.js";
export {
type EditCombatantSuccess,
@@ -8,8 +9,10 @@ export type {
CombatantAdded,
CombatantRemoved,
CombatantUpdated,
CurrentHpAdjusted,
DomainEvent,
InitiativeSet,
MaxHpSet,
RoundAdvanced,
TurnAdvanced,
} from "./events.js";
@@ -17,6 +20,7 @@ export {
type RemoveCombatantSuccess,
removeCombatant,
} from "./remove-combatant.js";
export { type SetHpSuccess, setHp } from "./set-hp.js";
export {
type SetInitiativeSuccess,
setInitiative,