Fixed TagTeamDialog damage rendering and verified rerolls

This commit is contained in:
WBHarry 2026-07-18 23:25:07 +02:00
parent a88031e279
commit 85314e6852
2 changed files with 15 additions and 5 deletions

View file

@ -569,9 +569,11 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
const basePath = `system.tagTeam.members.${memberKey}.damageRollData`;
const updatePath = isResource ? `${basePath}.resources.${damageKey}` : `${basePath}.main`;
const updateValue = isResource ?
memberData.damageRollData.resources[damageKey] : memberData.damageRollData.main;
this.updatePartyData(
{
[updatePath]: memberData.damageRollData.types[damageKey].toJSON()
[updatePath]: updateValue.toJSON()
},
this.getUpdatingParts(button)
);