Fix to damage roll

This commit is contained in:
WBHarry 2025-06-08 22:56:14 +02:00
parent 5e0ab9458d
commit d158d87620
3 changed files with 4 additions and 4 deletions

View file

@ -349,7 +349,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
static async attackRoll(event, button) {
const weapon = await fromUuid(button.dataset.weapon);
const damage = {
value: `${this.document.system.proficiency.value}${weapon.system.damage.value}`,
value: `${this.document.system.proficiency}${weapon.system.damage.value}`,
type: weapon.system.damage.type
};
const modifier = this.document.system.traits[weapon.system.trait].value;