diff --git a/css/fvtt-lethal-fantasy.css b/css/fvtt-lethal-fantasy.css
index 97dba58..8a9cf2a 100644
--- a/css/fvtt-lethal-fantasy.css
+++ b/css/fvtt-lethal-fantasy.css
@@ -13,6 +13,16 @@
--font-secondary: "BaskervilleBold", serif;
--logo-standard: url("../assets/ui/lf_logo_small_02.webp");
}
+.initiative-area {
+ min-width: 8rem;
+ max-width: 8rem;
+ display: flex;
+ flex-direction: row;
+}
+.initiative-area input {
+ min-width: 3rem;
+ max-width: 3rem;
+}
#logo {
content: var(--logo-standard);
width: 50px;
diff --git a/lang/en.json b/lang/en.json
index 29dbd7f..9f81fce 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -1,6 +1,6 @@
{
"COMBAT": {
- "Round": "Second",
+ "Round": "Second {round}",
"Rounds": "Seconds",
"RoundNext": "Next second"
},
diff --git a/module/applications/combat.mjs b/module/applications/combat.mjs
index 169b27f..06285a6 100644
--- a/module/applications/combat.mjs
+++ b/module/applications/combat.mjs
@@ -2,17 +2,53 @@
/* -------------------------------------------- */
export class LethalFantasyCombatTracker extends foundry.applications.sidebar.tabs.CombatTracker {
- async getData(options) {
- let data = await super.getData(options);
- for (let u of data.turns) {
+ static PARTS = {
+ "header": {
+ "template": "systems/fvtt-lethal-fantasy/templates/combat-tracker-header-v2.hbs"
+ },
+ "tracker": {
+ "template": "systems/fvtt-lethal-fantasy/templates/combat-tracker-v2.hbs"
+ },
+ "footer": {
+ "template": "systems/fvtt-lethal-fantasy/templates/combat-tracker-footer-v2.hbs"
+ }
+ }
+
+ static DEFAULT_OPTIONS = foundry.utils.mergeObject(super.DEFAULT_OPTIONS, {
+ actions: {
+ initiativePlus: LethalFantasyCombatTracker.#initiativePlus,
+ initiativeMinus: LethalFantasyCombatTracker.#initiativeMinus,
+ },
+ });
+
+ async _prepareContext(options) {
+ let data = await super._prepareContext(options);
+ console?.log("Combat Tracker Data", data);
+ /*for (let u of data.turns) {
let c = game.combat.combatants.get(u.id);
u.progressionCount = c.system.progressionCount
u.isMonster = c.actor.type === "monster"
}
- console.log("Combat Data", data);
+ console.log("Combat Data", data);*/
return data;
}
+ static #initiativePlus(ev) {
+ ev.preventDefault();
+ let cId = ev.target.closest(".combatant").dataset.combatantId;
+ let c = game.combat.combatants.get(cId);
+ c.update({ 'initiative': c.initiative + 1 });
+ console.log("Initiative Plus");
+ }
+
+ static #initiativeMinus(ev) {
+ ev.preventDefault();
+ let cId = ev.target.closest(".combatant").dataset.combatantId;
+ let c = game.combat.combatants.get(cId);
+ let newInit = Math.max(c.initiative - 1, 0);
+ c.update({ 'initiative': newInit });
+ }
+
activateListeners(html) {
super.activateListeners(html);
// Display Combat settings
@@ -21,7 +57,6 @@ export class LethalFantasyCombatTracker extends foundry.applications.sidebar.tab
let cId = ev.currentTarget.closest(".combatant").dataset.combatantId;
let c = game.combat.combatants.get(cId);
c.update({ 'initiative': c.initiative + 1 });
- console.log("Initiative Plus");
});
html.find(".initiative-minus").click(ev => {
@@ -160,10 +195,10 @@ export class LethalFantasyCombat extends Combat {
}
for (let c of this.combatants) {
- if ( nextRound >= c.initiative) {
+ if (nextRound >= c.initiative) {
let user = game.users.find(u => u.active && u.character && u.character.id === c.actor.id);
if (user?.hasPlayerOwner) {
- game.socket.emit(`system.${SYSTEM.id}`, { type: "rollProgressionDice", progressionCount: c.system.progressionCount+1, actorId: c.actor.id, combatId: this.id, combatantId: c.id });
+ game.socket.emit(`system.${SYSTEM.id}`, { type: "rollProgressionDice", progressionCount: c.system.progressionCount + 1, actorId: c.actor.id, combatId: this.id, combatantId: c.id });
} else {
user = game.users.find(u => u.active && u.isGM);
c.actor.system.rollProgressionDice(this.id, c.id);
diff --git a/module/models/monster.mjs b/module/models/monster.mjs
index bbe9532..7e6c4f5 100644
--- a/module/models/monster.mjs
+++ b/module/models/monster.mjs
@@ -238,7 +238,7 @@ export default class LethalFantasyMonster extends foundry.abstract.TypeDataModel
async rollProgressionDice(combatId, combatantId) {
- const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)]))
+ const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes)
const fieldRollMode = new foundry.data.fields.StringField({
choices: rollModes,
blank: false,
diff --git a/packs-system/lf-equipment/000338.log b/packs-system/lf-equipment/000350.log
similarity index 100%
rename from packs-system/lf-equipment/000338.log
rename to packs-system/lf-equipment/000350.log
diff --git a/packs-system/lf-equipment/CURRENT b/packs-system/lf-equipment/CURRENT
index 26ca7ad..549acb4 100644
--- a/packs-system/lf-equipment/CURRENT
+++ b/packs-system/lf-equipment/CURRENT
@@ -1 +1 @@
-MANIFEST-000336
+MANIFEST-000348
diff --git a/packs-system/lf-equipment/LOG b/packs-system/lf-equipment/LOG
index 5fa2072..8616c98 100644
--- a/packs-system/lf-equipment/LOG
+++ b/packs-system/lf-equipment/LOG
@@ -1,8 +1,8 @@
-2025/05/14-09:18:06.447327 7f5ccd7fa6c0 Recovering log #334
-2025/05/14-09:18:06.457498 7f5ccd7fa6c0 Delete type=3 #332
-2025/05/14-09:18:06.457555 7f5ccd7fa6c0 Delete type=0 #334
-2025/05/14-10:01:12.490342 7f5ccb7ff6c0 Level-0 table #339: started
-2025/05/14-10:01:12.490385 7f5ccb7ff6c0 Level-0 table #339: 0 bytes OK
-2025/05/14-10:01:12.496360 7f5ccb7ff6c0 Delete type=0 #337
-2025/05/14-10:01:12.515162 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
-2025/05/14-10:01:12.515209 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
+2025/05/29-16:36:11.138560 7f53e4df86c0 Recovering log #346
+2025/05/29-16:36:11.150394 7f53e4df86c0 Delete type=3 #344
+2025/05/29-16:36:11.150472 7f53e4df86c0 Delete type=0 #346
+2025/05/29-18:48:12.764595 7f53df3ff6c0 Level-0 table #351: started
+2025/05/29-18:48:12.764652 7f53df3ff6c0 Level-0 table #351: 0 bytes OK
+2025/05/29-18:48:12.777058 7f53df3ff6c0 Delete type=0 #349
+2025/05/29-18:48:12.800778 7f53df3ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
+2025/05/29-18:48:12.800877 7f53df3ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-equipment/LOG.old b/packs-system/lf-equipment/LOG.old
index 4159263..e3e3b3f 100644
--- a/packs-system/lf-equipment/LOG.old
+++ b/packs-system/lf-equipment/LOG.old
@@ -1,8 +1,8 @@
-2025/05/14-07:47:09.475124 7f5ccd7fa6c0 Recovering log #330
-2025/05/14-07:47:09.486681 7f5ccd7fa6c0 Delete type=3 #328
-2025/05/14-07:47:09.486812 7f5ccd7fa6c0 Delete type=0 #330
-2025/05/14-08:06:15.866972 7f5ccb7ff6c0 Level-0 table #335: started
-2025/05/14-08:06:15.867049 7f5ccb7ff6c0 Level-0 table #335: 0 bytes OK
-2025/05/14-08:06:15.873425 7f5ccb7ff6c0 Delete type=0 #333
-2025/05/14-08:06:15.893680 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
-2025/05/14-08:06:15.893803 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
+2025/05/22-18:45:28.754313 7f53737fe6c0 Recovering log #342
+2025/05/22-18:45:28.804653 7f53737fe6c0 Delete type=3 #340
+2025/05/22-18:45:28.804783 7f53737fe6c0 Delete type=0 #342
+2025/05/22-19:43:04.046497 7f53723ff6c0 Level-0 table #347: started
+2025/05/22-19:43:04.046522 7f53723ff6c0 Level-0 table #347: 0 bytes OK
+2025/05/22-19:43:04.084205 7f53723ff6c0 Delete type=0 #345
+2025/05/22-19:43:04.153359 7f53723ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
+2025/05/22-19:43:04.153400 7f53723ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-equipment/MANIFEST-000336 b/packs-system/lf-equipment/MANIFEST-000348
similarity index 71%
rename from packs-system/lf-equipment/MANIFEST-000336
rename to packs-system/lf-equipment/MANIFEST-000348
index 805c895..ce72c5a 100644
Binary files a/packs-system/lf-equipment/MANIFEST-000336 and b/packs-system/lf-equipment/MANIFEST-000348 differ
diff --git a/packs-system/lf-gifts/000337.log b/packs-system/lf-gifts/000349.log
similarity index 100%
rename from packs-system/lf-gifts/000337.log
rename to packs-system/lf-gifts/000349.log
diff --git a/packs-system/lf-gifts/CURRENT b/packs-system/lf-gifts/CURRENT
index adf199b..2033052 100644
--- a/packs-system/lf-gifts/CURRENT
+++ b/packs-system/lf-gifts/CURRENT
@@ -1 +1 @@
-MANIFEST-000335
+MANIFEST-000347
diff --git a/packs-system/lf-gifts/LOG b/packs-system/lf-gifts/LOG
index 0e2d60a..8547a51 100644
--- a/packs-system/lf-gifts/LOG
+++ b/packs-system/lf-gifts/LOG
@@ -1,8 +1,8 @@
-2025/05/14-09:18:06.461139 7f5ccdffb6c0 Recovering log #333
-2025/05/14-09:18:06.471748 7f5ccdffb6c0 Delete type=3 #331
-2025/05/14-09:18:06.471810 7f5ccdffb6c0 Delete type=0 #333
-2025/05/14-10:01:12.509221 7f5ccb7ff6c0 Level-0 table #338: started
-2025/05/14-10:01:12.509244 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK
-2025/05/14-10:01:12.515073 7f5ccb7ff6c0 Delete type=0 #336
-2025/05/14-10:01:12.515202 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
-2025/05/14-10:01:12.515252 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
+2025/05/29-16:36:11.158130 7f53e5dfa6c0 Recovering log #345
+2025/05/29-16:36:11.168794 7f53e5dfa6c0 Delete type=3 #343
+2025/05/29-16:36:11.168968 7f53e5dfa6c0 Delete type=0 #345
+2025/05/29-18:48:12.777345 7f53df3ff6c0 Level-0 table #350: started
+2025/05/29-18:48:12.777387 7f53df3ff6c0 Level-0 table #350: 0 bytes OK
+2025/05/29-18:48:12.788225 7f53df3ff6c0 Delete type=0 #348
+2025/05/29-18:48:12.800802 7f53df3ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
+2025/05/29-18:48:12.800914 7f53df3ff6c0 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 37770ea..38f6d3b 100644
--- a/packs-system/lf-gifts/LOG.old
+++ b/packs-system/lf-gifts/LOG.old
@@ -1,8 +1,8 @@
-2025/05/14-07:47:09.493325 7f5ccc7f86c0 Recovering log #329
-2025/05/14-07:47:09.503988 7f5ccc7f86c0 Delete type=3 #327
-2025/05/14-07:47:09.504090 7f5ccc7f86c0 Delete type=0 #329
-2025/05/14-08:06:15.873602 7f5ccb7ff6c0 Level-0 table #334: started
-2025/05/14-08:06:15.873653 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK
-2025/05/14-08:06:15.879920 7f5ccb7ff6c0 Delete type=0 #332
-2025/05/14-08:06:15.893720 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
-2025/05/14-08:06:15.893853 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
+2025/05/22-18:45:28.835173 7f5373fff6c0 Recovering log #341
+2025/05/22-18:45:28.894795 7f5373fff6c0 Delete type=3 #339
+2025/05/22-18:45:28.894867 7f5373fff6c0 Delete type=0 #341
+2025/05/22-19:43:04.009442 7f53723ff6c0 Level-0 table #346: started
+2025/05/22-19:43:04.009522 7f53723ff6c0 Level-0 table #346: 0 bytes OK
+2025/05/22-19:43:04.046375 7f53723ff6c0 Delete type=0 #344
+2025/05/22-19:43:04.153344 7f53723ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
+2025/05/22-19:43:04.153392 7f53723ff6c0 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-000335 b/packs-system/lf-gifts/MANIFEST-000347
similarity index 73%
rename from packs-system/lf-gifts/MANIFEST-000335
rename to packs-system/lf-gifts/MANIFEST-000347
index 595590a..47ef6fc 100644
Binary files a/packs-system/lf-gifts/MANIFEST-000335 and b/packs-system/lf-gifts/MANIFEST-000347 differ
diff --git a/packs-system/lf-skills/000337.log b/packs-system/lf-skills/000349.log
similarity index 100%
rename from packs-system/lf-skills/000337.log
rename to packs-system/lf-skills/000349.log
diff --git a/packs-system/lf-skills/CURRENT b/packs-system/lf-skills/CURRENT
index adf199b..2033052 100644
--- a/packs-system/lf-skills/CURRENT
+++ b/packs-system/lf-skills/CURRENT
@@ -1 +1 @@
-MANIFEST-000335
+MANIFEST-000347
diff --git a/packs-system/lf-skills/LOG b/packs-system/lf-skills/LOG
index dcf1656..9f3e7d2 100644
--- a/packs-system/lf-skills/LOG
+++ b/packs-system/lf-skills/LOG
@@ -1,8 +1,8 @@
-2025/05/14-09:18:06.433768 7f5ccc7f86c0 Recovering log #333
-2025/05/14-09:18:06.444450 7f5ccc7f86c0 Delete type=3 #331
-2025/05/14-09:18:06.444513 7f5ccc7f86c0 Delete type=0 #333
-2025/05/14-10:01:12.502915 7f5ccb7ff6c0 Level-0 table #338: started
-2025/05/14-10:01:12.502947 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK
-2025/05/14-10:01:12.509102 7f5ccb7ff6c0 Delete type=0 #336
-2025/05/14-10:01:12.515190 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
-2025/05/14-10:01:12.515243 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
+2025/05/29-16:36:11.123463 7f53e55f96c0 Recovering log #345
+2025/05/29-16:36:11.133586 7f53e55f96c0 Delete type=3 #343
+2025/05/29-16:36:11.133663 7f53e55f96c0 Delete type=0 #345
+2025/05/29-18:48:12.753680 7f53df3ff6c0 Level-0 table #350: started
+2025/05/29-18:48:12.753732 7f53df3ff6c0 Level-0 table #350: 0 bytes OK
+2025/05/29-18:48:12.764334 7f53df3ff6c0 Delete type=0 #348
+2025/05/29-18:48:12.800724 7f53df3ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
+2025/05/29-18:48:12.800854 7f53df3ff6c0 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 91560c9..67cea42 100644
--- a/packs-system/lf-skills/LOG.old
+++ b/packs-system/lf-skills/LOG.old
@@ -1,8 +1,8 @@
-2025/05/14-07:47:09.459336 7f5ccdffb6c0 Recovering log #329
-2025/05/14-07:47:09.470303 7f5ccdffb6c0 Delete type=3 #327
-2025/05/14-07:47:09.470418 7f5ccdffb6c0 Delete type=0 #329
-2025/05/14-08:06:15.886675 7f5ccb7ff6c0 Level-0 table #334: started
-2025/05/14-08:06:15.886731 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK
-2025/05/14-08:06:15.893424 7f5ccb7ff6c0 Delete type=0 #332
-2025/05/14-08:06:15.893775 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
-2025/05/14-08:06:15.893909 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
+2025/05/22-18:45:28.668409 7f5378bfa6c0 Recovering log #341
+2025/05/22-18:45:28.725273 7f5378bfa6c0 Delete type=3 #339
+2025/05/22-18:45:28.725349 7f5378bfa6c0 Delete type=0 #341
+2025/05/22-19:43:04.084321 7f53723ff6c0 Level-0 table #346: started
+2025/05/22-19:43:04.084343 7f53723ff6c0 Level-0 table #346: 0 bytes OK
+2025/05/22-19:43:04.122081 7f53723ff6c0 Delete type=0 #344
+2025/05/22-19:43:04.153372 7f53723ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
+2025/05/22-19:43:04.153416 7f53723ff6c0 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-000335 b/packs-system/lf-skills/MANIFEST-000347
similarity index 71%
rename from packs-system/lf-skills/MANIFEST-000335
rename to packs-system/lf-skills/MANIFEST-000347
index 1389ec2..82482b6 100644
Binary files a/packs-system/lf-skills/MANIFEST-000335 and b/packs-system/lf-skills/MANIFEST-000347 differ
diff --git a/packs-system/lf-spells-miracles/000037.log b/packs-system/lf-spells-miracles/000049.log
similarity index 100%
rename from packs-system/lf-spells-miracles/000037.log
rename to packs-system/lf-spells-miracles/000049.log
diff --git a/packs-system/lf-spells-miracles/CURRENT b/packs-system/lf-spells-miracles/CURRENT
index 29a53d8..1afa5d4 100644
--- a/packs-system/lf-spells-miracles/CURRENT
+++ b/packs-system/lf-spells-miracles/CURRENT
@@ -1 +1 @@
-MANIFEST-000035
+MANIFEST-000047
diff --git a/packs-system/lf-spells-miracles/LOG b/packs-system/lf-spells-miracles/LOG
index 070cfa3..92a1d53 100644
--- a/packs-system/lf-spells-miracles/LOG
+++ b/packs-system/lf-spells-miracles/LOG
@@ -1,8 +1,8 @@
-2025/05/14-09:18:06.487926 7f5ccc7f86c0 Recovering log #33
-2025/05/14-09:18:06.497838 7f5ccc7f86c0 Delete type=3 #31
-2025/05/14-09:18:06.497894 7f5ccc7f86c0 Delete type=0 #33
-2025/05/14-10:01:12.535301 7f5ccb7ff6c0 Level-0 table #38: started
-2025/05/14-10:01:12.535349 7f5ccb7ff6c0 Level-0 table #38: 0 bytes OK
-2025/05/14-10:01:12.541664 7f5ccb7ff6c0 Delete type=0 #36
-2025/05/14-10:01:12.541942 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
-2025/05/14-10:01:12.541971 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
+2025/05/29-16:36:11.187985 7f53e4df86c0 Recovering log #45
+2025/05/29-16:36:11.199498 7f53e4df86c0 Delete type=3 #43
+2025/05/29-16:36:11.199566 7f53e4df86c0 Delete type=0 #45
+2025/05/29-18:48:12.801134 7f53df3ff6c0 Level-0 table #50: started
+2025/05/29-18:48:12.801185 7f53df3ff6c0 Level-0 table #50: 0 bytes OK
+2025/05/29-18:48:12.810101 7f53df3ff6c0 Delete type=0 #48
+2025/05/29-18:48:12.859825 7f53df3ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
+2025/05/29-18:48:12.859922 7f53df3ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-spells-miracles/LOG.old b/packs-system/lf-spells-miracles/LOG.old
index 37eaea0..517b336 100644
--- a/packs-system/lf-spells-miracles/LOG.old
+++ b/packs-system/lf-spells-miracles/LOG.old
@@ -1,8 +1,8 @@
-2025/05/14-07:47:09.521604 7f5ccd7fa6c0 Recovering log #29
-2025/05/14-07:47:09.533204 7f5ccd7fa6c0 Delete type=3 #27
-2025/05/14-07:47:09.533353 7f5ccd7fa6c0 Delete type=0 #29
-2025/05/14-08:06:15.894136 7f5ccb7ff6c0 Level-0 table #34: started
-2025/05/14-08:06:15.894209 7f5ccb7ff6c0 Level-0 table #34: 0 bytes OK
-2025/05/14-08:06:15.900873 7f5ccb7ff6c0 Delete type=0 #32
-2025/05/14-08:06:15.921517 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
-2025/05/14-08:06:15.921613 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
+2025/05/22-18:45:28.985810 7f5372ffd6c0 Recovering log #41
+2025/05/22-18:45:29.040662 7f5372ffd6c0 Delete type=3 #39
+2025/05/22-18:45:29.040742 7f5372ffd6c0 Delete type=0 #41
+2025/05/22-19:43:04.281148 7f53723ff6c0 Level-0 table #46: started
+2025/05/22-19:43:04.281205 7f53723ff6c0 Level-0 table #46: 0 bytes OK
+2025/05/22-19:43:04.315875 7f53723ff6c0 Delete type=0 #44
+2025/05/22-19:43:04.316126 7f53723ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
+2025/05/22-19:43:04.366588 7f53723ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-spells-miracles/MANIFEST-000035 b/packs-system/lf-spells-miracles/MANIFEST-000047
similarity index 73%
rename from packs-system/lf-spells-miracles/MANIFEST-000035
rename to packs-system/lf-spells-miracles/MANIFEST-000047
index 452c715..40e1a89 100644
Binary files a/packs-system/lf-spells-miracles/MANIFEST-000035 and b/packs-system/lf-spells-miracles/MANIFEST-000047 differ
diff --git a/packs-system/lf-vulnerabilities/000337.log b/packs-system/lf-vulnerabilities/000349.log
similarity index 100%
rename from packs-system/lf-vulnerabilities/000337.log
rename to packs-system/lf-vulnerabilities/000349.log
diff --git a/packs-system/lf-vulnerabilities/CURRENT b/packs-system/lf-vulnerabilities/CURRENT
index adf199b..2033052 100644
--- a/packs-system/lf-vulnerabilities/CURRENT
+++ b/packs-system/lf-vulnerabilities/CURRENT
@@ -1 +1 @@
-MANIFEST-000335
+MANIFEST-000347
diff --git a/packs-system/lf-vulnerabilities/LOG b/packs-system/lf-vulnerabilities/LOG
index 2facba4..5669061 100644
--- a/packs-system/lf-vulnerabilities/LOG
+++ b/packs-system/lf-vulnerabilities/LOG
@@ -1,8 +1,8 @@
-2025/05/14-09:18:06.475503 7f5cccff96c0 Recovering log #333
-2025/05/14-09:18:06.485731 7f5cccff96c0 Delete type=3 #331
-2025/05/14-09:18:06.485791 7f5cccff96c0 Delete type=0 #333
-2025/05/14-10:01:12.496479 7f5ccb7ff6c0 Level-0 table #338: started
-2025/05/14-10:01:12.496503 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK
-2025/05/14-10:01:12.502768 7f5ccb7ff6c0 Delete type=0 #336
-2025/05/14-10:01:12.515177 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
-2025/05/14-10:01:12.515216 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
+2025/05/29-16:36:11.172412 7f53e55f96c0 Recovering log #345
+2025/05/29-16:36:11.183464 7f53e55f96c0 Delete type=3 #343
+2025/05/29-16:36:11.183540 7f53e55f96c0 Delete type=0 #345
+2025/05/29-18:48:12.788378 7f53df3ff6c0 Level-0 table #350: started
+2025/05/29-18:48:12.788406 7f53df3ff6c0 Level-0 table #350: 0 bytes OK
+2025/05/29-18:48:12.800425 7f53df3ff6c0 Delete type=0 #348
+2025/05/29-18:48:12.800827 7f53df3ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
+2025/05/29-18:48:12.800943 7f53df3ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-vulnerabilities/LOG.old b/packs-system/lf-vulnerabilities/LOG.old
index f77064f..3248b5e 100644
--- a/packs-system/lf-vulnerabilities/LOG.old
+++ b/packs-system/lf-vulnerabilities/LOG.old
@@ -1,8 +1,8 @@
-2025/05/14-07:47:09.507023 7f5ccdffb6c0 Recovering log #329
-2025/05/14-07:47:09.517849 7f5ccdffb6c0 Delete type=3 #327
-2025/05/14-07:47:09.517975 7f5ccdffb6c0 Delete type=0 #329
-2025/05/14-08:06:15.880220 7f5ccb7ff6c0 Level-0 table #334: started
-2025/05/14-08:06:15.880293 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK
-2025/05/14-08:06:15.886487 7f5ccb7ff6c0 Delete type=0 #332
-2025/05/14-08:06:15.893747 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
-2025/05/14-08:06:15.893881 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
+2025/05/22-18:45:28.912541 7f5378bfa6c0 Recovering log #341
+2025/05/22-18:45:28.969080 7f5378bfa6c0 Delete type=3 #339
+2025/05/22-18:45:28.969151 7f5378bfa6c0 Delete type=0 #341
+2025/05/22-19:43:04.122198 7f53723ff6c0 Level-0 table #346: started
+2025/05/22-19:43:04.122219 7f53723ff6c0 Level-0 table #346: 0 bytes OK
+2025/05/22-19:43:04.153184 7f53723ff6c0 Delete type=0 #344
+2025/05/22-19:43:04.153383 7f53723ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
+2025/05/22-19:43:04.153407 7f53723ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
diff --git a/packs-system/lf-vulnerabilities/MANIFEST-000335 b/packs-system/lf-vulnerabilities/MANIFEST-000347
similarity index 72%
rename from packs-system/lf-vulnerabilities/MANIFEST-000335
rename to packs-system/lf-vulnerabilities/MANIFEST-000347
index 4ae612f..e638687 100644
Binary files a/packs-system/lf-vulnerabilities/MANIFEST-000335 and b/packs-system/lf-vulnerabilities/MANIFEST-000347 differ
diff --git a/styles/global.less b/styles/global.less
index 7d275ea..d134eaa 100644
--- a/styles/global.less
+++ b/styles/global.less
@@ -6,6 +6,17 @@
--logo-standard: url("../assets/ui/lf_logo_small_02.webp");
}
+.initiative-area {
+ min-width: 8rem;
+ max-width: 8rem;
+ display: flex;
+ flex-direction: row;
+ input {
+ min-width: 3rem;
+ max-width: 3rem;
+ }
+}
+
#logo {
content: var(--logo-standard);
width: 50px;
diff --git a/templates/combat-tracker-footer-v2.hbs b/templates/combat-tracker-footer-v2.hbs
new file mode 100644
index 0000000..82406f3
--- /dev/null
+++ b/templates/combat-tracker-footer-v2.hbs
@@ -0,0 +1,39 @@
+
diff --git a/templates/combat-tracker-header-v2.hbs b/templates/combat-tracker-header-v2.hbs
new file mode 100644
index 0000000..7b89365
--- /dev/null
+++ b/templates/combat-tracker-header-v2.hbs
@@ -0,0 +1,92 @@
+