Merge branch 'main' into feature/416-reaction-roll-query

This commit is contained in:
Dapoolp 2025-07-26 17:19:09 +02:00
commit 506faacd45
10 changed files with 38 additions and 22 deletions

View file

@ -25,10 +25,10 @@ export default class DamageRoll extends DHRoll {
config.roll = this.unifyDamageRoll(parts);
}
static async postEvaluate(roll, config = {}) {
static postEvaluate(roll, config = {}) {
return {
...roll,
...(await super.postEvaluate(roll.roll, config)),
...super.postEvaluate(roll.roll, config),
damageTypes: [...(roll.damageTypes ?? [])],
roll: roll.roll,
type: config.type,