duality tpl

This commit is contained in:
Dapoolp 2025-06-13 20:18:51 +02:00
parent 21b528e56c
commit 36bbfc52fb
10 changed files with 990 additions and 511 deletions

View file

@ -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;
}