Fixed TagTeam roll message and sound

This commit is contained in:
WBHarry 2025-11-10 10:02:11 +01:00
parent 63b1dcf2c6
commit 73544812f5
2 changed files with 5 additions and 3 deletions

View file

@ -223,10 +223,14 @@ export default class TagTeamDialog extends HandlebarsApplicationMixin(Applicatio
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.title'),
speaker: cls.getSpeaker({ actor: this.party.find(x => x.id === mainRollId) }),
system: systemData,
rolls: mainRoll.rolls
rolls: mainRoll.rolls,
sound: null
};
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)) {

View file

@ -99,8 +99,6 @@ export default class DHTokenHUD extends foundry.applications.hud.TokenHUD {
'Token',
partyTokenData.map(tokenData => ({
...tokenData,
// actorId: member.id,
// actorLink: true,
alpha: 0,
x: actorX,
y: actorY