This commit is contained in:
WBHarry 2026-05-30 23:22:03 +02:00
parent 25f27c8891
commit 0b9c4500fa
4 changed files with 10 additions and 7 deletions

View file

@ -18,8 +18,13 @@ export default class DhpNPC extends BaseDataActor {
const fields = foundry.data.fields;
return {
...super.defineSchema(),
difficulty: new fields.NumberField({ nullable: true, initial: null, integer: true }),
description: new fields.HTMLField(),
difficulty: new fields.NumberField({
nullable: true,
initial: null,
integer: true,
label: 'DAGGERHEART.GENERAL.difficulty'
}),
description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }),
motives: new fields.HTMLField(),
notes: new fields.HTMLField()
};