Improved style of attribute form

This commit is contained in:
Stefan Zermatten
2019-07-18 14:36:39 +02:00
parent d28d6de684
commit 11d3b0fa8d
8 changed files with 145 additions and 104 deletions

View File

@@ -57,11 +57,11 @@ let AttributeSchema = schema({
type: Number,
optional: true,
},
// The damage done to the attribute, always negative
adjustment: {
// The damage done to the attribute, always positive
damage: {
type: SimpleSchema.Integer,
optional: true,
max: 0,
min: 0,
},
// Can the value be decimal?
decimal: {

View File

@@ -5,7 +5,6 @@ import librarySchemas from '/imports/api/library/librarySchemas.js';
import Libraries from '/imports/api/library/Libraries.js';
import { assertEditPermission } from '/imports/api/sharing/sharingPermissions.js';
import getModifierFields from '/imports/api/getModifierFields.js';
import simpleSchemaMixin from '/imports/api/creature/mixins/simpleSchemaMixin.js';
let LibraryNodes = new Mongo.Collection('libraryNodes');