Allowed skills to come with a base proficiency
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -45,6 +45,10 @@ let skillSchema = new SimpleSchema({
|
||||
type: Number,
|
||||
optional: true,
|
||||
},
|
||||
baseProficiency: {
|
||||
type: Number,
|
||||
optional: true,
|
||||
},
|
||||
value: {
|
||||
type: Number,
|
||||
defaultValue: 0,
|
||||
|
||||
Reference in New Issue
Block a user