Allowed skills to come with a base proficiency

This commit is contained in:
Stefan Zermatten
2019-01-31 09:27:27 +02:00
parent e357b29145
commit d466bfe428
2 changed files with 5 additions and 1 deletions

View File

@@ -245,7 +245,7 @@ function buildCreature(charId){
ability: skill.ability,
base: skill.baseValue || 0,
result: 0, // For skills the result is the skillMod
proficiency: 0,
proficiency: skill.baseProficiency || 0,
add: 0,
mul: 1,
min: Number.NEGATIVE_INFINITY,

View File

@@ -45,6 +45,10 @@ let skillSchema = new SimpleSchema({
type: Number,
optional: true,
},
baseProficiency: {
type: Number,
optional: true,
},
value: {
type: Number,
defaultValue: 0,