mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Fixed so that DamageTypes are retained and joined together throughout TagTeamDialog
This commit is contained in:
parent
7afc98ed93
commit
e6dcb0f9a5
2 changed files with 12 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue