From 3762e6185b8fc3d149a42285bec742781a96d4a4 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 6 Jul 2023 21:28:52 +0200 Subject: [PATCH] Combat tracker fixes --- modules/hero6-combat.js | 2 +- system.json | 4 ++-- templates/partials/partial-actor-full-charac.hbs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/hero6-combat.js b/modules/hero6-combat.js index 320ef31..a2dca3a 100644 --- a/modules/hero6-combat.js +++ b/modules/hero6-combat.js @@ -73,7 +73,7 @@ export class Hero6Combat extends Combat { computeInitiative(c, updList) { let id = c._id || c.id let hasSegment = c.actor.hasPhase(this.segmentNumber) - let isOnHold = c.actor.isOnHold() + let isOnHold = c.actor.getHoldAction() if (hasSegment || isOnHold) { let baseInit = c.actor ? c.actor.getBaseInit() : 0; let name = c.actor.name diff --git a/system.json b/system.json index 73a4001..3290da1 100644 --- a/system.json +++ b/system.json @@ -91,7 +91,7 @@ "styles": [ "styles/simple.css" ], - "version": "10.0.44", + "version": "10.0.45", "compatibility": { "minimum": "10", "verified": "10", @@ -99,7 +99,7 @@ }, "title": "Hero System v6 for FoundrtVTT (Official)", "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.44.zip", + "download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.45.zip", "url": "https://www.uberwald.me/gitea/uberwald/", "background": "images/ui/hro6_welcome_page.webp", "id": "fvtt-hero-system-6" diff --git a/templates/partials/partial-actor-full-charac.hbs b/templates/partials/partial-actor-full-charac.hbs index 5fa66e4..ab181e5 100644 --- a/templates/partials/partial-actor-full-charac.hbs +++ b/templates/partials/partial-actor-full-charac.hbs @@ -22,7 +22,7 @@ {{#if charac.lift}}

  

{{charac.lift}}

-

{{charac.liftDice}}