mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Resource/Uses max as FormulaField
This commit is contained in:
parent
18aed3a9f0
commit
a15028594d
13 changed files with 86 additions and 48 deletions
|
|
@ -260,7 +260,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
icon: 'fa-solid fa-arrow-up',
|
||||
condition: target => {
|
||||
const doc = getDocFromElementSync(target);
|
||||
return doc && system.inVault;
|
||||
return doc && doc.system.inVault;
|
||||
},
|
||||
callback: async target => {
|
||||
const doc = await getDocFromElement(target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue