Merge branch 'rework/damage-and-damage-resource-split' of https://github.com/Foundryborne/daggerheart into rework/damage-and-damage-resource-split

This commit is contained in:
WBHarry 2026-07-18 03:09:44 +02:00
commit 37f64ed023
5 changed files with 140 additions and 99 deletions

View file

@ -12,11 +12,10 @@ export default class DamageField extends fields.SchemaField {
/** @inheritDoc */
constructor(options, context = {}) {
const damageFields = {
super({
main: new fields.EmbeddedDataField(DHDamageData, { nullable: true }),
resources: new IterableTypedObjectField(DHResourceData)
};
super(damageFields, options, context);
}, options, context);
}
/**