feat: add interactive damage monitor (Closes #27) #66

Merged
shahondin1624 merged 1 commits from feature/issue-27-damage-monitor-interaction into main 2026-03-13 13:57:16 +01:00

Summary

  • Make damage boxes clickable: tap empty = mark damage, tap filled = heal
  • Add wound modifier display showing cumulative -1 per 3 physical damage boxes
  • Add DamageTrackType enum, toggleDamageBox(), withStunDamage(), withPhysicalDamage(), withOverflowDamage(), and woundModifier() to DamageMonitor model
  • Wire damage changes through CharacterViewModel for reactive state updates
  • Add test tags for damage boxes and wound modifier

Closes #27

## Summary - Make damage boxes clickable: tap empty = mark damage, tap filled = heal - Add wound modifier display showing cumulative -1 per 3 physical damage boxes - Add `DamageTrackType` enum, `toggleDamageBox()`, `withStunDamage()`, `withPhysicalDamage()`, `withOverflowDamage()`, and `woundModifier()` to DamageMonitor model - Wire damage changes through CharacterViewModel for reactive state updates - Add test tags for damage boxes and wound modifier Closes #27
shahondin1624 added 1 commit 2026-03-13 13:57:09 +01:00
Make damage track boxes clickable: tap empty box to mark damage, tap
filled box to heal. Add wound modifier display (cumulative -1 per 3
physical damage boxes). Add DamageTrackType enum and toggle/set methods
to DamageMonitor model. Wire through CharacterViewModel for state
persistence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
shahondin1624 merged commit 16fb0bcb88 into main 2026-03-13 13:57:16 +01:00
shahondin1624 deleted branch feature/issue-27-damage-monitor-interaction 2026-03-13 13:57:16 +01:00
Sign in to join this conversation.