mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 21:21:08 +01:00
Fixed TagTeam roll message and sound
This commit is contained in:
parent
63b1dcf2c6
commit
73544812f5
2 changed files with 5 additions and 3 deletions
|
|
@ -223,10 +223,14 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
|
||||||
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.title'),
|
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.title'),
|
||||||
speaker: cls.getSpeaker({ actor: this.party.find(x => x.id === mainRollId) }),
|
speaker: cls.getSpeaker({ actor: this.party.find(x => x.id === mainRollId) }),
|
||||||
system: systemData,
|
system: systemData,
|
||||||
rolls: mainRoll.rolls
|
rolls: mainRoll.rolls,
|
||||||
|
sound: null
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const prevHookStatus = game.dice3d.messageHookDisabled;
|
||||||
|
game.dice3d.messageHookDisabled = true;
|
||||||
await cls.create(msgData);
|
await cls.create(msgData);
|
||||||
|
game.dice3d.messageHookDisabled = prevHookStatus;
|
||||||
|
|
||||||
const fearUpdate = { key: 'fear', value: null, total: null, enabled: true };
|
const fearUpdate = { key: 'fear', value: null, total: null, enabled: true };
|
||||||
for (let memberId of Object.keys(this.data.members)) {
|
for (let memberId of Object.keys(this.data.members)) {
|
||||||
|
|
|
||||||
|
|
@ -99,8 +99,6 @@ export default class DHTokenHUD extends foundry.applications.hud.TokenHUD {
|
||||||
'Token',
|
'Token',
|
||||||
partyTokenData.map(tokenData => ({
|
partyTokenData.map(tokenData => ({
|
||||||
...tokenData,
|
...tokenData,
|
||||||
// actorId: member.id,
|
|
||||||
// actorLink: true,
|
|
||||||
alpha: 0,
|
alpha: 0,
|
||||||
x: actorX,
|
x: actorX,
|
||||||
y: actorY
|
y: actorY
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue