mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Fixes
This commit is contained in:
parent
274b99d8c6
commit
2b9e21bd53
5 changed files with 12 additions and 7 deletions
|
|
@ -282,6 +282,6 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
|
|||
async onRollReloadCheck(_event, messageData) {
|
||||
const message = game.messages.get(messageData._id);
|
||||
const needReload = await message.system.action.handleReload?.({ awaitRoll: true });
|
||||
await message.update({ 'system.needReload': needReload });
|
||||
await message.update({ 'system.needsReload': needReload });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,14 +63,14 @@ export const actionAutomationChoices = {
|
|||
export const reloadChoices = {
|
||||
off: {
|
||||
id: 'off',
|
||||
label: 'Don\'t Use'
|
||||
label: 'DAGGERHEART.CONFIG.ReloadChoices.off.label'
|
||||
},
|
||||
button: {
|
||||
id: 'button',
|
||||
label: 'Use Button'
|
||||
label: 'DAGGERHEART.CONFIG.ReloadChoices.button.label'
|
||||
},
|
||||
auto: {
|
||||
id: 'auto',
|
||||
label: 'Automatic'
|
||||
label: 'DAGGERHEART.CONFIG.ReloadChoices.auto.label'
|
||||
}
|
||||
};
|
||||
|
|
@ -42,7 +42,7 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
|
|||
hasEffect: new fields.BooleanField({ initial: false }),
|
||||
hasSave: new fields.BooleanField({ initial: false }),
|
||||
hasTarget: new fields.BooleanField({ initial: false }),
|
||||
needReload: new fields.BooleanField({ initial: false }),
|
||||
needsReload: new fields.BooleanField({ initial: false }),
|
||||
isDirect: new fields.BooleanField({ initial: false }),
|
||||
onSave: new fields.StringField(),
|
||||
source: new fields.SchemaField({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue