We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6138cad commit dbbc93bCopy full SHA for dbbc93b
modules/applications/DicePoolBuilder.js
@@ -82,7 +82,7 @@ export default class DicePoolBuilder extends FormApplication
82
data.skills = actor.itemTypes.skill;
83
84
if(actor.type === "character") {
85
- data.maxFortunePoints = actor.system.fortune.value + actor.system.currentParty.system.fortunePool;
+ data.maxFortunePoints = actor.system.fortune.value + (actor.system.currentParty?.system.fortunePool ?? 0);
86
data.specialisations = actor.itemTypes.skill
87
.filter(skill => skill.system.specialisations)
88
.reduce((specialisations, skill) => {
0 commit comments