mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Fix fear being set by players
This commit is contained in:
parent
fb9240e130
commit
631d5a3068
2 changed files with 3 additions and 15 deletions
|
|
@ -86,11 +86,12 @@ export default class DHRoll extends Roll {
|
|||
type: this.messageType,
|
||||
user: game.user.id,
|
||||
title: roll.title,
|
||||
speaker: cls.getSpeaker(),
|
||||
speaker: cls.getSpeaker({ actor: roll.data?.parent }),
|
||||
sound: config.mute ? null : CONFIG.sounds.dice,
|
||||
system: config,
|
||||
rolls: [roll]
|
||||
};
|
||||
|
||||
config.selectedRollMode ??= game.settings.get('core', 'rollMode');
|
||||
|
||||
if (roll._evaluated) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue