diff --git a/modules/hawkmoon-actor-sheet.js b/modules/hawkmoon-actor-sheet.js index a7c2ca4..c09693e 100644 --- a/modules/hawkmoon-actor-sheet.js +++ b/modules/hawkmoon-actor-sheet.js @@ -43,7 +43,7 @@ export class HawkmoonActorSheet extends ActorSheet { protections: duplicate(this.actor.getArmors()), historique: duplicate(this.actor.getHistorique() || {}), talents: duplicate(this.actor.getTalents() || {}), - profils: duplicate(this.actor.getProfil() || {}), + profils: duplicate(this.actor.getProfils() || {}), combat: this.actor.getCombatValues(), equipements: duplicate(this.actor.getEquipments()), description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}), diff --git a/modules/hawkmoon-actor.js b/modules/hawkmoon-actor.js index c19c4f6..adb6b94 100644 --- a/modules/hawkmoon-actor.js +++ b/modules/hawkmoon-actor.js @@ -94,8 +94,8 @@ export class HawkmoonActor extends Actor { getHistorique() { return this.items.find(item => item.type == "historique") } - getProfil() { - return this.items.find(item => item.type == "profil") + getProfils() { + return this.items.filter(item => item.type == "profil") } getTalents() { return this.items.filter(item => item.type == "talent") diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 5099b91..a2ca80e 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -78,6 +78,24 @@ +
+

Adversité

+ +
+

Santé