Began refactoring character computations

This commit is contained in:
Stefan Zermatten
2020-03-16 17:28:53 +02:00
parent 5ed8e08993
commit 1a0c2bca78
6 changed files with 420 additions and 469 deletions

View File

@@ -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,
},