Skip to content

Commit

Permalink
Merge pull request #75 from McGregor777/0.9.3
Browse files Browse the repository at this point in the history
0.9.3
  • Loading branch information
Grégory Soupé authored May 6, 2024
2 parents ec5798d + 0362e8a commit 484d94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/data/actors/WFRP3eCharacterDataModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default class WFRP3eCharacterDataModel extends foundry.abstract.TypeDataM
(career.system.advances.talent.length > 0 ? 1 : 0) +
(career.system.advances.skill.length > 0 ? 1 : 0) +
(career.system.advances.wound.length > 0 ? 1 : 0) +
(career.system.advances.open.filter(openAdvance => openAdvance.length > 0)).length +
(career.system.advances.open.filter(openAdvance => openAdvance?.length > 0)).length +
career.system.advances.careerTransition.cost +
(career.system.advances.dedicationBonus.length > 0 ? 1 : 0) +
Object.values(career.system.advances.nonCareer)
Expand Down

0 comments on commit 484d94c

Please sign in to comment.