Added a description field to attributes

This commit is contained in:
Stefan Zermatten
2019-08-01 15:45:15 +02:00
parent f37ff919fb
commit 67ea67148f
3 changed files with 52 additions and 4 deletions

View File

@@ -38,6 +38,11 @@ let AttributeSchema = new SimpleSchema({
type: Number,
optional: true,
},
// Description of what the attribute is used for
description: {
type: String,
optional: true,
},
// The damage done to the attribute, always positive
damage: {
type: SimpleSchema.Integer,