diff --git a/modules/heritiers-actor.js b/modules/heritiers-actor.js
index 25d1fa2..7377e69 100644
--- a/modules/heritiers-actor.js
+++ b/modules/heritiers-actor.js
@@ -304,12 +304,12 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */
getPvMalus() {
if (this.system.pv.value > 0) {
- if (this.system.pv.value < this.system.pv.max / 2) {
- return { name: "Santé", value: -1 }
- }
if (this.system.pv.value < 5) {
return { name: "Santé", value: -2 }
}
+ if (this.system.pv.value < this.system.pv.max / 2) {
+ return { name: "Santé", value: -1 }
+ }
return { name: "Santé", value: 0 }
}
return { name: "Moribond(e)", value: -50 }
diff --git a/system.json b/system.json
index 323c66d..d253a41 100644
--- a/system.json
+++ b/system.json
@@ -1,7 +1,7 @@
{
"id": "fvtt-les-heritiers",
"description": "Les Héritiers pour FoundryVTT",
- "version": "10.1.1",
+ "version": "10.1.2",
"authors": [
{
"name": "Uberwald/LeRatierBretonnien",
@@ -19,7 +19,7 @@
"gridUnits": "m",
"license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
- "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.1.1.zip",
+ "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.1.2.zip",
"languages": [
{
"lang": "fr",
@@ -122,7 +122,6 @@
"background": "systems/fvtt-les-heritiers/assets/ui/wallpaper_foundry2.webp",
"compatibility": {
"minimum": "10",
- "verified": "10",
- "maximum": "10"
+ "verified": "10"
}
}
\ No newline at end of file
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html
index d0a42bd..76e3c1f 100644
--- a/templates/actor-sheet.html
+++ b/templates/actor-sheet.html
@@ -47,7 +47,7 @@
-
+