Fix async/await roll postEvaluate (#417)

* Fix async/await roll postEvaluate

* Fixed DualityReroll DiceSoNice

* Add chatDisplay: false to actors base attack

* Add chatDisplay: false to downtime actions

* Add Action Type Select item name in header

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
Dapoulp 2025-07-26 15:49:02 +02:00 committed by GitHub
parent 01f5173aa4
commit e6bfe08d83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 36 additions and 20 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,