mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Fixed so that DamageRolls are actually stored with class='DamageRoll' in the chatMessage so they don't get instantiated as BaseRoll
This commit is contained in:
parent
863b5116f7
commit
14edc7f4ca
3 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
|
|||
const oldRoll = damageData.parts[0]?.roll;
|
||||
return oldRoll ? JSON.stringify({
|
||||
...oldRoll,
|
||||
class: 'BaseRoll',
|
||||
class: 'DamageRoll',
|
||||
options: {
|
||||
...oldRoll.options,
|
||||
damageTypes: damageData.parts[0].damageTypes ?? []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue