Ajout multiples pour le combat et ameliorations des items

This commit is contained in:
2024-07-08 07:54:53 +02:00
parent 10b7fcac09
commit 629d369693
45 changed files with 686 additions and 161 deletions

View File

@ -0,0 +1,14 @@
export class TeDeumBlessureSchema extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields;
const requiredInteger = { required: true, nullable: false, integer: true };
const schema = {};
schema.typeBlessure = new fields.StringField({required: true, choices: ["indemne", "estafilade", "plaie", "plaiebeante", "plaieatroce", "tuenet"], initial: "estafilade"});
schema.localisation = new fields.StringField({required: true, choices: ["piedgauche", "pieddroit", "jambegauche", "jambedroite", "maingauche", "maindroite", "brasgauche", "brasdroit", "tete", "corps"], initial: "corps"});
schema.description = new fields.HTMLField({ required: true, blank: true });
return schema;
}
}