mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
duality tpl
This commit is contained in:
parent
21b528e56c
commit
36bbfc52fb
10 changed files with 990 additions and 511 deletions
|
|
@ -272,9 +272,17 @@ export default class DhpActor extends Actor {
|
|||
system: systemData,
|
||||
content: config.chatMessage.template,
|
||||
rolls: [roll]
|
||||
}),
|
||||
msg2 = new cls({
|
||||
type: config.chatMessage.type ?? 'dualityRoll',
|
||||
sound: config.chatMessage.mute ? null : CONFIG.sounds.dice,
|
||||
system: {...systemData, forceDisplay: true },
|
||||
content: config.chatMessage.template,
|
||||
rolls: [roll]
|
||||
});
|
||||
|
||||
await cls.create(msg.toObject());
|
||||
await cls.create(msg2.toObject());
|
||||
}
|
||||
return roll;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue