From 36b905134e5cada9b80df141fce617e61e615328 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 31 Aug 2022 22:46:19 +0200 Subject: [PATCH] v10 sync --- module/actor/actor.js | 2 +- system.json | 4 ++-- templates/actor/parts/actor-header.hbs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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")}}

@@ -21,8 +21,8 @@ {{else}}

- + {{#select charType}}