mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[Fix] DiceSoNice DamageRolls (#1026)
* Fixed so the 3d damage dice can be seen by everyone when not whispered * Fixed typo
This commit is contained in:
parent
a415ab9955
commit
218f180fa0
1 changed files with 7 additions and 1 deletions
|
|
@ -37,7 +37,13 @@ export default class DamageRoll extends DHRoll {
|
|||
Object.values(config.damage).flatMap(r => r.parts.map(p => p.roll))
|
||||
),
|
||||
diceRoll = Roll.fromTerms([pool]);
|
||||
await game.dice3d.showForRoll(diceRoll, game.user, true, chatMessage.whisper, chatMessage.blind);
|
||||
await game.dice3d.showForRoll(
|
||||
diceRoll,
|
||||
game.user,
|
||||
true,
|
||||
chatMessage.whisper?.length > 0 ? chatMessage.whisper : null,
|
||||
chatMessage.blind
|
||||
);
|
||||
}
|
||||
await super.buildPost(roll, config, message);
|
||||
if (config.source?.message) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue