Fix editing homebrew resources with a custom ResourcesField

This commit is contained in:
Carlos Fernandez 2026-03-11 04:50:34 -04:00
parent f298b2160a
commit 859263e2fd
9 changed files with 109 additions and 83 deletions

View file

@ -123,6 +123,7 @@ export default class DhCompanion extends DhCreature {
}
prepareBaseData() {
super.prepareBaseData();
this.attack.roll.bonus = this.partner?.system?.spellcastModifier ?? 0;
for (let levelKey in this.levelData.levelups) {