feat: add healing and recovery tracking system (Closes #102) #112

Merged
shahondin1624 merged 1 commits from feature/issue-102-healing-and-recovery-tracking-system into main 2026-04-04 20:38:30 +02:00
Owner

Summary

  • Implement Shadowrun 5e healing rules with natural, first aid, and magical healing types
  • Add healing action buttons to stun and physical damage tracks in the damage monitor
  • Add recovery state tracking (Healthy/Injured/Critical/BleedingOut/Dead) with visual badge
  • Add overflow damage and death threshold warning cards

Changes

New files

  • HealingSystem.kt - Healing types, recovery states, dice pool calculation, healing test execution, and interval rules
  • HealingDialog.kt - Compose dialog for selecting healing type, rolling healing test, and applying results

Modified files

  • DamageMonitor.kt - Added healStun(), healPhysical(), recoveryState(), isOverflowing(), deathThresholdReached()
  • DamageMonitorPanel.kt - Added heal buttons, recovery state badge, overflow/death warnings, attributes parameter
  • CharacterSheetPage.kt - Pass character attributes to DamageMonitorPanel
  • TestTags.kt - Added test tags for healing dialog and recovery state components

Closes #102

## Summary - Implement Shadowrun 5e healing rules with natural, first aid, and magical healing types - Add healing action buttons to stun and physical damage tracks in the damage monitor - Add recovery state tracking (Healthy/Injured/Critical/BleedingOut/Dead) with visual badge - Add overflow damage and death threshold warning cards ## Changes ### New files - `HealingSystem.kt` - Healing types, recovery states, dice pool calculation, healing test execution, and interval rules - `HealingDialog.kt` - Compose dialog for selecting healing type, rolling healing test, and applying results ### Modified files - `DamageMonitor.kt` - Added `healStun()`, `healPhysical()`, `recoveryState()`, `isOverflowing()`, `deathThresholdReached()` - `DamageMonitorPanel.kt` - Added heal buttons, recovery state badge, overflow/death warnings, attributes parameter - `CharacterSheetPage.kt` - Pass character attributes to DamageMonitorPanel - `TestTags.kt` - Added test tags for healing dialog and recovery state components Closes #102
shahondin1624 added 1 commit 2026-04-04 20:38:25 +02:00
Implement Shadowrun 5e healing rules with natural, first aid, and magical
healing types. Add healing action buttons to damage monitor, recovery state
tracking (Healthy/Injured/Critical/BleedingOut/Dead), and overflow/death
threshold warnings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
shahondin1624 merged commit d55f6754fe into main 2026-04-04 20:38:30 +02:00
shahondin1624 deleted branch feature/issue-102-healing-and-recovery-tracking-system 2026-04-04 20:38:30 +02:00
Sign in to join this conversation.