tonyrobots / dcc-qol

DCC Quality of Life Improvements
MIT License
0 stars 0 forks source link

Damage roll not working #1

Closed CrownBerry closed 4 months ago

CrownBerry commented 4 months ago

Versions FoundryVTT: 12.328 DCC system: v0.42.0 DCC-QoL: 0.0.23

Enabled modules:

image

Module settings:

image

Description: I created a simple actor with a longsword and imported a wolf from the compendium. When I attack a wolf with this longsword, the attack roll goes fine, but pressing the "Damage" button does not roll anything.

Also, there is an error in DevTools console:

image

Error message: TypeError: Cannot read properties of undefined (reading 'system') at DCCActor.rollDamage (actor.js:1137:26) at HTMLButtonElement.ChatCardAction (chat.js:80:48) at HTMLElement.dispatch (jquery.min.js:2:40035) at v.handle (jquery.min.js:2:38006)

CrownBerry commented 4 months ago

This works after the server restart.