Began abstracting default abilities, damage multipliers and skills into rulesets.

This commit is contained in:
Stefan Zermatten
2018-08-24 13:30:31 +02:00
parent 5c40a84660
commit b4506fd939
5 changed files with 157 additions and 485 deletions

View File

@@ -17,6 +17,10 @@ Schemas.Attribute = new SimpleSchema({
variableName: {
type: String,
},
// Attributes need to store their order to keep the sheet consistent
order: {
type: Number,
},
type: {
type: String,
allowedValues: [
@@ -26,7 +30,7 @@ Schemas.Attribute = new SimpleSchema({
"healthBar", // Hitpoints, Temporary Hitpoints
"resource", // Rages, sorcery points
"spellSlot", // Level 1, 2, 3... spell slots
"attribute", // Aren't displayed, Jump height, Carry capacity
"utility", // Aren't displayed, Jump height, Carry capacity
],
},
value: {