mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
.
This commit is contained in:
parent
76f8da93ca
commit
b75c83b5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ export const registerRollDiceHooks = () => {
|
||||||
if (config.roll.result.duality === -1) updates.push({ key: 'fear', value: 1 });
|
if (config.roll.result.duality === -1) updates.push({ key: 'fear', value: 1 });
|
||||||
|
|
||||||
if (updates.length) {
|
if (updates.length) {
|
||||||
const target = actor.system.partner ? actor.system.partner : actor;
|
const target = actor.system.partner ?? actor;
|
||||||
target.modifyResource(updates);
|
target.modifyResource(updates);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue