Simplified resourcemap

This commit is contained in:
WBHarry 2025-12-21 23:16:22 +01:00
parent 1a1b01ded5
commit 63a1bf4f1a
3 changed files with 13 additions and 12 deletions

View file

@ -478,7 +478,7 @@ export default class DhpActor extends Actor {
async diceRoll(config) {
config.source = { ...(config.source ?? {}), actor: this.uuid };
config.data = this.getRollData();
config.resourceUpdates = new ResourceUpdateMap(this.uuid);
config.resourceUpdates = new ResourceUpdateMap(this);
const rollClass = config.roll.lite ? CONFIG.Dice.daggerheart['DHRoll'] : this.rollClass;
return await rollClass.build(config);
}