Fix/929 flat modifier disappears (#936)

* Temp ActionField attack type missing

* Move missing attack type to getModel
This commit is contained in:
Dapoulp 2025-08-14 15:51:56 +02:00 committed by GitHub
parent 89e4e43026
commit 207d0d6335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export class DHActionDiceData extends foundry.abstract.DataModel {
bonus: new fields.NumberField({ nullable: true, initial: null, label: 'Bonus' }),
custom: new fields.SchemaField({
enabled: new fields.BooleanField({ label: 'Custom Formula' }),
formula: new FormulaField({ label: 'Formula' })
formula: new FormulaField({ label: 'Formula', initial: "" })
})
};
}