Files
initiative/specs/020-fix-zero-hp-opacity/data-model.md

15 lines
549 B
Markdown

# Data Model: Fix Zero-HP Opacity
**Feature**: 020-fix-zero-hp-opacity
**Date**: 2026-03-06
## Entities
No data model changes required. This is a purely visual/CSS bug fix in the adapter layer.
The existing `deriveHpStatus()` domain function already correctly returns `"unconscious"` for combatants at 0 HP. The rendering logic that consumes this status is the only thing that changes.
## State
No new state is introduced. The existing `status` derived value (`"healthy" | "bloodied" | "unconscious"`) continues to drive the visual treatment.