diff --git a/README.md b/README.md
index 68862f6..b8f7a46 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
## Introduction
Vous trouverez ici la feuille de personnage type pour le système D10. Cette feuille a été crée pour fonctionner avec Roll20.
-##Macros roll20
+## Macros roll20
Peuvent etre utile a modifier ou récuperer:
- ```shieldLife_Points / shieldLife_Points_max``` : Points de Vie
- ```shieldEndurance_Points / shieldEndurance_Points_max``` : Points de fatigue
diff --git a/Todo and utils.txt b/Todo and utils.txt
index 25b8de0..4c1591b 100644
--- a/Todo and utils.txt
+++ b/Todo and utils.txt
@@ -83,3 +83,6 @@ on("change:item_shield3_activation change:general_item_shield3", function() {
setAttrs({"general_effective_shield3":values.item_shield3_activation*values.general_item_shield3});
});
});
+
+
+max(values.Grievious_Wounds_max,values.Grievious_Wounds_current+min(0,floor(values.Life_Points_max/4-values.Life_Points)))
diff --git a/feuille_sysd10.html b/feuille_sysd10.html
index efdf933..6420811 100644
--- a/feuille_sysd10.html
+++ b/feuille_sysd10.html
@@ -116,6 +116,13 @@
setAttrs({"general_effective_shield3":values.item_shield3_activation*values.general_item_shield3});
});
});
+
+ // attr_Grievious_Wounds
+ on("change:Life_Points change:Life_Points_max change:Grievious_Wounds", function() {
+ getAttrs(["Life_Points", "Life_Points_max","Grievious_Wounds_current","Grievious_Wounds_max"], function(values) {
+ setAttrs({"Grievious_Wounds_effective":7});
+ });
+ });
@@ -126,56 +133,57 @@
-