diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 8b13669..fd2b216 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -125,6 +125,7 @@ export class BoLActorSheet extends ActorSheet { formData.attributes = this.actor.attributes formData.aptitudes = this.actor.aptitudes formData.resources = this.actor.getResourcesFromType() + formData.xp = this.actor.system.xp formData.equipment = this.actor.equipment formData.equipmentCreature = this.actor.equipmentCreature formData.weapons = this.actor.weapons diff --git a/module/controllers/bol-rolls.js b/module/controllers/bol-rolls.js index 3be9e18..873b907 100644 --- a/module/controllers/bol-rolls.js +++ b/module/controllers/bol-rolls.js @@ -127,7 +127,7 @@ export class BoLRoll { return; } alchemy = duplicate(alchemy) - let alchemyData = alchemy.data + let alchemyData = alchemy.system if (alchemyData.properties.pccurrent < alchemyData.properties.pccost) { ui.notifications.warn("Pas assez de Points de Cration investis dans la Préparation !") return diff --git a/system.json b/system.json index d9f4031..8ac5661 100644 --- a/system.json +++ b/system.json @@ -14,10 +14,10 @@ ], "url": "https://www.uberwald.me/gitea/public/bol", "license": "LICENSE.txt", - "version": "10.0.4", + "version": "10.0.5", "compatibility": { "minimum": "10", - "verified": "10.279", + "verified": "10.283", "maximum": "10" }, "esmodules": [ @@ -194,7 +194,7 @@ ], "socket": true, "manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json", - "download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.4.zip", + "download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.5.zip", "background": "systems/images/map_lemurie.webp", "gridDistance": 1.5, "gridUnits": "m", diff --git a/templates/actor/parts/actor-header.hbs b/templates/actor/parts/actor-header.hbs index 4086205..71ff03b 100644 --- a/templates/actor/parts/actor-header.hbs +++ b/templates/actor/parts/actor-header.hbs @@ -11,11 +11,11 @@

-
+

-
+
{{else}}