fixed: props all have slotQuantityFilled now

This commit is contained in:
Stefan Zermatten
2023-04-14 12:02:46 +02:00
parent b914415ef0
commit 32e5b0a9f6
2 changed files with 11 additions and 5 deletions

View File

@@ -46,6 +46,12 @@ let CreaturePropertySchema = new SimpleSchema({
regEx: SimpleSchema.RegEx.Id,
optional: true,
},
// Fill more than one quantity in a slot, like feats and ability score
// improvements, filtered out of UI if there isn't space in quantityExpected
slotQuantityFilled: {
type: SimpleSchema.Integer,
optional: true, // Undefined implies 1
},
});
const DenormalisedOnlyCreaturePropertySchema = new SimpleSchema({