Files
DiceCloud/rpg-docs/Model/Character/SubSchemas/Adjustment.js
2015-06-25 13:34:44 +02:00

22 lines
430 B
JavaScript

/*
* Adjustments make instantaneous changes to the value of some attribute
* Damage, healing and resource cost/recovery are all adjustments
*/
Schemas.Adjustment = new SimpleSchema({
//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,
},
});