mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Add uses in action dialog
This commit is contained in:
parent
0d60cd90b6
commit
5a8aed73d2
6 changed files with 78 additions and 46 deletions
|
|
@ -69,7 +69,6 @@ export class DHRoll extends Roll {
|
|||
static async postEvaluate(roll, config={}) {}
|
||||
|
||||
static async toMessage(roll, config) {
|
||||
console.log(config)
|
||||
const cls = getDocumentClass("ChatMessage"),
|
||||
msg = {
|
||||
type: this.messageType,
|
||||
|
|
@ -80,7 +79,6 @@ export class DHRoll extends Roll {
|
|||
content: await this.messageTemplate(config),
|
||||
rolls: [roll]
|
||||
};
|
||||
console.log(msg)
|
||||
await cls.create(msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue