diff --git a/src/module/Items/Skill.mjs b/src/module/Items/Skill.mjs index 35b02d88..8796f184 100644 --- a/src/module/Items/Skill.mjs +++ b/src/module/Items/Skill.mjs @@ -1,4 +1,4 @@ -const { BooleanField, NumberField, SchemaField, SetField, StringField, HtmlField } = foundry.data.fields; +const { BooleanField, NumberField, SchemaField, SetField, StringField, HTMLField } = foundry.data.fields; export class Skill extends foundry.abstract.TypeDataModel { @@ -10,7 +10,7 @@ export class Skill extends foundry.abstract.TypeDataModel { attributeReference2: new StringField(), // References one of the eight attributes by name attributeReference3: new StringField(), // References one of the eight attributes by name requisite: new StringField(), // Required skills at a given level - text: new HtmlField(), + text: new HTMLField(), handicapValue: new NumberField(), // BE-X complexity: new NumberField(), // In case of languages derivedAttribute1: new NumberField(), diff --git a/src/system.json b/src/system.json index fd07ff43..ac56dec0 100644 --- a/src/system.json +++ b/src/system.json @@ -44,9 +44,9 @@ }, "Item": { "skill": { - "StringField": ["name", "category", "attributeReference1", "attributeReference2", "attributeReference3", "requisite"], - "NumberField": ["handicapValue", "complexity"], - "HtmlField": ["text"] + "stringFields": ["name", "category", "attributeReference1", "attributeReference2", "attributeReference3", "requisite"], + "numberFields": ["handicapValue", "complexity"], + "htmlFields": ["text"] } } },