Added triggerChatRollFx

This commit is contained in:
WBHarry 2026-05-28 23:57:34 +02:00
parent 17b9719c09
commit 6cb31ac3b7
13 changed files with 65 additions and 67 deletions

View file

@ -358,8 +358,6 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
});
if (!result) return;
// todo: move logic to actor.rollTrait() or actor.diceRoll()
if (!game.modules.get('dice-so-nice')?.active) foundry.audio.AudioHelper.play({ src: CONFIG.sounds.dice });
const rollData = result.messageRoll.toJSON();
delete rollData.options.messageRoll;