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