Fixed advantage/disadvantage sources for adversaries and companions (#1659)

This commit is contained in:
WBHarry 2026-02-14 13:07:47 +01:00 committed by GitHub
parent 472f876ea3
commit b64a9002ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 17 deletions

View file

@ -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],