/**
 * Data model pour les armes à distance
 */
export default class ArmedistDataModel extends foundry.abstract.TypeDataModel {
  static defineSchema() {
    const fields = foundry.data.fields;
    return {
      categorie: new fields.StringField({ initial: "" }),
      equipe: new fields.BooleanField({ initial: false }),
      degat: new fields.NumberField({ initial: 0, integer: true }),
      solidite: new fields.NumberField({ initial: 0, integer: true }),
      enc: new fields.NumberField({ initial: 0, integer: true }),
      portee: new fields.StringField({ initial: "" }),
      valeur: new fields.NumberField({ initial: 0, integer: true }),
      description: new fields.HTMLField({ initial: "" })
    };
  }
}
