mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Removed final TagTeamRoll roll sound
This commit is contained in:
parent
73544812f5
commit
a50fb9f9ac
2 changed files with 3 additions and 5 deletions
|
|
@ -224,13 +224,11 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
|
|||
speaker: cls.getSpeaker({ actor: this.party.find(x => x.id === mainRollId) }),
|
||||
system: systemData,
|
||||
rolls: mainRoll.rolls,
|
||||
sound: null
|
||||
sound: null,
|
||||
flags: { core: { RollTable: true } }
|
||||
};
|
||||
|
||||
const prevHookStatus = game.dice3d.messageHookDisabled;
|
||||
game.dice3d.messageHookDisabled = true;
|
||||
await cls.create(msgData);
|
||||
game.dice3d.messageHookDisabled = prevHookStatus;
|
||||
|
||||
const fearUpdate = { key: 'fear', value: null, total: null, enabled: true };
|
||||
for (let memberId of Object.keys(this.data.members)) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
|
|||
const html = await super.renderHTML({ actor: actorData, author: this.author });
|
||||
|
||||
if (this.flags.core?.RollTable) {
|
||||
html.querySelector('.roll-buttons.apply-buttons').remove();
|
||||
html.querySelector('.roll-buttons.apply-buttons')?.remove();
|
||||
}
|
||||
|
||||
this.enrichChatMessage(html);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue