This commit is contained in:
Bastian Wagner
2026-08-22 16:41:47 +02:00
parent dfa62fd152
commit 081c9f83f9
137 changed files with 11594 additions and 1302 deletions

View File

@@ -110,7 +110,10 @@ export class EquipmentService {
throw itemNotEquippable();
}
const statsBeforeChange = await this.characterStats.calculate(character, manager);
const statsBeforeChange = await this.characterStats.calculate(
character,
manager,
);
this.characterVitals.settle(character, statsBeforeChange.maxHp);
await characters.save(character);