Character & Companion Experience Hope Cost

This commit is contained in:
Dapoolp 2025-08-08 23:19:53 +02:00
parent 279a77cd76
commit 5f7cbfa4b7
6 changed files with 55 additions and 21 deletions

View file

@ -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);
}
}