14 lines
269 B
JavaScript
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"],
|
|
},
|
|
});
|