This commit is contained in:
@@ -1 +1,7 @@
|
||||
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g class="" style="" transform="translate(0,0)"><path d="M373.47 25.5c-33.475-.064-67.614 13.444-94.44 43.156l37.22 145.156-33.437.032 35.343 132.093-116.718-188.375 50.03 5.375L202.5 47.312C120.437-1.43 4.756 40.396 8.5 158.156c4.402 138.44 191.196 184.6 247.406 331.625 59.376-147.035 251.26-184.33 246.656-331.624-2.564-82.042-64.6-132.532-129.093-132.656z" fill="#fff" fill-opacity="1"></path></g></svg>
|
||||
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<g class="" style="" transform="translate(0,0)">
|
||||
<path
|
||||
d="M373.47 25.5c-33.475-.064-67.614 13.444-94.44 43.156l37.22 145.156-33.437.032 35.343 132.093-116.718-188.375 50.03 5.375L202.5 47.312C120.437-1.43 4.756 40.396 8.5 158.156c4.402 138.44 191.196 184.6 247.406 331.625 59.376-147.035 251.26-184.33 246.656-331.624-2.564-82.042-64.6-132.532-129.093-132.656z"
|
||||
fill="#dc2626" fill-opacity="1"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 533 B |
10
assets/icons/health-increase.svg
Normal file
10
assets/icons/health-increase.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
||||
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<!-- Heart shape -->
|
||||
<path
|
||||
d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"
|
||||
fill="#4ade80" stroke="#22c55e" />
|
||||
<!-- Plus sign inside heart -->
|
||||
<line x1="12" y1="8" x2="12" y2="14" stroke="#ffffff" stroke-width="2.5" />
|
||||
<line x1="9" y1="11" x2="15" y2="11" stroke="#ffffff" stroke-width="2.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 572 B |
@@ -3956,3 +3956,41 @@ i.lethalfantasy {
|
||||
padding-left: 8px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
/* HP Gain Styles */
|
||||
#token-hud .hp-gain-wrap {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
display: none;
|
||||
top: 50%;
|
||||
width: 48px;
|
||||
text-align: start;
|
||||
overflow-y: auto;
|
||||
}
|
||||
#token-hud .hp-gain-wrap-col1 {
|
||||
transform: translate(-200%, -50%);
|
||||
}
|
||||
#token-hud .hp-gain-wrap-col2 {
|
||||
transform: translate(-300%, -50%);
|
||||
}
|
||||
#token-hud .hp-gain-wrap-col3 {
|
||||
transform: translate(-400%, -50%);
|
||||
}
|
||||
#token-hud .hp-gain-hud-active {
|
||||
display: block;
|
||||
}
|
||||
#token-hud .hp-gain-hud-disabled {
|
||||
display: none;
|
||||
}
|
||||
#token-hud .hud-gain-hp-button-select {
|
||||
max-width: 40px;
|
||||
background-image: var(--background-image-base);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
color: #252424;
|
||||
}
|
||||
#token-hud .hp-gain-wrap .hud-gain-hp-button-select {
|
||||
padding-left: 8px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ export default class LethalFantasyUtils {
|
||||
static setHookListeners() {
|
||||
|
||||
Hooks.on('renderTokenHUD', async (hud, html, token) => {
|
||||
// HP Loss Button (existing)
|
||||
const lossHPButton = await foundry.applications.handlebars.renderTemplate('systems/fvtt-lethal-fantasy/templates/loss-hp-hud.hbs', {})
|
||||
$(html).find('div.left').append(lossHPButton);
|
||||
$(html).find('img.lethal-hp-loss-hud').click((event) => {
|
||||
@@ -65,6 +66,45 @@ export default class LethalFantasyUtils {
|
||||
$(html).find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled');
|
||||
}
|
||||
})
|
||||
|
||||
// HP Gain Button (new)
|
||||
const gainHPButton = await foundry.applications.handlebars.renderTemplate('systems/fvtt-lethal-fantasy/templates/gain-hp-hud.hbs', {})
|
||||
$(html).find('div.left').append(gainHPButton);
|
||||
$(html).find('img.lethal-hp-gain-hud').click((event) => {
|
||||
event.preventDefault();
|
||||
let hpMenu = $(html).find('.hp-gain-wrap')[0]
|
||||
if (hpMenu.classList.contains("hp-gain-hud-disabled")) {
|
||||
$(html).find('.hp-gain-wrap')[0].classList.add('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[0].classList.remove('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.add('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.remove('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.add('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.remove('hp-gain-hud-disabled');
|
||||
} else {
|
||||
$(html).find('.hp-gain-wrap')[0].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[0].classList.add('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.add('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.add('hp-gain-hud-disabled');
|
||||
}
|
||||
})
|
||||
$(html).find('.gain-hp-hud-click').click((event) => {
|
||||
event.preventDefault();
|
||||
let hpGain = event.currentTarget.dataset.hpValue;
|
||||
if (token) {
|
||||
let tokenFull = canvas.tokens.placeables.find(t => t.id === token._id);
|
||||
console.log(tokenFull, token)
|
||||
let actor = tokenFull.actor;
|
||||
actor.applyDamage(Number(hpGain)); // Positive value to add HP
|
||||
$(html).find('.hp-gain-wrap')[0].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[0].classList.add('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[1].classList.add('hp-gain-hud-disabled');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.remove('hp-gain-hud-active');
|
||||
$(html).find('.hp-gain-wrap')[2].classList.add('hp-gain-hud-disabled');
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -168,7 +208,7 @@ export default class LethalFantasyUtils {
|
||||
|
||||
const isMonster = defender.type === "monster"
|
||||
|
||||
// Pour les monstres, récupérer les attaques activées
|
||||
// Pour les monstres, récupérer les attaques activées
|
||||
if (isMonster) {
|
||||
const enabledAttacks = Object.entries(defender.system.attacks).filter(([key, attack]) => attack.enabled)
|
||||
|
||||
@@ -527,9 +567,9 @@ export default class LethalFantasyUtils {
|
||||
</div>
|
||||
<div class="combat-result-text">
|
||||
${isAttackWin ?
|
||||
`<i class="fa-solid fa-circle-check"></i> <strong>${data.attackerName}</strong> hits <strong>${data.defenderName}</strong>!` :
|
||||
`<i class="fa-solid fa-shield-halved"></i> <strong>${data.defenderName}</strong> parries the attack!`
|
||||
}
|
||||
`<i class="fa-solid fa-circle-check"></i> <strong>${data.attackerName}</strong> hits <strong>${data.defenderName}</strong>!` :
|
||||
`<i class="fa-solid fa-shield-halved"></i> <strong>${data.defenderName}</strong> parries the attack!`
|
||||
}
|
||||
</div>
|
||||
${damageButton}
|
||||
</div>
|
||||
|
||||
@@ -1 +1 @@
|
||||
MANIFEST-000527
|
||||
MANIFEST-000539
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:32:07.348929 7f14d8ff96c0 Recovering log #525
|
||||
2026/01/19-20:32:07.358983 7f14d8ff96c0 Delete type=3 #523
|
||||
2026/01/19-20:32:07.359059 7f14d8ff96c0 Delete type=0 #525
|
||||
2026/01/19-22:34:04.043006 7f1243fff6c0 Level-0 table #530: started
|
||||
2026/01/19-22:34:04.043050 7f1243fff6c0 Level-0 table #530: 0 bytes OK
|
||||
2026/01/19-22:34:04.052889 7f1243fff6c0 Delete type=0 #528
|
||||
2026/01/19-22:34:04.082744 7f1243fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-22:34:04.092309 7f1243fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:03:10.117032 7f71b6ffd6c0 Recovering log #537
|
||||
2026/02/06-21:03:10.127068 7f71b6ffd6c0 Delete type=3 #535
|
||||
2026/02/06-21:03:10.127128 7f71b6ffd6c0 Delete type=0 #537
|
||||
2026/02/06-21:51:23.216143 7f71b67fc6c0 Level-0 table #542: started
|
||||
2026/02/06-21:51:23.216190 7f71b67fc6c0 Level-0 table #542: 0 bytes OK
|
||||
2026/02/06-21:51:23.251149 7f71b67fc6c0 Delete type=0 #540
|
||||
2026/02/06-21:51:23.327713 7f71b67fc6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:51:23.327750 7f71b67fc6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:23:50.466717 7f14da7fc6c0 Recovering log #521
|
||||
2026/01/19-20:23:50.476745 7f14da7fc6c0 Delete type=3 #519
|
||||
2026/01/19-20:23:50.476798 7f14da7fc6c0 Delete type=0 #521
|
||||
2026/01/19-20:32:02.937243 7f1243fff6c0 Level-0 table #526: started
|
||||
2026/01/19-20:32:02.937265 7f1243fff6c0 Level-0 table #526: 0 bytes OK
|
||||
2026/01/19-20:32:02.943907 7f1243fff6c0 Delete type=0 #524
|
||||
2026/01/19-20:32:02.956456 7f1243fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-20:32:02.956498 7f1243fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:49:16.805619 7f3bddbff6c0 Recovering log #533
|
||||
2026/02/04-08:49:16.866468 7f3bddbff6c0 Delete type=3 #531
|
||||
2026/02/04-08:49:16.866605 7f3bddbff6c0 Delete type=0 #533
|
||||
2026/02/04-08:52:25.382505 7f3946fff6c0 Level-0 table #538: started
|
||||
2026/02/04-08:52:25.382568 7f3946fff6c0 Level-0 table #538: 0 bytes OK
|
||||
2026/02/04-08:52:25.390046 7f3946fff6c0 Delete type=0 #536
|
||||
2026/02/04-08:52:25.403667 7f3946fff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:52:25.403757 7f3946fff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000524
|
||||
MANIFEST-000536
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:32:07.362345 7f14d9ffb6c0 Recovering log #522
|
||||
2026/01/19-20:32:07.372537 7f14d9ffb6c0 Delete type=3 #520
|
||||
2026/01/19-20:32:07.372596 7f14d9ffb6c0 Delete type=0 #522
|
||||
2026/01/19-22:34:04.165591 7f1243fff6c0 Level-0 table #527: started
|
||||
2026/01/19-22:34:04.165637 7f1243fff6c0 Level-0 table #527: 0 bytes OK
|
||||
2026/01/19-22:34:04.175509 7f1243fff6c0 Delete type=0 #525
|
||||
2026/01/19-22:34:04.175734 7f1243fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-22:34:04.175767 7f1243fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:03:10.133019 7f71b7fff6c0 Recovering log #534
|
||||
2026/02/06-21:03:10.144336 7f71b7fff6c0 Delete type=3 #532
|
||||
2026/02/06-21:03:10.144427 7f71b7fff6c0 Delete type=0 #534
|
||||
2026/02/06-21:51:23.291316 7f71b67fc6c0 Level-0 table #539: started
|
||||
2026/02/06-21:51:23.291356 7f71b67fc6c0 Level-0 table #539: 0 bytes OK
|
||||
2026/02/06-21:51:23.327518 7f71b67fc6c0 Delete type=0 #537
|
||||
2026/02/06-21:51:23.327733 7f71b67fc6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:51:23.327757 7f71b67fc6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:23:50.482057 7f14d8ff96c0 Recovering log #518
|
||||
2026/01/19-20:23:50.491682 7f14d8ff96c0 Delete type=3 #516
|
||||
2026/01/19-20:23:50.491756 7f14d8ff96c0 Delete type=0 #518
|
||||
2026/01/19-20:32:02.944004 7f1243fff6c0 Level-0 table #523: started
|
||||
2026/01/19-20:32:02.944026 7f1243fff6c0 Level-0 table #523: 0 bytes OK
|
||||
2026/01/19-20:32:02.950204 7f1243fff6c0 Delete type=0 #521
|
||||
2026/01/19-20:32:02.956469 7f1243fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-20:32:02.956510 7f1243fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:49:16.884043 7f3bdd3fe6c0 Recovering log #530
|
||||
2026/02/04-08:49:16.942005 7f3bdd3fe6c0 Delete type=3 #528
|
||||
2026/02/04-08:49:16.942138 7f3bdd3fe6c0 Delete type=0 #530
|
||||
2026/02/04-08:52:25.418216 7f3946fff6c0 Level-0 table #535: started
|
||||
2026/02/04-08:52:25.418276 7f3946fff6c0 Level-0 table #535: 0 bytes OK
|
||||
2026/02/04-08:52:25.424939 7f3946fff6c0 Delete type=0 #533
|
||||
2026/02/04-08:52:25.432353 7f3946fff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:52:25.432442 7f3946fff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!x5gLtqlW4sdDmHTd' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000529
|
||||
MANIFEST-000541
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:32:07.335896 7f14d97fa6c0 Recovering log #527
|
||||
2026/01/19-20:32:07.346053 7f14d97fa6c0 Delete type=3 #525
|
||||
2026/01/19-20:32:07.346120 7f14d97fa6c0 Delete type=0 #527
|
||||
2026/01/19-22:34:04.092377 7f1243fff6c0 Level-0 table #532: started
|
||||
2026/01/19-22:34:04.092412 7f1243fff6c0 Level-0 table #532: 0 bytes OK
|
||||
2026/01/19-22:34:04.101864 7f1243fff6c0 Delete type=0 #530
|
||||
2026/01/19-22:34:04.133480 7f1243fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-22:34:04.133550 7f1243fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:03:10.101791 7f71b77fe6c0 Recovering log #539
|
||||
2026/02/06-21:03:10.111914 7f71b77fe6c0 Delete type=3 #537
|
||||
2026/02/06-21:03:10.111991 7f71b77fe6c0 Delete type=0 #539
|
||||
2026/02/06-21:51:23.251285 7f71b67fc6c0 Level-0 table #544: started
|
||||
2026/02/06-21:51:23.251325 7f71b67fc6c0 Level-0 table #544: 0 bytes OK
|
||||
2026/02/06-21:51:23.291180 7f71b67fc6c0 Delete type=0 #542
|
||||
2026/02/06-21:51:23.327724 7f71b67fc6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:51:23.327764 7f71b67fc6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:23:50.451679 7f14d9ffb6c0 Recovering log #523
|
||||
2026/01/19-20:23:50.462356 7f14d9ffb6c0 Delete type=3 #521
|
||||
2026/01/19-20:23:50.462416 7f14d9ffb6c0 Delete type=0 #523
|
||||
2026/01/19-20:32:02.930994 7f1243fff6c0 Level-0 table #528: started
|
||||
2026/01/19-20:32:02.931037 7f1243fff6c0 Level-0 table #528: 0 bytes OK
|
||||
2026/01/19-20:32:02.937118 7f1243fff6c0 Delete type=0 #526
|
||||
2026/01/19-20:32:02.956440 7f1243fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-20:32:02.956479 7f1243fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:49:16.723698 7f3bdcbfd6c0 Recovering log #535
|
||||
2026/02/04-08:49:16.780187 7f3bdcbfd6c0 Delete type=3 #533
|
||||
2026/02/04-08:49:16.780329 7f3bdcbfd6c0 Delete type=0 #535
|
||||
2026/02/04-08:52:25.375521 7f3946fff6c0 Level-0 table #540: started
|
||||
2026/02/04-08:52:25.375622 7f3946fff6c0 Level-0 table #540: 0 bytes OK
|
||||
2026/02/04-08:52:25.382202 7f3946fff6c0 Delete type=0 #538
|
||||
2026/02/04-08:52:25.403638 7f3946fff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:52:25.403738 7f3946fff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000224
|
||||
MANIFEST-000236
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:32:07.386680 7f14d97fa6c0 Recovering log #222
|
||||
2026/01/19-20:32:07.397058 7f14d97fa6c0 Delete type=3 #220
|
||||
2026/01/19-20:32:07.397159 7f14d97fa6c0 Delete type=0 #222
|
||||
2026/01/19-22:34:04.082756 7f1243fff6c0 Level-0 table #227: started
|
||||
2026/01/19-22:34:04.082796 7f1243fff6c0 Level-0 table #227: 0 bytes OK
|
||||
2026/01/19-22:34:04.092156 7f1243fff6c0 Delete type=0 #225
|
||||
2026/01/19-22:34:04.092321 7f1243fff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-22:34:04.092355 7f1243fff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:03:10.160494 7f71b6ffd6c0 Recovering log #234
|
||||
2026/02/06-21:03:10.170771 7f71b6ffd6c0 Delete type=3 #232
|
||||
2026/02/06-21:03:10.170846 7f71b6ffd6c0 Delete type=0 #234
|
||||
2026/02/06-21:51:23.435610 7f71b67fc6c0 Level-0 table #239: started
|
||||
2026/02/06-21:51:23.435649 7f71b67fc6c0 Level-0 table #239: 0 bytes OK
|
||||
2026/02/06-21:51:23.473038 7f71b67fc6c0 Delete type=0 #237
|
||||
2026/02/06-21:51:23.473211 7f71b67fc6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:51:23.473250 7f71b67fc6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:23:50.510934 7f14d97fa6c0 Recovering log #218
|
||||
2026/01/19-20:23:50.520501 7f14d97fa6c0 Delete type=3 #216
|
||||
2026/01/19-20:23:50.520578 7f14d97fa6c0 Delete type=0 #218
|
||||
2026/01/19-20:32:02.976313 7f1243fff6c0 Level-0 table #223: started
|
||||
2026/01/19-20:32:02.976359 7f1243fff6c0 Level-0 table #223: 0 bytes OK
|
||||
2026/01/19-20:32:02.982272 7f1243fff6c0 Delete type=0 #221
|
||||
2026/01/19-20:32:02.982509 7f1243fff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-20:32:02.982604 7f1243fff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:49:17.043224 7f3bc7fff6c0 Recovering log #230
|
||||
2026/02/04-08:49:17.105842 7f3bc7fff6c0 Delete type=3 #228
|
||||
2026/02/04-08:49:17.106088 7f3bc7fff6c0 Delete type=0 #230
|
||||
2026/02/04-08:52:25.396931 7f3946fff6c0 Level-0 table #235: started
|
||||
2026/02/04-08:52:25.396997 7f3946fff6c0 Level-0 table #235: 0 bytes OK
|
||||
2026/02/04-08:52:25.403390 7f3946fff6c0 Delete type=0 #233
|
||||
2026/02/04-08:52:25.403717 7f3946fff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:52:25.403823 7f3946fff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000523
|
||||
MANIFEST-000535
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:32:07.374730 7f14d8ff96c0 Recovering log #521
|
||||
2026/01/19-20:32:07.384387 7f14d8ff96c0 Delete type=3 #519
|
||||
2026/01/19-20:32:07.384466 7f14d8ff96c0 Delete type=0 #521
|
||||
2026/01/19-22:34:04.031975 7f1243fff6c0 Level-0 table #526: started
|
||||
2026/01/19-22:34:04.032019 7f1243fff6c0 Level-0 table #526: 0 bytes OK
|
||||
2026/01/19-22:34:04.042831 7f1243fff6c0 Delete type=0 #524
|
||||
2026/01/19-22:34:04.082725 7f1243fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-22:34:04.092294 7f1243fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:03:10.146976 7f71b77fe6c0 Recovering log #533
|
||||
2026/02/06-21:03:10.156549 7f71b77fe6c0 Delete type=3 #531
|
||||
2026/02/06-21:03:10.156610 7f71b77fe6c0 Delete type=0 #533
|
||||
2026/02/06-21:51:23.327858 7f71b67fc6c0 Level-0 table #538: started
|
||||
2026/02/06-21:51:23.327892 7f71b67fc6c0 Level-0 table #538: 0 bytes OK
|
||||
2026/02/06-21:51:23.359727 7f71b67fc6c0 Delete type=0 #536
|
||||
2026/02/06-21:51:23.473179 7f71b67fc6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/02/06-21:51:23.473221 7f71b67fc6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
2026/01/19-20:23:50.495445 7f14d9ffb6c0 Recovering log #517
|
||||
2026/01/19-20:23:50.506507 7f14d9ffb6c0 Delete type=3 #515
|
||||
2026/01/19-20:23:50.506583 7f14d9ffb6c0 Delete type=0 #517
|
||||
2026/01/19-20:32:02.950374 7f1243fff6c0 Level-0 table #522: started
|
||||
2026/01/19-20:32:02.950415 7f1243fff6c0 Level-0 table #522: 0 bytes OK
|
||||
2026/01/19-20:32:02.956303 7f1243fff6c0 Delete type=0 #520
|
||||
2026/01/19-20:32:02.956488 7f1243fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/01/19-20:32:02.956546 7f1243fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:49:16.956252 7f3bdcbfd6c0 Recovering log #529
|
||||
2026/02/04-08:49:17.018344 7f3bdcbfd6c0 Delete type=3 #527
|
||||
2026/02/04-08:49:17.018475 7f3bdcbfd6c0 Delete type=0 #529
|
||||
2026/02/04-08:52:25.390221 7f3946fff6c0 Level-0 table #534: started
|
||||
2026/02/04-08:52:25.390273 7f3946fff6c0 Level-0 table #534: 0 bytes OK
|
||||
2026/02/04-08:52:25.396704 7f3946fff6c0 Delete type=0 #532
|
||||
2026/02/04-08:52:25.403694 7f3946fff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2026/02/04-08:52:25.403801 7f3946fff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@@ -35,10 +35,56 @@
|
||||
padding-bottom: 0;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
color:#252424;
|
||||
color: #252424;
|
||||
}
|
||||
|
||||
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
|
||||
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
|
||||
padding-left: 8px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* HP Gain Styles */
|
||||
#token-hud .hp-gain-wrap {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
display: none;
|
||||
top: 50%;
|
||||
width: 48px;
|
||||
text-align: start;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-wrap-col1 {
|
||||
transform: translate(-200%, -50%);
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-wrap-col2 {
|
||||
transform: translate(-300%, -50%);
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-wrap-col3 {
|
||||
transform: translate(-400%, -50%);
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-hud-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-hud-disabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#token-hud .hud-gain-hp-button-select {
|
||||
max-width: 40px;
|
||||
background-image: var(--background-image-base);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
color: #252424;
|
||||
}
|
||||
|
||||
#token-hud .hp-gain-wrap .hud-gain-hp-button-select {
|
||||
padding-left: 8px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
43
templates/gain-hp-hud.hbs
Normal file
43
templates/gain-hp-hud.hbs
Normal file
@@ -0,0 +1,43 @@
|
||||
<div class="control-icon" data-action="lethal-gain-hp-hud">
|
||||
<img
|
||||
class="lethal-hp-gain-hud"
|
||||
src="systems/fvtt-lethal-fantasy/assets/icons/health-increase.svg"
|
||||
width="36"
|
||||
height="36"
|
||||
title="Restore HP"
|
||||
/>
|
||||
|
||||
<div class="hp-gain-wrap hp-gain-wrap-col1 hp-gain-hud-disabled">
|
||||
{{#for 1 11 1}}
|
||||
<button
|
||||
class="hud-gain-hp-button-select gain-hp-hud-click"
|
||||
data-hp-value="{{this}}"
|
||||
>
|
||||
<span class="">+{{this}}</span>
|
||||
</button>
|
||||
{{/for}}
|
||||
</div>
|
||||
|
||||
<div class="hp-gain-wrap hp-gain-wrap-col2 hp-gain-hud-disabled">
|
||||
{{#for 11 21 1}}
|
||||
<button
|
||||
class="hud-gain-hp-button-select gain-hp-hud-click"
|
||||
data-hp-value="{{this}}"
|
||||
>
|
||||
<span class="">+{{this}}</span>
|
||||
</button>
|
||||
{{/for}}
|
||||
</div>
|
||||
|
||||
<div class="hp-gain-wrap hp-gain-wrap-col3 hp-gain-hud-disabled">
|
||||
{{#for 21 31 1}}
|
||||
<button
|
||||
class="hud-gain-hp-button-select gain-hp-hud-click"
|
||||
data-hp-value="{{this}}"
|
||||
>
|
||||
<span class="">+{{this}}</span>
|
||||
</button>
|
||||
{{/for}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user