mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
[Feature] Group Roll Rework (#1785)
* Initial * . * Improvements * . * Renamed 'Main Charater' to 'Leader' * Localization fixes * . * Fixed roll sound coming when canceling a roll. Fixed the leader PART not being disabled when the player isn't the leader
This commit is contained in:
parent
97636fa134
commit
a897037dc4
27 changed files with 1214 additions and 455 deletions
|
|
@ -18,6 +18,8 @@ export function handleSocketEvent({ action = null, data = {} } = {}) {
|
|||
case socketEvent.TagTeamStart:
|
||||
Hooks.callAll(CONFIG.DH.HOOKS.hooksConfig.tagTeamStart, data);
|
||||
break;
|
||||
case socketEvent.GroupRollStart:
|
||||
Hooks.callAll(CONFIG.DH.HOOKS.hooksConfig.groupRollStart, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -26,7 +28,8 @@ export const socketEvent = {
|
|||
Refresh: 'DhRefresh',
|
||||
DhpFearUpdate: 'DhFearUpdate',
|
||||
DowntimeTrigger: 'DowntimeTrigger',
|
||||
TagTeamStart: 'DhTagTeamStart'
|
||||
TagTeamStart: 'DhTagTeamStart',
|
||||
GroupRollStart: 'DhGroupRollStart'
|
||||
};
|
||||
|
||||
export const GMUpdateEvent = {
|
||||
|
|
@ -41,6 +44,7 @@ export const GMUpdateEvent = {
|
|||
export const RefreshType = {
|
||||
Countdown: 'DhCoundownRefresh',
|
||||
TagTeamRoll: 'DhTagTeamRollRefresh',
|
||||
GroupRoll: 'DhGroupRollRefresh',
|
||||
EffectsDisplay: 'DhEffectsDisplayRefresh',
|
||||
Scene: 'DhSceneRefresh',
|
||||
CompendiumBrowser: 'DhCompendiumBrowserRefresh'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue