Item ehnance, fixes on acto sheet
This commit is contained in:
21
module/models/lineage.mjs
Normal file
21
module/models/lineage.mjs
Normal file
@@ -0,0 +1,21 @@
|
||||
export default class OathHammerLineage extends foundry.abstract.TypeDataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields
|
||||
const schema = {}
|
||||
|
||||
schema.description = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
// Racial traits and special abilities (rich text)
|
||||
schema.traits = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
// Base movement speed in feet
|
||||
schema.movement = new fields.NumberField({ required: true, nullable: false, integer: true, initial: 30, min: 0 })
|
||||
|
||||
// Modifier to max Grit Points (e.g. -1 for High Elf, Wood Elf)
|
||||
schema.gritModifier = new fields.NumberField({ required: true, nullable: false, integer: true, initial: 0 })
|
||||
|
||||
return schema
|
||||
}
|
||||
|
||||
static LOCALIZATION_PREFIXES = ["OATHHAMMER.Lineage"]
|
||||
}
|
||||
Reference in New Issue
Block a user