Feature/761 direct damage (#961)

* Add Direct Damage to Adversary base attack

* Add direct damage to weapon
This commit is contained in:
Dapoulp 2025-08-17 15:58:34 +02:00 committed by GitHub
parent 03e6570d68
commit 16591cd327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 5 deletions

View file

@ -44,9 +44,8 @@ export default class DHBaseActorSettings extends DHApplicationMixin(DocumentShee
const context = await super._prepareContext(options);
context.isNPC = this.actor.isNPC;
if (context.systemFields.attack) {
if (context.systemFields.attack)
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
}
return context;
}