Fix old armorscore AEs clobbering data (#2018)

This commit is contained in:
Carlos Fernandez 2026-06-20 13:44:39 -04:00 committed by GitHub
parent 0b7ae8a76c
commit b64e600a6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -315,7 +315,12 @@ export default class DhCharacter extends DhCreature {
label: 'DAGGERHEART.ACTORS.Character.defaultDisadvantageDice'
})
})
})
}),
/** Accumulated armor score from all sources */
armorScore: new fields.SchemaField({
value: new fields.NumberField(),
max: new fields.NumberField()
}, { persisted: false })
};
}