Initial import with skill sheet worning
This commit is contained in:
@ -11,17 +11,16 @@ export default class LethalFantasySpell extends foundry.abstract.TypeDataModel {
|
||||
initial: "",
|
||||
textSearch: true,
|
||||
})
|
||||
|
||||
schema.preparation = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
|
||||
schema.cible = new fields.StringField({ required: true })
|
||||
schema.portee = new fields.StringField({ required: true, initial: "contact", choices: SYSTEM.SPELL_RANGE })
|
||||
schema.duree = new fields.StringField({ required: true })
|
||||
schema.consequenceA = new fields.StringField({ required: true })
|
||||
schema.consequenceB = new fields.StringField({ required: true })
|
||||
schema.level = new fields.NumberField({
|
||||
...requiredInteger,
|
||||
initial: 1,
|
||||
min: 1,
|
||||
max: 20,
|
||||
})
|
||||
|
||||
return schema
|
||||
}
|
||||
|
||||
/** @override */
|
||||
static LOCALIZATION_PREFIXES = ["TENEBRIS.Spell"]
|
||||
static LOCALIZATION_PREFIXES = ["LETHALFANTASY.Spell"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user