mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Fixed advantage/disadvantage sources for adversaries and companions (#1659)
This commit is contained in:
parent
472f876ea3
commit
b64a9002ea
6 changed files with 31 additions and 17 deletions
|
|
@ -252,7 +252,7 @@ Hooks.on('setup', () => {
|
|||
);
|
||||
const actorCommon = {
|
||||
bar: ['resources.stress'],
|
||||
value: [...resistance]
|
||||
value: [...resistance, 'advantageSources', 'disadvantageSources']
|
||||
};
|
||||
CONFIG.Actor.trackableAttributes = {
|
||||
character: {
|
||||
|
|
@ -270,7 +270,7 @@ Hooks.on('setup', () => {
|
|||
},
|
||||
adversary: {
|
||||
bar: [...actorCommon.bar, 'resources.hitPoints'],
|
||||
value: [...actorCommon.value, ...damageThresholds, 'criticalThreshold']
|
||||
value: [...actorCommon.value, ...damageThresholds, 'criticalThreshold', 'difficulty']
|
||||
},
|
||||
companion: {
|
||||
bar: [...actorCommon.bar],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue