Fixed skills not obeying baseValue correctly

This commit is contained in:
Stefan Zermatten
2022-03-03 15:55:07 +02:00
parent c4429f5dd7
commit 43e956eb6a
2 changed files with 5 additions and 2 deletions

View File

@@ -242,6 +242,9 @@ function linkSkill(dependencyGraph, prop){
}
// Skills depend on the creature's proficiencyBonus
dependencyGraph.addLink(prop._id, 'proficiencyBonus', 'skillProficiencyBonus');
// Depends on base value
dependOnCalc({dependencyGraph, prop, key: 'baseValue'});
}
function linkSlot(dependencyGraph, prop){