From 71d3f777bf69416cffc070155556d324fcef8662 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 27 Apr 2025 22:32:32 +0200 Subject: [PATCH] Implements HP loss HUD button --- css/fvtt-lethal-fantasy.css | 10 +++++++++- module/utils.mjs | 12 ++++++++++++ .../lf-equipment/{000271.log => 000275.log} | 0 packs-system/lf-equipment/CURRENT | 2 +- packs-system/lf-equipment/LOG | 16 ++++++++-------- packs-system/lf-equipment/LOG.old | 16 ++++++++-------- .../{MANIFEST-000269 => MANIFEST-000273} | Bin 176 -> 176 bytes .../lf-gifts/{000270.log => 000274.log} | 0 packs-system/lf-gifts/CURRENT | 2 +- packs-system/lf-gifts/LOG | 16 ++++++++-------- packs-system/lf-gifts/LOG.old | 16 ++++++++-------- packs-system/lf-gifts/MANIFEST-000268 | Bin 140 -> 0 bytes packs-system/lf-gifts/MANIFEST-000272 | Bin 0 -> 140 bytes .../lf-skills/{000270.log => 000274.log} | 0 packs-system/lf-skills/CURRENT | 2 +- packs-system/lf-skills/LOG | 16 ++++++++-------- packs-system/lf-skills/LOG.old | 16 ++++++++-------- packs-system/lf-skills/MANIFEST-000268 | Bin 141 -> 0 bytes packs-system/lf-skills/MANIFEST-000272 | Bin 0 -> 141 bytes .../{000270.log => 000274.log} | 0 packs-system/lf-vulnerabilities/CURRENT | 2 +- packs-system/lf-vulnerabilities/LOG | 16 ++++++++-------- packs-system/lf-vulnerabilities/LOG.old | 16 ++++++++-------- .../{MANIFEST-000268 => MANIFEST-000272} | Bin 141 -> 141 bytes styles/hud.less | 13 ++++++++++++- templates/loss-hp-hud.hbs | 18 +++++++++++++++++- 26 files changed, 118 insertions(+), 71 deletions(-) rename packs-system/lf-equipment/{000271.log => 000275.log} (100%) rename packs-system/lf-equipment/{MANIFEST-000269 => MANIFEST-000273} (72%) rename packs-system/lf-gifts/{000270.log => 000274.log} (100%) delete mode 100644 packs-system/lf-gifts/MANIFEST-000268 create mode 100644 packs-system/lf-gifts/MANIFEST-000272 rename packs-system/lf-skills/{000270.log => 000274.log} (100%) delete mode 100644 packs-system/lf-skills/MANIFEST-000268 create mode 100644 packs-system/lf-skills/MANIFEST-000272 rename packs-system/lf-vulnerabilities/{000270.log => 000274.log} (100%) rename packs-system/lf-vulnerabilities/{MANIFEST-000268 => MANIFEST-000272} (71%) diff --git a/css/fvtt-lethal-fantasy.css b/css/fvtt-lethal-fantasy.css index 0f39d4a..0ddb2da 100644 --- a/css/fvtt-lethal-fantasy.css +++ b/css/fvtt-lethal-fantasy.css @@ -2075,11 +2075,19 @@ i.lethalfantasy { left: 75px; display: none; top: 50%; - transform: translate(-200%, -50%); width: 48px; text-align: start; overflow-y: auto; } +#token-hud .hp-loss-wrap-col1 { + transform: translate(-200%, -50%); +} +#token-hud .hp-loss-wrap-col2 { + transform: translate(-300%, -50%); +} +#token-hud .hp-loss-wrap-col3 { + transform: translate(-400%, -50%); +} #token-hud .hp-loss-hud-active { display: block; } diff --git a/module/utils.mjs b/module/utils.mjs index e02dbaf..7f2df83 100644 --- a/module/utils.mjs +++ b/module/utils.mjs @@ -30,9 +30,17 @@ export default class LethalFantasyUtils { if (hpMenu.classList.contains("hp-loss-hud-disabled")) { html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-active'); html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-disabled'); } else { html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); } }) html.find('.loss-hp-hud-click').click((event) => { @@ -43,6 +51,10 @@ export default class LethalFantasyUtils { actor.applyDamage(Number(hpLoss)); html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); + html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); + html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); } }) }) diff --git a/packs-system/lf-equipment/000271.log b/packs-system/lf-equipment/000275.log similarity index 100% rename from packs-system/lf-equipment/000271.log rename to packs-system/lf-equipment/000275.log diff --git a/packs-system/lf-equipment/CURRENT b/packs-system/lf-equipment/CURRENT index 2a5d6f7..aa8e945 100644 --- a/packs-system/lf-equipment/CURRENT +++ b/packs-system/lf-equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000269 +MANIFEST-000273 diff --git a/packs-system/lf-equipment/LOG b/packs-system/lf-equipment/LOG index 17d847e..7177ed2 100644 --- a/packs-system/lf-equipment/LOG +++ b/packs-system/lf-equipment/LOG @@ -1,8 +1,8 @@ -2025/04/27-22:10:37.047400 7fa7f51fa6c0 Recovering log #267 -2025/04/27-22:10:37.058458 7fa7f51fa6c0 Delete type=3 #265 -2025/04/27-22:10:37.058538 7fa7f51fa6c0 Delete type=0 #267 -2025/04/27-22:10:52.614770 7fa7eebff6c0 Level-0 table #272: started -2025/04/27-22:10:52.614791 7fa7eebff6c0 Level-0 table #272: 0 bytes OK -2025/04/27-22:10:52.622121 7fa7eebff6c0 Delete type=0 #270 -2025/04/27-22:10:52.628504 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) -2025/04/27-22:10:52.628572 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) +2025/04/27-22:21:03.476535 7fa7effff6c0 Recovering log #271 +2025/04/27-22:21:03.529446 7fa7effff6c0 Delete type=3 #269 +2025/04/27-22:21:03.529518 7fa7effff6c0 Delete type=0 #271 +2025/04/27-22:32:25.085954 7fa7eebff6c0 Level-0 table #276: started +2025/04/27-22:32:25.085980 7fa7eebff6c0 Level-0 table #276: 0 bytes OK +2025/04/27-22:32:25.097677 7fa7eebff6c0 Delete type=0 #274 +2025/04/27-22:32:25.110519 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) +2025/04/27-22:32:25.110580 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/LOG.old b/packs-system/lf-equipment/LOG.old index ea37f47..17d847e 100644 --- a/packs-system/lf-equipment/LOG.old +++ b/packs-system/lf-equipment/LOG.old @@ -1,8 +1,8 @@ -2025/04/27-21:05:46.502959 7fa7f51fa6c0 Recovering log #263 -2025/04/27-21:05:46.514114 7fa7f51fa6c0 Delete type=3 #261 -2025/04/27-21:05:46.514266 7fa7f51fa6c0 Delete type=0 #263 -2025/04/27-22:10:01.755996 7fa7eebff6c0 Level-0 table #268: started -2025/04/27-22:10:01.756038 7fa7eebff6c0 Level-0 table #268: 0 bytes OK -2025/04/27-22:10:01.762014 7fa7eebff6c0 Delete type=0 #266 -2025/04/27-22:10:01.787708 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) -2025/04/27-22:10:01.787755 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) +2025/04/27-22:10:37.047400 7fa7f51fa6c0 Recovering log #267 +2025/04/27-22:10:37.058458 7fa7f51fa6c0 Delete type=3 #265 +2025/04/27-22:10:37.058538 7fa7f51fa6c0 Delete type=0 #267 +2025/04/27-22:10:52.614770 7fa7eebff6c0 Level-0 table #272: started +2025/04/27-22:10:52.614791 7fa7eebff6c0 Level-0 table #272: 0 bytes OK +2025/04/27-22:10:52.622121 7fa7eebff6c0 Delete type=0 #270 +2025/04/27-22:10:52.628504 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) +2025/04/27-22:10:52.628572 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/MANIFEST-000269 b/packs-system/lf-equipment/MANIFEST-000273 similarity index 72% rename from packs-system/lf-equipment/MANIFEST-000269 rename to packs-system/lf-equipment/MANIFEST-000273 index e113311047b0eded5382a75a79418df1c5afcf5b..2bdf2251c11870b0bbbf56d97ba55d56debc2193 100644 GIT binary patch delta 41 scmdnMxPfs(pVH2vOGR7^j7*c5I2o8HGqHrdySVQcNMJHZU@A}m02cuZ!~g&Q delta 41 rcmdnMxPfs(pHgyg&Sx$LMy5U{P6p diff --git a/packs-system/lf-gifts/000270.log b/packs-system/lf-gifts/000274.log similarity index 100% rename from packs-system/lf-gifts/000270.log rename to packs-system/lf-gifts/000274.log diff --git a/packs-system/lf-gifts/CURRENT b/packs-system/lf-gifts/CURRENT index df84f3d..d9f5a7d 100644 --- a/packs-system/lf-gifts/CURRENT +++ b/packs-system/lf-gifts/CURRENT @@ -1 +1 @@ -MANIFEST-000268 +MANIFEST-000272 diff --git a/packs-system/lf-gifts/LOG b/packs-system/lf-gifts/LOG index 37a80bb..9ed09d0 100644 --- a/packs-system/lf-gifts/LOG +++ b/packs-system/lf-gifts/LOG @@ -1,8 +1,8 @@ -2025/04/27-22:10:37.060842 7fa7f49f96c0 Recovering log #266 -2025/04/27-22:10:37.071585 7fa7f49f96c0 Delete type=3 #264 -2025/04/27-22:10:37.071676 7fa7f49f96c0 Delete type=0 #266 -2025/04/27-22:10:52.602346 7fa7eebff6c0 Level-0 table #271: started -2025/04/27-22:10:52.602391 7fa7eebff6c0 Level-0 table #271: 0 bytes OK -2025/04/27-22:10:52.608549 7fa7eebff6c0 Delete type=0 #269 -2025/04/27-22:10:52.628463 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/04/27-22:10:52.628540 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/04/27-22:21:03.532054 7fa7ef7fe6c0 Recovering log #270 +2025/04/27-22:21:03.584724 7fa7ef7fe6c0 Delete type=3 #268 +2025/04/27-22:21:03.584865 7fa7ef7fe6c0 Delete type=0 #270 +2025/04/27-22:32:25.103857 7fa7eebff6c0 Level-0 table #275: started +2025/04/27-22:32:25.103878 7fa7eebff6c0 Level-0 table #275: 0 bytes OK +2025/04/27-22:32:25.110373 7fa7eebff6c0 Delete type=0 #273 +2025/04/27-22:32:25.110550 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/04/27-22:32:25.110614 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/LOG.old b/packs-system/lf-gifts/LOG.old index 545d5db..37a80bb 100644 --- a/packs-system/lf-gifts/LOG.old +++ b/packs-system/lf-gifts/LOG.old @@ -1,8 +1,8 @@ -2025/04/27-21:05:46.517584 7fa7effff6c0 Recovering log #262 -2025/04/27-21:05:46.527926 7fa7effff6c0 Delete type=3 #260 -2025/04/27-21:05:46.527986 7fa7effff6c0 Delete type=0 #262 -2025/04/27-22:10:01.762226 7fa7eebff6c0 Level-0 table #267: started -2025/04/27-22:10:01.762289 7fa7eebff6c0 Level-0 table #267: 0 bytes OK -2025/04/27-22:10:01.768728 7fa7eebff6c0 Delete type=0 #265 -2025/04/27-22:10:01.787724 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/04/27-22:10:01.787762 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/04/27-22:10:37.060842 7fa7f49f96c0 Recovering log #266 +2025/04/27-22:10:37.071585 7fa7f49f96c0 Delete type=3 #264 +2025/04/27-22:10:37.071676 7fa7f49f96c0 Delete type=0 #266 +2025/04/27-22:10:52.602346 7fa7eebff6c0 Level-0 table #271: started +2025/04/27-22:10:52.602391 7fa7eebff6c0 Level-0 table #271: 0 bytes OK +2025/04/27-22:10:52.608549 7fa7eebff6c0 Delete type=0 #269 +2025/04/27-22:10:52.628463 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/04/27-22:10:52.628540 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/MANIFEST-000268 b/packs-system/lf-gifts/MANIFEST-000268 deleted file mode 100644 index 2da5ca8651a11a5d34d7385512601d283e243104..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 140 zcmZQ=x?Pvdz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&PL2x}i)_F)cqQCAFwn zu`(dsy{y8+E6K&rBP=*Cl2L&H4CECvOHy--6|1t!+;g&ue6mf0i!+=pT^Ly)@~l?P eGF%LdOubB;49tB@ED960wzPr-`al8`fC2#I-z97S diff --git a/packs-system/lf-gifts/MANIFEST-000272 b/packs-system/lf-gifts/MANIFEST-000272 new file mode 100644 index 0000000000000000000000000000000000000000..04e3277865a9e7710f2fbc8a667be9cc800ee29f GIT binary patch literal 140 zcmZQ=x?Pvdz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&PL2x}i)_F)cqQCAFwn zu`(dsy{y8+E6K&rBP=*Cl2L&H4CECvOHy--6|1t!+;g&ue6mf0i!+=pT^L!Q^4*$q exfmFkCNgm{Fi&D)QOIVSk^vH!1QM766aWC~2qi55 literal 0 HcmV?d00001 diff --git a/packs-system/lf-skills/000270.log b/packs-system/lf-skills/000274.log similarity index 100% rename from packs-system/lf-skills/000270.log rename to packs-system/lf-skills/000274.log diff --git a/packs-system/lf-skills/CURRENT b/packs-system/lf-skills/CURRENT index df84f3d..d9f5a7d 100644 --- a/packs-system/lf-skills/CURRENT +++ b/packs-system/lf-skills/CURRENT @@ -1 +1 @@ -MANIFEST-000268 +MANIFEST-000272 diff --git a/packs-system/lf-skills/LOG b/packs-system/lf-skills/LOG index fae6736..915adc6 100644 --- a/packs-system/lf-skills/LOG +++ b/packs-system/lf-skills/LOG @@ -1,8 +1,8 @@ -2025/04/27-22:10:37.034836 7fa7ef7fe6c0 Recovering log #266 -2025/04/27-22:10:37.044865 7fa7ef7fe6c0 Delete type=3 #264 -2025/04/27-22:10:37.044923 7fa7ef7fe6c0 Delete type=0 #266 -2025/04/27-22:10:52.622268 7fa7eebff6c0 Level-0 table #271: started -2025/04/27-22:10:52.622297 7fa7eebff6c0 Level-0 table #271: 0 bytes OK -2025/04/27-22:10:52.628287 7fa7eebff6c0 Delete type=0 #269 -2025/04/27-22:10:52.628521 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) -2025/04/27-22:10:52.628588 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/04/27-22:21:03.420246 7fa7f49f96c0 Recovering log #270 +2025/04/27-22:21:03.473337 7fa7f49f96c0 Delete type=3 #268 +2025/04/27-22:21:03.473392 7fa7f49f96c0 Delete type=0 #270 +2025/04/27-22:32:25.074302 7fa7eebff6c0 Level-0 table #275: started +2025/04/27-22:32:25.074357 7fa7eebff6c0 Level-0 table #275: 0 bytes OK +2025/04/27-22:32:25.085821 7fa7eebff6c0 Delete type=0 #273 +2025/04/27-22:32:25.110498 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/04/27-22:32:25.110565 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/LOG.old b/packs-system/lf-skills/LOG.old index 988ccf3..fae6736 100644 --- a/packs-system/lf-skills/LOG.old +++ b/packs-system/lf-skills/LOG.old @@ -1,8 +1,8 @@ -2025/04/27-21:05:46.488098 7fa7ef7fe6c0 Recovering log #262 -2025/04/27-21:05:46.498191 7fa7ef7fe6c0 Delete type=3 #260 -2025/04/27-21:05:46.498387 7fa7ef7fe6c0 Delete type=0 #262 -2025/04/27-22:10:01.768851 7fa7eebff6c0 Level-0 table #267: started -2025/04/27-22:10:01.768881 7fa7eebff6c0 Level-0 table #267: 0 bytes OK -2025/04/27-22:10:01.775516 7fa7eebff6c0 Delete type=0 #265 -2025/04/27-22:10:01.787735 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) -2025/04/27-22:10:01.787771 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/04/27-22:10:37.034836 7fa7ef7fe6c0 Recovering log #266 +2025/04/27-22:10:37.044865 7fa7ef7fe6c0 Delete type=3 #264 +2025/04/27-22:10:37.044923 7fa7ef7fe6c0 Delete type=0 #266 +2025/04/27-22:10:52.622268 7fa7eebff6c0 Level-0 table #271: started +2025/04/27-22:10:52.622297 7fa7eebff6c0 Level-0 table #271: 0 bytes OK +2025/04/27-22:10:52.628287 7fa7eebff6c0 Delete type=0 #269 +2025/04/27-22:10:52.628521 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/04/27-22:10:52.628588 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/MANIFEST-000268 b/packs-system/lf-skills/MANIFEST-000268 deleted file mode 100644 index 79bd66f8657cf488cea1d367dd99ae2dfc3587b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmYdufBGqffss)vC$%g!CnZVGsj?)sJhM2}IX|}`u_&=5zlfd5@L?mnqGDQpPD*M~ zv7&jFg@?IIQm#{yWoT8RQ3PW$0~p9FW|pMp7AsbjSQML^nwg{)82TidL}8ygt#r@z`3x=wMy82OoD9s9m{??1oes+d2}}YBOaTf20QNBn*8l(j delta 41 rcmeBW>}8ygt>iM_Rg#N=k*Sx7lYzO9iACn3jN2rTKp#k80#E<|!Gj0$ diff --git a/styles/hud.less b/styles/hud.less index 29b2919..aa22ec5 100644 --- a/styles/hud.less +++ b/styles/hud.less @@ -3,12 +3,23 @@ left: 75px; display: none; top: 50%; - transform: translate(-200%, -50%); width: 48px; text-align: start; overflow-y: auto; } +#token-hud .hp-loss-wrap-col1 { + transform: translate(-200%, -50%); +} + +#token-hud .hp-loss-wrap-col2 { + transform: translate(-300%, -50%); +} + +#token-hud .hp-loss-wrap-col3 { + transform: translate(-400%, -50%); +} + #token-hud .hp-loss-hud-active { display: block; } diff --git a/templates/loss-hp-hud.hbs b/templates/loss-hp-hud.hbs index 9a05bfb..3bf883b 100644 --- a/templates/loss-hp-hud.hbs +++ b/templates/loss-hp-hud.hbs @@ -2,7 +2,7 @@ -
+
{{#for -10 0 1}}
+
+ {{#for -20 -10 1}} + + {{/for}} +
+ +
+ {{#for -30 -20 1}} + + {{/for}} +
+