Commit 289770c
Simplify dead HP preservation to explicit zero (#665)
Stat rebuild via AddBase/AddTotal restores Current to Total, but a dead
player must stay at 0 HP until revived. Set HP explicitly to 0 instead
of preserving the previous value.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 88b710c commit 289770c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
| |||
0 commit comments