Basic rework to the roll data in messages

This commit is contained in:
WBHarry 2026-03-30 18:51:29 +02:00
parent e2b13d6717
commit 2664979823
15 changed files with 199 additions and 226 deletions

View file

@ -138,6 +138,7 @@ export default class DHRoll extends Roll {
const chatData = await this._prepareChatRenderContext({ flavor, isPrivate, ...options });
return foundry.applications.handlebars.renderTemplate(template, {
...chatData,
roll: this,
parent: chatData.parent,
targetMode: chatData.targetMode,
metagamingSettings