Merged with action branch

This commit is contained in:
WBHarry 2025-06-24 16:03:58 +02:00
commit f4539ab158
48 changed files with 2747 additions and 387 deletions

View file

@ -269,19 +269,11 @@ export default class DhpActor extends Actor {
// console.log(config)
config.source = { ...(config.source ?? {}), actor: this.id };
const newConfig = {
// data: {
...config,
/* action, */
// actor: this.getRollData(),
actor: this.system
// },
// options: {
// dialog: false,
// },
// event: config.event
};
// console.log(this, newConfig)
const roll = CONFIG.Dice.daggerheart[this.type === 'character' ? 'DualityRoll' : 'D20Roll'].build(newConfig);
const roll =
await CONFIG.Dice.daggerheart[this.type === 'character' ? 'DualityRoll' : 'D20Roll'].build(newConfig);
return config;
/* let hopeDice = 'd12',
fearDice = 'd12',