fix additional dr options

This commit is contained in:
IrkTheImp 2025-07-02 08:11:14 -05:00
parent e9abdbc523
commit 1908e74b3e
3 changed files with 21 additions and 6 deletions

View file

@ -219,11 +219,21 @@ Hooks.on('chatMessage', (_, message) => {
const config = {
title: title,
roll: { formula },
targets: target,
roll: {
formula,
trait: traitValue
},
data: {
traits: {
[traitValue]: trait
}
},
source: target,
hasSave: false,
dialog: { configure: false },
evaluate: true
evaluate: true,
advantage: rollCommand.advantage == true,
disadvantage: rollCommand.disadvantage == true
};
await CONFIG.Dice.daggerheart['DualityRoll'].build(config);