Added forms for Class level, damage multiplier, experience, folder, note, proficiency

This commit is contained in:
Stefan Zermatten
2019-07-23 11:28:26 +02:00
parent 946b47ea61
commit 1bfb48c672
18 changed files with 604 additions and 33 deletions

View File

@@ -14,21 +14,17 @@ import updateSchemaMixin from '/imports/api/creature/mixins/updateSchemaMixin.js
let Proficiencies = new Mongo.Collection("proficiencies");
let ProficiencySchema = schema({
name: {
// The variableName of the skill to apply this to
skill: {
type: String,
optional: true,
},
// A number representing how proficient the character is
value: {
type: Number,
allowedValues: [0, 0.5, 1, 2],
allowedValues: [0.5, 1, 2],
defaultValue: 1,
},
// The variableName of the skill to apply this to
skill: {
type: String,
optional: true,
},
});
Proficiencies.attachSchema(ProficiencySchema);