Files
DiceCloud/app/Model/Character/SubSchemas/Attribute.js
2018-05-21 14:21:07 +02:00

14 lines
269 B
JavaScript

Schemas.Attribute = new SimpleSchema({
//the temporary shift of the attribute
//should be zero after reset
adjustment: {
type: Number,
defaultValue: 0,
},
reset: {
type: String,
defaultValue: "longRest",
allowedValues: ["longRest", "shortRest"],
},
});