feat(web): model HP regen fields and map CHARACTER_TOO_WOUNDED

- Add hpRegenPerSecond and hpRegenSince fields to CharacterResponse
- Update inventory-page.component.spec.ts fixture with new fields
- Add CHARACTER_TOO_WOUNDED error mapping to combat.store
- Add test for CHARACTER_TOO_WOUNDED error mapping
- Update app.spec.ts and world.store.spec.ts fixtures for compilation

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bastian Wagner
2026-08-21 15:59:32 +02:00
parent caf63b34a4
commit c27b6c5026
6 changed files with 25 additions and 0 deletions

View File

@@ -158,6 +158,8 @@ describe('App', () => {
currentHp: 52,
maxHp: 80,
attack: 12,
hpRegenPerSecond: 1,
hpRegenSince: null,
currentLocation: { id: 'location-id', key: 'south-gate', name: 'Südtor von Graufurt' },
});
const fixture = TestBed.createComponent(AppShellComponent);