mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
.
This commit is contained in:
parent
2b9e21bd53
commit
27eb4a1430
1 changed files with 3 additions and 2 deletions
|
|
@ -964,8 +964,9 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
if (!item || !item.system.resource?.max)
|
||||
return;
|
||||
|
||||
await item.update({ 'system.resource.value':
|
||||
item.system.needsReload ? itemAbleRollParse(item.system.resource.max, this.document, item) : 0
|
||||
await item.update({
|
||||
'system.resource.value': item.system.needsReload ?
|
||||
itemAbleRollParse(item.system.resource.max, this.document, item) : 0
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue