From c18f1ce63ee5a11bf6111615ebb190850bb4faf8 Mon Sep 17 00:00:00 2001 From: Marcos Eduardo Crivellaro Date: Wed, 20 Dec 2023 17:12:16 -0300 Subject: [PATCH] Submiting upgraded character sheet for Fabula Ultima (smallfix). This sheet is an upgraded version of the Fabula Ultima sheet, using the test sheet's as base but with several modifications applied and new content added. The layout was much improved in comparison, it is more user-friendly, more sections were added and the content was reorganized using a better logistic for information. (Smallfix: changed Hit Points and Mind Points variable names, they were HealthPoints and MagicPoints, which would cause confusion when configuring tokens.) --- Fabula Ultima/FabulaUltima.html | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Fabula Ultima/FabulaUltima.html b/Fabula Ultima/FabulaUltima.html index ddfbb8398e..1acf96917d 100644 --- a/Fabula Ultima/FabulaUltima.html +++ b/Fabula Ultima/FabulaUltima.html @@ -151,23 +151,23 @@ idArray.forEach(id => attributesToGet.push(`repeating_charClasses_${id}_classBonus`)); getAttrs(attributesToGet, function(values) { - var health = 0; - var magic = 0; - var inventory = 0; + var hpoints = 0; + var mpoints = 0; + var ipoints = 0; for (let value of Object.values(values)) { if (value == "HP") - health++; + hpoints++; else if (value == "MP") - magic++; + mpoints++; else if (value == "IP") - inventory++; + ipoints++; } setAttrs({ - hiddenBonusHealthPoints: health, - hiddenBonusMagicPoints: magic, - hiddenBonusInventoryPoints: inventory + hiddenBonusHitPoints: hpoints, + hiddenBonusMindPoints: mpoints, + hiddenBonusInventoryPoints: ipoints }); }); }); @@ -926,35 +926,35 @@
Current HP
- +
Added HP
- - + +
Crisis
- +
HP Max
- +

Current MP
- +
-
Added MP
- +
Added MP
+
MP Max
- +