Item ehnance, fixes on acto sheet
This commit is contained in:
21
module/models/class.mjs
Normal file
21
module/models/class.mjs
Normal file
@@ -0,0 +1,21 @@
|
||||
export default class OathHammerClass extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields
|
||||
const schema = {}
|
||||
|
||||
schema.description = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
// Class features, starting abilities, advancement options (rich text)
|
||||
schema.features = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
// Armor proficiencies (e.g. "Light, Medium, Heavy")
|
||||
schema.armorProficiency = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
|
||||
// Weapon proficiencies (e.g. "Common, Dueling, Heavy, Throwing")
|
||||
schema.weaponProficiency = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
|
||||
return schema
|
||||
}
|
||||
|
||||
static LOCALIZATION_PREFIXES = ["OATHHAMMER.Class"]
|
||||
}
|
||||
Reference in New Issue
Block a user