Roll Chat message new design template

This commit is contained in:
Dapoolp 2025-07-30 21:40:42 +02:00
parent f14cb3936a
commit a3ef43aad6
21 changed files with 733 additions and 276 deletions

View file

@ -92,7 +92,7 @@ export default class DhActiveEffect extends ActiveEffect {
description: this.description,
actions: []
};
const msg = new cls({
const msg = {
type: 'abilityUse',
user: game.user.id,
system: systemData,
@ -100,8 +100,8 @@ export default class DhActiveEffect extends ActiveEffect {
'systems/daggerheart/templates/ui/chat/ability-use.hbs',
systemData
)
});
};
cls.create(msg.toObject());
cls.create(msg);
}
}