diff --git a/functions.php b/functions.php index 4e27382..1d592c1 100644 --- a/functions.php +++ b/functions.php @@ -701,17 +701,23 @@ function setHP($hp, $maxhp) return $rr; } + +/** + * @param $hp + * @param $maxhp + */ function setHP2($hp, $maxhp) { $bar = round($hp/$maxhp*100); - ?> -
-
+ $output = << +
-
- / +
+ $hp / $maxhp
-