Fixed so that DamageTypes are retained and joined together throughout TagTeamDialog

This commit is contained in:
WBHarry 2026-07-17 22:23:53 +02:00
parent 7afc98ed93
commit e6dcb0f9a5
2 changed files with 12 additions and 1 deletions

View file

@ -19,7 +19,7 @@ export default class DamageRoll extends DHRoll {
for (const roll of config.roll) {
await roll.roll.evaluate();
roll.roll.options = { damageTypes: roll.damageTypes ?? [] };
roll.roll.options = { damageTypes: roll.damageTypes ? [...roll.damageTypes] : [] };
if (!config.damage?.types) config.damage = { types: {} };
config.damage.types[roll.applyTo] = roll.roll;