This commit is contained in:
WBHarry 2026-02-23 23:12:12 +01:00
parent 340abbc98c
commit ef128b88eb
19 changed files with 80 additions and 203 deletions

View file

@ -596,7 +596,7 @@ export default class DhpActor extends Actor {
const updates = [];
Object.entries(damages).forEach(([key, damage]) => {
damage.parts.forEach(part => {
Object.values(damage.parts).forEach(part => {
if (part.applyTo === CONFIG.DH.GENERAL.healingTypes.hitPoints.id)
part.total = this.calculateDamage(part.total, part.damageTypes);
const update = updates.find(u => u.key === key);