mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-20 00:27:02 +01:00
Merge branch 'main' into feature/416-reaction-roll-query
This commit is contained in:
commit
506faacd45
10 changed files with 38 additions and 22 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue