mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Character & Companion Experience Hope Cost
This commit is contained in:
parent
279a77cd76
commit
5f7cbfa4b7
6 changed files with 55 additions and 21 deletions
|
|
@ -207,7 +207,9 @@ export const registerRollDiceHooks = () => {
|
|||
if (updates.length) {
|
||||
const target = actor.system.partner ?? actor;
|
||||
if (!['dead', 'unconcious'].some(x => actor.statuses.has(x))) {
|
||||
target.modifyResource(updates);
|
||||
setTimeout(() => {
|
||||
target.modifyResource(updates);
|
||||
}, 50);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue