From 0c215e7a9c41705b659ad0f468da6cca7791be92 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 11 Apr 2024 16:37:42 +0200 Subject: [PATCH] Fix stun hindrances --- modules/pegasus-actor.js | 2 +- system.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index e170770..3b6ca2c 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -1502,7 +1502,7 @@ export class PegasusActor extends Actor { } if (this.isOwner || game.user.isGM) { // Update current hindrance level - let hindrance = this.system.combat.hindrancedice + let hindrance = 0; //this.system.combat.hindrancedice if (!this.checkIgnoreHealth()) { if (this.system.secondary.health.status == "wounded") { hindrance += 1 diff --git a/system.json b/system.json index 8a78c74..002e7e1 100644 --- a/system.json +++ b/system.json @@ -252,7 +252,7 @@ ], "title": "Pegasus RPG", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", - "version": "11.0.22", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v11.0.22.zip", + "version": "11.0.23", + "download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v11.0.23.zip", "background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp" } \ No newline at end of file