Add icons and background

This commit is contained in:
2022-11-09 23:48:08 +01:00
parent 4f04a3c97b
commit ad5f91fbb2
3 changed files with 34 additions and 27 deletions

View File

@ -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}),

View File

@ -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")