Skip to content

Count temp-absorbed damage at zero HP - #96

Merged
dajiaohuang merged 2 commits into
mainfrom
fix/82-temp-hp-death-failures
Aug 31, 2026
Merged

Count temp-absorbed damage at zero HP#96
dajiaohuang merged 2 commits into
mainfrom
fix/82-temp-hp-death-failures

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Summary\n- count post-defense damage at 0 HP even when temporary hit points absorb it\n- apply one or two death-save failures for ordinary or critical damage\n- compare post-defense, pre-temporary-HP damage with maximum HP for instant death when already at 0 HP\n- preserve the existing remaining-damage rule when a positive-HP creature is reduced to 0\n\n## Source\n- bundled SRD 2014 Order of Combat: Damage at 0 Hit Points; Temporary Hit Points\n\n## Verification\n- focused 0-HP/temp-HP/critical/resistance/immunity tests (10 passed)\n- full domain suite passed\n- Ruff check and git diff-check\n- independent cross-review found and then verified the instant-death boundary fix\n\nCloses #82

@dajiaohuang
dajiaohuang merged commit 1362614 into main Aug 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant