Fix stun hindrances

This commit is contained in:
LeRatierBretonnien 2024-04-11 16:37:42 +02:00
parent 1b655a9c0e
commit 0c215e7a9c
2 changed files with 3 additions and 3 deletions

View File

@ -1502,7 +1502,7 @@ export class PegasusActor extends Actor {
} }
if (this.isOwner || game.user.isGM) { if (this.isOwner || game.user.isGM) {
// Update current hindrance level // Update current hindrance level
let hindrance = this.system.combat.hindrancedice let hindrance = 0; //this.system.combat.hindrancedice
if (!this.checkIgnoreHealth()) { if (!this.checkIgnoreHealth()) {
if (this.system.secondary.health.status == "wounded") { if (this.system.secondary.health.status == "wounded") {
hindrance += 1 hindrance += 1

View File

@ -252,7 +252,7 @@
], ],
"title": "Pegasus RPG", "title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
"version": "11.0.22", "version": "11.0.23",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v11.0.22.zip", "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" "background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
} }