Added Soft remove and a character asset parenting system

This commit is contained in:
Thaum
2015-03-18 08:59:02 +00:00
parent 06b0ad7eba
commit 3656a0b66f
24 changed files with 215 additions and 121 deletions

View File

@@ -0,0 +1,25 @@
/*
* Adjustments make instantaneous changes to the value of some attribute
* Damage, healing and resource cost/recovery are all adjustments
*/
Schemas.Adjustment = new SimpleSchema({
name: {
type: String,
optional: true
},
//which stat the adjustment is applied to
stat: {
type: String,
optional: true
},
//the value added to the stat
value: {
type: Number,
decimal: true,
optional: true
},
calculation: {
type: String,
optional: true
}
});