Hit dice now explicitly set their size

This commit is contained in:
Thaum Rystra
2020-04-28 17:12:22 +02:00
parent eae35062d0
commit 966fcc449d
5 changed files with 142 additions and 100 deletions

View File

@@ -32,6 +32,12 @@ let AttributeSchema = new SimpleSchema({
],
defaultValue: 'stat',
index: 1,
},
// For type hitDice, the size needs to be stored separately
hitDiceSize: {
type: String,
allowedValues: ['d4', 'd6', 'd8', 'd10', 'd12', 'd20'],
optional: true,
},
// The starting value, before effects
baseValueCalculation: {