Added overflow stops to health bars

This commit is contained in:
Stefan Zermatten
2022-11-03 20:50:10 +02:00
parent d63ad9ea8f
commit c0ccafa787
3 changed files with 52 additions and 21 deletions

View File

@@ -69,6 +69,16 @@ let AttributeSchema = createPropertySchema({
type: Boolean,
optional: true,
},
// Control how the health bar handles overflow
healthBarNoDamageOverflow: {
type: Boolean,
optional: true,
},
healthBarNoHealingOverflow: {
type: Boolean,
optional: true,
},
// Control when the health bar takes damage or healing
healthBarDamageOrder: {
type: SimpleSchema.Integer,
optional: true,