Began refactoring character computations
This commit is contained in:
@@ -23,6 +23,7 @@ let EffectSchema = new SimpleSchema({
|
||||
'passiveAdd',
|
||||
'fail',
|
||||
'conditional',
|
||||
'rollBonus',
|
||||
],
|
||||
},
|
||||
calculation: {
|
||||
|
||||
@@ -55,7 +55,7 @@ ItemSchema = new SimpleSchema({
|
||||
// Unequipped items shouldn't affect creature stats
|
||||
equipped: {
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -1,8 +1,16 @@
|
||||
import SimpleSchema from 'simpl-schema';
|
||||
|
||||
let ProficiencySchema = new SimpleSchema({
|
||||
// The variableName of the skill to apply this to
|
||||
skill: {
|
||||
name: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
// The variableNames of the skills, tags, or attributes to apply proficiency to
|
||||
stats: {
|
||||
type: Array,
|
||||
defaultValue: [],
|
||||
},
|
||||
'stats.$': {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user