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

This commit is contained in:
2025-04-27 22:11:10 +02:00
parent a043117ec7
commit 157163672c
31 changed files with 184 additions and 108 deletions

13
templates/loss-hp-hud.hbs Normal file
View File

@ -0,0 +1,13 @@
<div class="control-icon" data-action="lethal-loss-hp-hud">
<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">
{{#for -10 0 1}}
<button class="hud-loss-hp-button-select loss-hp-hud-click " data-hp-value="{{this}}" >
<span class="">{{this}}</span>
</button>
{{/for}}
</div>
</div>