Fixed advantage with new action scope prefix: '~'

This commit is contained in:
Stefan Zermatten
2023-06-07 12:29:54 +02:00
parent 4d6c6b6094
commit 6bc737f850
9 changed files with 42 additions and 8 deletions

View File

@@ -173,6 +173,13 @@ let ComputedOnlyAttributeSchema = createPropertySchema({
optional: true,
removeBeforeCompute: true,
},
// Attributes with advantage grant it to all skills based on the attribute
advantage: {
type: SimpleSchema.Integer,
optional: true,
allowedValues: [-1, 0, 1],
removeBeforeCompute: true,
},
// The computed creature constitution modifier for hit dice
constitutionMod: {
type: Number,