diff --git a/FACES (French)/FACES_CSS.css b/FACES (French)/FACES_CSS.css index 21db8f6a09..6db3195001 100644 --- a/FACES (French)/FACES_CSS.css +++ b/FACES (French)/FACES_CSS.css @@ -7,7 +7,7 @@ .sheet-container { max-width:1100px; min-width:1100px; - border-image-source: url(https://i.goopics.net/bv23p.png); + border-image-source: url(http://imgsrv.roll20.net/?src=raw.githubusercontent.com/Roll20/roll20-character-sheets/master/FACES%2520%28French%29/FACES_png.png); border-image-slice: 45 55 50 55; border-image-width: 2%; border-image-outset: 10px 20px 10px 20px; diff --git a/FACES (French)/FACES_HTML.html b/FACES (French)/FACES_HTML.html index 00e834e560..797eabed17 100644 --- a/FACES (French)/FACES_HTML.html +++ b/FACES (French)/FACES_HTML.html @@ -18,7 +18,7 @@
- logo + logo
@@ -61,7 +61,7 @@ / PV/2 - +
@@ -513,6 +513,15 @@ const setAttributes = (update, silent) => { return newString }; +// === UPDATE WOUND +on("change:hp_max", function() { + getAttrs(["hp_max"], function(values) { + setAttrs({ + wound: Math.floor(values.hp_max / 2) + }); + }); +}); + // === REROLL TALENT ROW ID VALUE on("change:repeating_talents", function() { getSectionIDs("repeating_talents", function(idArray) {