Implements HP loss HUD button
All checks were successful
Release Creation / build (release) Successful in 41s

This commit is contained in:
2025-04-27 22:32:32 +02:00
parent 157163672c
commit 71d3f777bf
26 changed files with 118 additions and 71 deletions

View File

@@ -2,7 +2,7 @@
<img class="lethal-hp-loss-hud" src="systems/fvtt-lethal-fantasy/assets/icons/broken-heart.svg"
width="36" height="36" title="Open token journal" />
<div class="hp-loss-wrap hp-loss-hud-disabled">
<div class="hp-loss-wrap hp-loss-wrap-col1 hp-loss-hud-disabled">
{{#for -10 0 1}}
<button class="hud-loss-hp-button-select loss-hp-hud-click " data-hp-value="{{this}}" >
<span class="">{{this}}</span>
@@ -10,4 +10,20 @@
{{/for}}
</div>
<div class="hp-loss-wrap hp-loss-wrap-col2 hp-loss-hud-disabled">
{{#for -20 -10 1}}
<button class="hud-loss-hp-button-select loss-hp-hud-click " data-hp-value="{{this}}" >
<span class="">{{this}}</span>
</button>
{{/for}}
</div>
<div class="hp-loss-wrap hp-loss-wrap-col3 hp-loss-hud-disabled">
{{#for -30 -20 1}}
<button class="hud-loss-hp-button-select loss-hp-hud-click " data-hp-value="{{this}}" >
<span class="">{{this}}</span>
</button>
{{/for}}
</div>
</div>