export default class LethalFantasy extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields const schema = {} schema.description = new fields.HTMLField({ required: true, textSearch: true }) schema.degats = new fields.StringField({ required: false, nullable: true, blank: true }) return schema } /** @override */ static LOCALIZATION_PREFIXES = ["TENEBRIS.Attack"] get toolTip() { return this.description || "" } }