mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
.
This commit is contained in:
parent
154c1c939b
commit
94f9a7a0d2
1 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
|
||||||
.map(x => ({ value: x.id, label: x.name }));
|
.map(x => ({ value: x.id, label: x.name }));
|
||||||
partContext.selectedMainCharacterDisabled = !selectedMembers.length;
|
partContext.selectedMainCharacterDisabled = !selectedMembers.length;
|
||||||
|
|
||||||
partContext.canStartGroupRoll = selectedMembers.length > 1;
|
partContext.canStartGroupRoll = selectedMembers.length > 1 && this.mainCharacter?.memberId;
|
||||||
partContext.openForAllPlayers = this.openForAllPlayers;
|
partContext.openForAllPlayers = this.openForAllPlayers;
|
||||||
break;
|
break;
|
||||||
case 'mainCharacter':
|
case 'mainCharacter':
|
||||||
|
|
@ -496,7 +496,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
|
||||||
msgData = {
|
msgData = {
|
||||||
type: 'dualityRoll',
|
type: 'dualityRoll',
|
||||||
user: game.user.id,
|
user: game.user.id,
|
||||||
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.title'),
|
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.GroupRollSelect.title'),
|
||||||
speaker: cls.getSpeaker({ actor }),
|
speaker: cls.getSpeaker({ actor }),
|
||||||
system: systemData,
|
system: systemData,
|
||||||
rolls: [JSON.stringify(totalRoll)],
|
rolls: [JSON.stringify(totalRoll)],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue