fix(client): show heal +0 at full HP #83

Merged
marco merged 1 commit from fix/heal-full-hp-feedback into main 2026-07-19 11:24:31 +02:00
Owner

A heal cast at full HP restores 0 HP, but the incantation still completed and spent mana per word — so the player deserves feedback. Previously the client hid the number when the amount was 0, so a full-HP heal looked like nothing happened.

Float the green +N unconditionally (including +0). Server already resolves + broadcasts Healed at amount 0 (covered by HealSpellTests.Heal_CapsAtMaxHits).

Definition of Done

  • Casting heal at full HP shows a green +0 over the caster and consumes mana.
  • Casting heal while wounded shows the green +N as before.
A heal cast at full HP restores 0 HP, but the incantation still completed and **spent mana per word** — so the player deserves feedback. Previously the client hid the number when the amount was 0, so a full-HP heal looked like nothing happened. Float the green **+N** unconditionally (including **+0**). Server already resolves + broadcasts `Healed` at amount 0 (covered by `HealSpellTests.Heal_CapsAtMaxHits`). ## Definition of Done - [ ] Casting heal at full HP shows a green **+0** over the caster and consumes mana. - [ ] Casting heal while wounded shows the green **+N** as before.
fix(client): show heal +0 at full HP
All checks were successful
ci / Lint & Test (pull_request) Successful in 1m28s
0f53a73093
A heal cast at full HP restores 0, but it still committed and spent mana per
word — so it needs feedback. Float the green +N unconditionally (including +0)
instead of hiding it when the amount is zero.
marco merged commit daa31ed531 into main 2026-07-19 11:24:31 +02:00
marco deleted branch fix/heal-full-hp-feedback 2026-07-19 11:24:31 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marco/IsoMmo!83
No description provided.