diff --git a/module/actor/actor.js b/module/actor/actor.js index 22c790e..04ceb4c 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -26,7 +26,7 @@ export class BoLActor extends Actor { if (this.type === 'character') { return 'player' } - return 'tough' + return this.system.chartype } /* -------------------------------------------- */ getVillainy() { diff --git a/system.json b/system.json index af45f3c..d9f4031 100644 --- a/system.json +++ b/system.json @@ -14,7 +14,7 @@ ], "url": "https://www.uberwald.me/gitea/public/bol", "license": "LICENSE.txt", - "version": "10.0.3", + "version": "10.0.4", "compatibility": { "minimum": "10", "verified": "10.279", @@ -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.3.zip", + "download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.4.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 3855754..4086205 100644 --- a/templates/actor/parts/actor-header.hbs +++ b/templates/actor/parts/actor-header.hbs @@ -6,7 +6,7 @@ - {{#if (eq data.type "player")}} + {{#if (eq charType "player")}}