Fixed checks not applying rolled effects

This commit is contained in:
ThaumRystra
2023-11-12 21:11:04 +02:00
parent 2e3e6e22b6
commit 800ef3328c
9 changed files with 52 additions and 10 deletions

View File

@@ -215,6 +215,24 @@ let ComputedOnlyAttributeSchema = createPropertySchema({
'proficiencyIds.$': {
type: String,
},
'definitions': {
type: Array,
optional: true,
removeBeforeCompute: true,
},
'definitions.$': {
type: Object,
},
'definitions.$._id': {
type: String,
},
'definitions.$.type': {
type: String,
},
'definitions.$.row': {
type: Number,
optional: true,
},
});
const ComputedAttributeSchema = new SimpleSchema()

View File

@@ -150,6 +150,24 @@ let ComputedOnlySkillSchema = createPropertySchema({
'proficiencyIds.$': {
type: String,
},
'definitions': {
type: Array,
optional: true,
removeBeforeCompute: true,
},
'definitions.$': {
type: Object,
},
'definitions.$._id': {
type: String,
},
'definitions.$.type': {
type: String,
},
'definitions.$.row': {
type: Number,
optional: true,
},
})
const ComputedSkillSchema = new SimpleSchema()