Added Soft remove and a character asset parenting system
This commit is contained in:
13
rpg-docs/Model/Character/SubSchemas/Attribute.js
Normal file
13
rpg-docs/Model/Character/SubSchemas/Attribute.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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"]
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user