mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Corrected ChatDamageData and made damage.main nullable
This commit is contained in:
parent
578e6e6c76
commit
ce47c63ce6
4 changed files with 30 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ export default class DamageField extends fields.SchemaField {
|
|||
/** @inheritDoc */
|
||||
constructor(options, context = {}) {
|
||||
const damageFields = {
|
||||
main: new fields.EmbeddedDataField(DHDamageData),
|
||||
main: new fields.EmbeddedDataField(DHDamageData, { nullable: true }),
|
||||
resources: new IterableTypedObjectField(DHResourceData)
|
||||
};
|
||||
super(damageFields, options, context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue