From f445741edaa313bdef3fca73377c988b0e3d4d78 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 18 Jan 2026 18:39:51 +0100 Subject: [PATCH] =?UTF-8?q?DIvers=20petites=20corrections=20pour=20les=20s?= =?UTF-8?q?pecialit=C3=A9s=20et=20les=20competences?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applications/sheets/base-actor-sheet.mjs | 3 +- .../applications/sheets/competence-sheet.mjs | 62 ++++++++++-------- modules/heritiers-actor.js | 32 ++++++++- .../{000318.log => 000330.log} | 0 packs/archetypes-fees/CURRENT | 2 +- packs/archetypes-fees/LOG | 16 ++--- packs/archetypes-fees/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 174 -> 174 bytes .../{000318.log => 000330.log} | 0 packs/armes-et-protection/CURRENT | 2 +- packs/armes-et-protection/LOG | 16 ++--- packs/armes-et-protection/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 176 -> 176 bytes .../{000318.log => 000330.log} | 0 packs/atouts-feeriques/CURRENT | 2 +- packs/atouts-feeriques/LOG | 16 ++--- packs/atouts-feeriques/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 176 -> 176 bytes packs/avantages/{000318.log => 000330.log} | 0 packs/avantages/CURRENT | 2 +- packs/avantages/LOG | 16 ++--- packs/avantages/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 176 -> 176 bytes packs/capacites/{000318.log => 000330.log} | 0 packs/capacites/CURRENT | 2 +- packs/capacites/LOG | 16 ++--- packs/capacites/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 174 -> 174 bytes packs/competences/{000324.log => 000336.log} | 0 packs/competences/CURRENT | 2 +- packs/competences/LOG | 16 ++--- packs/competences/LOG.old | 16 ++--- .../{MANIFEST-000322 => MANIFEST-000334} | Bin 178 -> 178 bytes packs/desavantages/{000318.log => 000330.log} | 0 packs/desavantages/CURRENT | 2 +- packs/desavantages/LOG | 16 ++--- packs/desavantages/LOG.old | 16 ++--- .../{MANIFEST-000316 => MANIFEST-000328} | Bin 176 -> 176 bytes packs/journaux/{000036.log => 000048.log} | 0 packs/journaux/CURRENT | 2 +- packs/journaux/LOG | 16 ++--- packs/journaux/LOG.old | 16 ++--- .../{MANIFEST-000034 => MANIFEST-000046} | Bin 161 -> 161 bytes packs/magie-sorts/{000122.log => 000134.log} | 0 packs/magie-sorts/CURRENT | 2 +- packs/magie-sorts/LOG | 16 ++--- packs/magie-sorts/LOG.old | 16 ++--- .../{MANIFEST-000120 => MANIFEST-000132} | Bin 173 -> 177 bytes packs/pouvoirs/{000319.log => 000331.log} | 0 packs/pouvoirs/CURRENT | 2 +- packs/pouvoirs/LOG | 16 ++--- packs/pouvoirs/LOG.old | 16 ++--- .../{MANIFEST-000317 => MANIFEST-000329} | Bin 176 -> 176 bytes packs/profils/{000316.log => 000328.log} | 0 packs/profils/CURRENT | 2 +- packs/profils/LOG | 14 ++-- packs/profils/LOG.old | 14 ++-- packs/profils/MANIFEST-000314 | Bin 69 -> 0 bytes packs/profils/MANIFEST-000326 | Bin 0 -> 69 bytes packs/scenes/{000287.log => 000299.log} | 0 packs/scenes/CURRENT | 2 +- packs/scenes/LOG | 16 ++--- packs/scenes/LOG.old | 16 ++--- .../{MANIFEST-000285 => MANIFEST-000297} | Bin 176 -> 176 bytes templates/item-competence-sheet.hbs | 4 +- templates/partial-utile-skills.hbs | 10 ++- 66 files changed, 277 insertions(+), 238 deletions(-) rename packs/archetypes-fees/{000318.log => 000330.log} (100%) rename packs/archetypes-fees/{MANIFEST-000316 => MANIFEST-000328} (73%) rename packs/armes-et-protection/{000318.log => 000330.log} (100%) rename packs/armes-et-protection/{MANIFEST-000316 => MANIFEST-000328} (72%) rename packs/atouts-feeriques/{000318.log => 000330.log} (100%) rename packs/atouts-feeriques/{MANIFEST-000316 => MANIFEST-000328} (72%) rename packs/avantages/{000318.log => 000330.log} (100%) rename packs/avantages/{MANIFEST-000316 => MANIFEST-000328} (72%) rename packs/capacites/{000318.log => 000330.log} (100%) rename packs/capacites/{MANIFEST-000316 => MANIFEST-000328} (73%) rename packs/competences/{000324.log => 000336.log} (100%) rename packs/competences/{MANIFEST-000322 => MANIFEST-000334} (71%) rename packs/desavantages/{000318.log => 000330.log} (100%) rename packs/desavantages/{MANIFEST-000316 => MANIFEST-000328} (72%) rename packs/journaux/{000036.log => 000048.log} (100%) rename packs/journaux/{MANIFEST-000034 => MANIFEST-000046} (79%) rename packs/magie-sorts/{000122.log => 000134.log} (100%) rename packs/magie-sorts/{MANIFEST-000120 => MANIFEST-000132} (72%) rename packs/pouvoirs/{000319.log => 000331.log} (100%) rename packs/pouvoirs/{MANIFEST-000317 => MANIFEST-000329} (72%) rename packs/profils/{000316.log => 000328.log} (100%) delete mode 100644 packs/profils/MANIFEST-000314 create mode 100644 packs/profils/MANIFEST-000326 rename packs/scenes/{000287.log => 000299.log} (100%) rename packs/scenes/{MANIFEST-000285 => MANIFEST-000297} (72%) diff --git a/modules/applications/sheets/base-actor-sheet.mjs b/modules/applications/sheets/base-actor-sheet.mjs index 0051882..fea2684 100644 --- a/modules/applications/sheets/base-actor-sheet.mjs +++ b/modules/applications/sheets/base-actor-sheet.mjs @@ -186,7 +186,8 @@ export default class HeritiersActorSheet extends HandlebarsApplicationMixin(foun const itemType = li?.dataset.itemType const itemField = event.target.dataset.itemField const dataType = event.target.dataset.dtype - const value = event.target.value + // Pour les checkboxes, utiliser checked au lieu de value + const value = event.target.type === 'checkbox' ? event.target.checked : event.target.value if (itemId && itemType && itemField) { this.actor.editItemField(itemId, itemType, itemField, dataType, value) } diff --git a/modules/applications/sheets/competence-sheet.mjs b/modules/applications/sheets/competence-sheet.mjs index fabf42d..5c51bb4 100644 --- a/modules/applications/sheets/competence-sheet.mjs +++ b/modules/applications/sheets/competence-sheet.mjs @@ -11,8 +11,6 @@ export default class HeritiersCompetenceSheet extends HeritiersItemSheet { actions: { addSpecialite: HeritiersCompetenceSheet.#onAddSpecialite, deleteSpecialite: HeritiersCompetenceSheet.#onDeleteSpecialite, - editSpecialite: HeritiersCompetenceSheet.#onEditSpecialite, - editSpecialiteDescription: HeritiersCompetenceSheet.#onEditSpecialiteDescription, } } @@ -23,43 +21,55 @@ export default class HeritiersCompetenceSheet extends HeritiersItemSheet { }, } + /** @override */ + _onRender(context, options) { + super._onRender(context, options) + + // Attacher les écouteurs pour l'édition des spécialités + this.element.querySelectorAll('.edit-specialite').forEach(input => { + input.addEventListener('change', async (event) => { + const li = event.target.closest('.specialite-item') + const index = Number.parseInt(li?.dataset.specialiteIndex) + if (index !== undefined && !Number.isNaN(index)) { + const spec = foundry.utils.duplicate(this.item.system.specialites) || [] + if (spec[index]) { + spec[index].name = event.target.value + await this.item.update({ 'system.specialites': spec }) + } + } + }) + }) + + this.element.querySelectorAll('.edit-specialite-description').forEach(textarea => { + textarea.addEventListener('change', async (event) => { + const li = event.target.closest('.specialite-item') + const index = Number.parseInt(li?.dataset.specialiteIndex) + if (index !== undefined && !Number.isNaN(index)) { + const spec = foundry.utils.duplicate(this.item.system.specialites) || [] + if (spec[index]) { + spec[index].description = event.target.value + await this.item.update({ 'system.specialites': spec }) + } + } + }) + }) + } + /* -------------------------------------------- */ /* Event Handlers */ /* -------------------------------------------- */ static async #onAddSpecialite(event, target) { let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - spec.push({ name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false }) + spec.push({ name: "Nouvelle Spécialité", description: "", used: false }) await this.item.update({ 'system.specialites': spec }) } static async #onDeleteSpecialite(event, target) { const li = target.closest(".specialite-item") - let index = parseInt(li.dataset.specialiteIndex) + let index = Number.parseInt(li.dataset.specialiteIndex) let spec = foundry.utils.duplicate(this.item.system.specialites) || [] spec.splice(index, 1) await this.item.update({ 'system.specialites': spec }) } - - static async #onEditSpecialite(event, target) { - const li = target.closest(".specialite-item") - let index = parseInt(li.dataset.specialiteIndex) - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - if (spec[index]) { - spec[index].name = target.value - spec[index].id = spec[index].id || foundry.utils.randomID(16) - await this.item.update({ 'system.specialites': spec }) - } - } - - static async #onEditSpecialiteDescription(event, target) { - const li = target.closest(".specialite-item") - let index = parseInt(li.dataset.specialiteIndex) - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - if (spec[index]) { - spec[index].description = target.value - spec[index].id = spec[index].id || foundry.utils.randomID(16) - await this.item.update({ 'system.specialites': spec }) - } - } } diff --git a/modules/heritiers-actor.js b/modules/heritiers-actor.js index e4125fc..f8a5c3f 100644 --- a/modules/heritiers-actor.js +++ b/modules/heritiers-actor.js @@ -277,7 +277,7 @@ export class HeritiersActor extends Actor { let comp = {} for (let key in game.system.lesheritiers.config.competenceProfil) { if (game.system.lesheritiers.config.competenceProfil[key].kind == kind) - comp[key] = { skills: [], niveau: this.system.competences[key].niveau } + comp[key] = { skills: [], niveau: this.system.competences[key].niveau, rang: this.system.competences[key].rang } } for (let item of this.items) { if (item.type == "competence") { @@ -394,6 +394,34 @@ export class HeritiersActor extends Actor { } if (this.type == 'personnage') { + // Calculate rang for each competence profile + let competencesRangs = { + aventurier: 0, + combattant: 0, + erudit: 0, + gentleman: 0, + roublard: 0, + savant: 0 + } + + // Sum up niveau for each profil + for (let item of this.items) { + if (item.type == "competence" && item.system.profil) { + let profil = item.system.profil.toLowerCase() + if (competencesRangs.hasOwnProperty(profil)) { + competencesRangs[profil] += item.system.niveau + } + } + } + + // Calculate rang (total / 4, rounded down) for each competence + for (let profil in competencesRangs) { + let total = competencesRangs[profil] + let rang = Math.floor(total / 4) + if (this.system.competences[profil]) { + this.system.competences[profil].rang = rang + } + } } super.prepareDerivedData() @@ -431,6 +459,8 @@ export class HeritiersActor extends Actor { if (dataType) { if (dataType.toLowerCase() == "number") { value = Number(value) + } else if (dataType.toLowerCase() == "boolean") { + value = Boolean(value) } else { value = String(value) } diff --git a/packs/archetypes-fees/000318.log b/packs/archetypes-fees/000330.log similarity index 100% rename from packs/archetypes-fees/000318.log rename to packs/archetypes-fees/000330.log diff --git a/packs/archetypes-fees/CURRENT b/packs/archetypes-fees/CURRENT index e90c1f7..6926645 100644 --- a/packs/archetypes-fees/CURRENT +++ b/packs/archetypes-fees/CURRENT @@ -1 +1 @@ -MANIFEST-000316 +MANIFEST-000328 diff --git a/packs/archetypes-fees/LOG b/packs/archetypes-fees/LOG index e11cdd8..b95b7cd 100644 --- a/packs/archetypes-fees/LOG +++ b/packs/archetypes-fees/LOG @@ -1,8 +1,8 @@ -2026/01/12-15:54:43.852904 7f86553fd6c0 Recovering log #314 -2026/01/12-15:54:43.863656 7f86553fd6c0 Delete type=3 #312 -2026/01/12-15:54:43.863728 7f86553fd6c0 Delete type=0 #314 -2026/01/12-15:56:47.716964 7f864ffff6c0 Level-0 table #319: started -2026/01/12-15:56:47.716995 7f864ffff6c0 Level-0 table #319: 0 bytes OK -2026/01/12-15:56:47.723316 7f864ffff6c0 Delete type=0 #317 -2026/01/12-15:56:47.743760 7f864ffff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) -2026/01/12-15:56:47.743829 7f864ffff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/18-18:27:55.403859 7f14d9ffb6c0 Recovering log #326 +2026/01/18-18:27:55.415077 7f14d9ffb6c0 Delete type=3 #324 +2026/01/18-18:27:55.415147 7f14d9ffb6c0 Delete type=0 #326 +2026/01/18-18:38:05.662645 7f1243fff6c0 Level-0 table #331: started +2026/01/18-18:38:05.662677 7f1243fff6c0 Level-0 table #331: 0 bytes OK +2026/01/18-18:38:05.668675 7f1243fff6c0 Delete type=0 #329 +2026/01/18-18:38:05.688774 7f1243fff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/18-18:38:05.688813 7f1243fff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) diff --git a/packs/archetypes-fees/LOG.old b/packs/archetypes-fees/LOG.old index b91f03e..326eebf 100644 --- a/packs/archetypes-fees/LOG.old +++ b/packs/archetypes-fees/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-22:45:42.655574 7fd463fff6c0 Recovering log #310 -2026/01/10-22:45:42.666271 7fd463fff6c0 Delete type=0 #310 -2026/01/10-22:45:42.666327 7fd463fff6c0 Delete type=3 #308 -2026/01/10-22:49:23.124832 7fd4627fc6c0 Level-0 table #315: started -2026/01/10-22:49:23.124856 7fd4627fc6c0 Level-0 table #315: 0 bytes OK -2026/01/10-22:49:23.132096 7fd4627fc6c0 Delete type=0 #313 -2026/01/10-22:49:23.151717 7fd4627fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) -2026/01/10-22:49:23.151765 7fd4627fc6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/18-13:40:02.717676 7f14d97fa6c0 Recovering log #322 +2026/01/18-13:40:02.727868 7f14d97fa6c0 Delete type=3 #320 +2026/01/18-13:40:02.727949 7f14d97fa6c0 Delete type=0 #322 +2026/01/18-13:50:59.462465 7f1243fff6c0 Level-0 table #327: started +2026/01/18-13:50:59.462495 7f1243fff6c0 Level-0 table #327: 0 bytes OK +2026/01/18-13:50:59.468859 7f1243fff6c0 Delete type=0 #325 +2026/01/18-13:50:59.481123 7f1243fff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/18-13:50:59.481156 7f1243fff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) diff --git a/packs/archetypes-fees/MANIFEST-000316 b/packs/archetypes-fees/MANIFEST-000328 similarity index 73% rename from packs/archetypes-fees/MANIFEST-000316 rename to packs/archetypes-fees/MANIFEST-000328 index c62cdb6fb403035854a6a111fb852a97b553082f..c185de85f1b711f165b7f970075c3585e91f5f79 100644 GIT binary patch delta 41 scmZ3-xQ=l`kCItLHZvCkBhyJHP6p;vOf0cU2Os?d37i56oB;{|0PJcC!2kdN delta 41 rcmZ3-xQ=l`kJ9<-sa#wPj7)o(I2oAtF|owjT=xSD>;nlL015yA@m>k$ diff --git a/packs/armes-et-protection/000318.log b/packs/armes-et-protection/000330.log similarity index 100% rename from packs/armes-et-protection/000318.log rename to packs/armes-et-protection/000330.log diff --git a/packs/armes-et-protection/CURRENT b/packs/armes-et-protection/CURRENT index e90c1f7..6926645 100644 --- a/packs/armes-et-protection/CURRENT +++ b/packs/armes-et-protection/CURRENT @@ -1 +1 @@ -MANIFEST-000316 +MANIFEST-000328 diff --git a/packs/armes-et-protection/LOG b/packs/armes-et-protection/LOG index e6c863e..cbd0410 100644 --- a/packs/armes-et-protection/LOG +++ b/packs/armes-et-protection/LOG @@ -1,8 +1,8 @@ -2026/01/12-15:54:43.880875 7f86563ff6c0 Recovering log #314 -2026/01/12-15:54:43.891289 7f86563ff6c0 Delete type=3 #312 -2026/01/12-15:54:43.891367 7f86563ff6c0 Delete type=0 #314 -2026/01/12-15:56:47.750686 7f864ffff6c0 Level-0 table #319: started -2026/01/12-15:56:47.750713 7f864ffff6c0 Level-0 table #319: 0 bytes OK -2026/01/12-15:56:47.757143 7f864ffff6c0 Delete type=0 #317 -2026/01/12-15:56:47.770474 7f864ffff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) -2026/01/12-15:56:47.770509 7f864ffff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/18-18:27:55.431287 7f14d8ff96c0 Recovering log #326 +2026/01/18-18:27:55.442072 7f14d8ff96c0 Delete type=3 #324 +2026/01/18-18:27:55.442129 7f14d8ff96c0 Delete type=0 #326 +2026/01/18-18:38:05.688904 7f1243fff6c0 Level-0 table #331: started +2026/01/18-18:38:05.688955 7f1243fff6c0 Level-0 table #331: 0 bytes OK +2026/01/18-18:38:05.694950 7f1243fff6c0 Delete type=0 #329 +2026/01/18-18:38:05.715560 7f1243fff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/18-18:38:05.715618 7f1243fff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) diff --git a/packs/armes-et-protection/LOG.old b/packs/armes-et-protection/LOG.old index 6b05ecd..4a21eaf 100644 --- a/packs/armes-et-protection/LOG.old +++ b/packs/armes-et-protection/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-22:45:42.682529 7fd478fff6c0 Recovering log #310 -2026/01/10-22:45:42.692944 7fd478fff6c0 Delete type=0 #310 -2026/01/10-22:45:42.692994 7fd478fff6c0 Delete type=3 #308 -2026/01/10-22:49:23.158820 7fd4627fc6c0 Level-0 table #315: started -2026/01/10-22:49:23.158855 7fd4627fc6c0 Level-0 table #315: 0 bytes OK -2026/01/10-22:49:23.164806 7fd4627fc6c0 Delete type=0 #313 -2026/01/10-22:49:23.178845 7fd4627fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) -2026/01/10-22:49:23.178875 7fd4627fc6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/18-13:40:02.744597 7f14d8ff96c0 Recovering log #322 +2026/01/18-13:40:02.755034 7f14d8ff96c0 Delete type=3 #320 +2026/01/18-13:40:02.755106 7f14d8ff96c0 Delete type=0 #322 +2026/01/18-13:50:59.481276 7f1243fff6c0 Level-0 table #327: started +2026/01/18-13:50:59.481303 7f1243fff6c0 Level-0 table #327: 0 bytes OK +2026/01/18-13:50:59.488586 7f1243fff6c0 Delete type=0 #325 +2026/01/18-13:50:59.508527 7f1243fff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/18-13:50:59.508594 7f1243fff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) diff --git a/packs/armes-et-protection/MANIFEST-000316 b/packs/armes-et-protection/MANIFEST-000328 similarity index 72% rename from packs/armes-et-protection/MANIFEST-000316 rename to packs/armes-et-protection/MANIFEST-000328 index a9b697fcfd8694157da724bb84629437b94f5d0d..dd91b72284ed81717b5413f40e665c54881186bd 100644 GIT binary patch delta 43 tcmdnMxPfs(k4m=B2?cHjMy8WYoD9sTm{@Kwdfd@|0}?p}5;+4B0RR#T3!DG| delta 43 tcmdnMxPfs(kIJ)W#hu&?j7)o(I2oAtF|piW%;|X-0}|N>5;*`80RT9I44eP} diff --git a/packs/atouts-feeriques/000318.log b/packs/atouts-feeriques/000330.log similarity index 100% rename from packs/atouts-feeriques/000318.log rename to packs/atouts-feeriques/000330.log diff --git a/packs/atouts-feeriques/CURRENT b/packs/atouts-feeriques/CURRENT index e90c1f7..6926645 100644 --- a/packs/atouts-feeriques/CURRENT +++ b/packs/atouts-feeriques/CURRENT @@ -1 +1 @@ -MANIFEST-000316 +MANIFEST-000328 diff --git a/packs/atouts-feeriques/LOG b/packs/atouts-feeriques/LOG index c75a905..a0e9ac8 100644 --- a/packs/atouts-feeriques/LOG +++ b/packs/atouts-feeriques/LOG @@ -1,8 +1,8 @@ -2026/01/12-15:54:43.825557 7f86563ff6c0 Recovering log #314 -2026/01/12-15:54:43.835278 7f86563ff6c0 Delete type=3 #312 -2026/01/12-15:54:43.835357 7f86563ff6c0 Delete type=0 #314 -2026/01/12-15:56:47.730195 7f864ffff6c0 Level-0 table #319: started -2026/01/12-15:56:47.730232 7f864ffff6c0 Level-0 table #319: 0 bytes OK -2026/01/12-15:56:47.736637 7f864ffff6c0 Delete type=0 #317 -2026/01/12-15:56:47.743801 7f864ffff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) -2026/01/12-15:56:47.743840 7f864ffff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/18-18:27:55.377391 7f14d8ff96c0 Recovering log #326 +2026/01/18-18:27:55.387081 7f14d8ff96c0 Delete type=3 #324 +2026/01/18-18:27:55.387169 7f14d8ff96c0 Delete type=0 #326 +2026/01/18-18:38:05.668760 7f1243fff6c0 Level-0 table #331: started +2026/01/18-18:38:05.668791 7f1243fff6c0 Level-0 table #331: 0 bytes OK +2026/01/18-18:38:05.674608 7f1243fff6c0 Delete type=0 #329 +2026/01/18-18:38:05.688786 7f1243fff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/18-18:38:05.688839 7f1243fff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) diff --git a/packs/atouts-feeriques/LOG.old b/packs/atouts-feeriques/LOG.old index 3660484..c2ace28 100644 --- a/packs/atouts-feeriques/LOG.old +++ b/packs/atouts-feeriques/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-22:45:42.628622 7fd462ffd6c0 Recovering log #310 -2026/01/10-22:45:42.638290 7fd462ffd6c0 Delete type=0 #310 -2026/01/10-22:45:42.638350 7fd462ffd6c0 Delete type=3 #308 -2026/01/10-22:49:23.132234 7fd4627fc6c0 Level-0 table #315: started -2026/01/10-22:49:23.132271 7fd4627fc6c0 Level-0 table #315: 0 bytes OK -2026/01/10-22:49:23.138271 7fd4627fc6c0 Delete type=0 #313 -2026/01/10-22:49:23.151732 7fd4627fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) -2026/01/10-22:49:23.151774 7fd4627fc6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/18-13:40:02.692062 7f14d9ffb6c0 Recovering log #322 +2026/01/18-13:40:02.701779 7f14d9ffb6c0 Delete type=3 #320 +2026/01/18-13:40:02.701870 7f14d9ffb6c0 Delete type=0 #322 +2026/01/18-13:50:59.455295 7f1243fff6c0 Level-0 table #327: started +2026/01/18-13:50:59.455336 7f1243fff6c0 Level-0 table #327: 0 bytes OK +2026/01/18-13:50:59.462356 7f1243fff6c0 Delete type=0 #325 +2026/01/18-13:50:59.481111 7f1243fff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/18-13:50:59.481149 7f1243fff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) diff --git a/packs/atouts-feeriques/MANIFEST-000316 b/packs/atouts-feeriques/MANIFEST-000328 similarity index 72% rename from packs/atouts-feeriques/MANIFEST-000316 rename to packs/atouts-feeriques/MANIFEST-000328 index 967bc5b0ef078e99dc3305c72d041a05ec6c8b14..74fe76661655518a122e874460ab72f3b2cc1fbb 100644 GIT binary patch delta 43 tcmdnMxPfs(k4ohN*$dnZj7%q)I2o8vF|nLxmJ;~22PAR|Byt8M0st4<3z7f; delta 43 scmdnMxPfs(kBW%!rf_ZsMy9pNf<7$B*0$j7;a5I2o8PFtPk+x_8LO93*l9BytHP0st|i47vaS delta 43 tcmdnQxQTH>pUNT&+k9>YMyA6|oD9rIm{|TZ1-R|z2ZxRG%}ugaeNip<;$j7+VJoD9ruj4UTv7w)|L2qe-566pYm000gn3q=3` delta 39 qcmdnUxR!B3ufp|?BP%!=7?~jd`86&EMyB0NoD9r+ Tm{=Gx`&qj|0((FL`+x!fMbH!_ diff --git a/packs/profils/MANIFEST-000326 b/packs/profils/MANIFEST-000326 new file mode 100644 index 0000000000000000000000000000000000000000..13d95082a532e1f0816a2305b4bf2d2a4e3719f6 GIT binary patch literal 69 zcmWIhx#Ncn10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAe$k2}Pa3!w7@3YUaWXKU UU}9kqaQWQ?5;y@8I0X~{0B-UXtN;K2 literal 0 HcmV?d00001 diff --git a/packs/scenes/000287.log b/packs/scenes/000299.log similarity index 100% rename from packs/scenes/000287.log rename to packs/scenes/000299.log diff --git a/packs/scenes/CURRENT b/packs/scenes/CURRENT index 0ae338f..4e9b3d7 100644 --- a/packs/scenes/CURRENT +++ b/packs/scenes/CURRENT @@ -1 +1 @@ -MANIFEST-000285 +MANIFEST-000297 diff --git a/packs/scenes/LOG b/packs/scenes/LOG index 5e0aeb5..5d1e2e1 100644 --- a/packs/scenes/LOG +++ b/packs/scenes/LOG @@ -1,8 +1,8 @@ -2026/01/12-15:54:43.913825 7f8655bfe6c0 Recovering log #283 -2026/01/12-15:54:43.924275 7f8655bfe6c0 Delete type=3 #281 -2026/01/12-15:54:43.924379 7f8655bfe6c0 Delete type=0 #283 -2026/01/12-15:56:47.763984 7f864ffff6c0 Level-0 table #288: started -2026/01/12-15:56:47.764019 7f864ffff6c0 Level-0 table #288: 0 bytes OK -2026/01/12-15:56:47.770343 7f864ffff6c0 Delete type=0 #286 -2026/01/12-15:56:47.770494 7f864ffff6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) -2026/01/12-15:56:47.770523 7f864ffff6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) +2026/01/18-18:27:55.457108 7f14d97fa6c0 Recovering log #295 +2026/01/18-18:27:55.467205 7f14d97fa6c0 Delete type=3 #293 +2026/01/18-18:27:55.467264 7f14d97fa6c0 Delete type=0 #295 +2026/01/18-18:38:05.708749 7f1243fff6c0 Level-0 table #300: started +2026/01/18-18:38:05.708779 7f1243fff6c0 Level-0 table #300: 0 bytes OK +2026/01/18-18:38:05.715344 7f1243fff6c0 Delete type=0 #298 +2026/01/18-18:38:05.715610 7f1243fff6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) +2026/01/18-18:38:05.715651 7f1243fff6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/LOG.old b/packs/scenes/LOG.old index 5780726..507316a 100644 --- a/packs/scenes/LOG.old +++ b/packs/scenes/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-22:45:42.708376 7fd462ffd6c0 Recovering log #279 -2026/01/10-22:45:42.718470 7fd462ffd6c0 Delete type=0 #279 -2026/01/10-22:45:42.718531 7fd462ffd6c0 Delete type=3 #277 -2026/01/10-22:49:23.171028 7fd4627fc6c0 Level-0 table #284: started -2026/01/10-22:49:23.171062 7fd4627fc6c0 Level-0 table #284: 0 bytes OK -2026/01/10-22:49:23.178682 7fd4627fc6c0 Delete type=0 #282 -2026/01/10-22:49:23.178868 7fd4627fc6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) -2026/01/10-22:49:23.178891 7fd4627fc6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) +2026/01/18-13:40:02.771081 7f14d8ff96c0 Recovering log #291 +2026/01/18-13:40:02.780754 7f14d8ff96c0 Delete type=3 #289 +2026/01/18-13:40:02.780821 7f14d8ff96c0 Delete type=0 #291 +2026/01/18-13:50:59.501837 7f1243fff6c0 Level-0 table #296: started +2026/01/18-13:50:59.501871 7f1243fff6c0 Level-0 table #296: 0 bytes OK +2026/01/18-13:50:59.508335 7f1243fff6c0 Delete type=0 #294 +2026/01/18-13:50:59.508585 7f1243fff6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) +2026/01/18-13:50:59.508617 7f1243fff6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/MANIFEST-000285 b/packs/scenes/MANIFEST-000297 similarity index 72% rename from packs/scenes/MANIFEST-000285 rename to packs/scenes/MANIFEST-000297 index ca3618aebf20c86532905304fcbb6665ac43d344..af5ca837c250772ecb4ddb6ccbdb8c039fc04b3c 100644 GIT binary patch delta 41 rcmdnMxPfs(pHdHt#5yhpMy6FvoD9sXnOH=mQ&QAG0;@p+Yk>j)&DRJS delta 41 scmdnMxPfs(pVHdjwnbbFj7;;GI2oAdGqH#;p8l8%5||GXSO^pV0R49g3jhEB diff --git a/templates/item-competence-sheet.hbs b/templates/item-competence-sheet.hbs index f971b9a..1a22026 100644 --- a/templates/item-competence-sheet.hbs +++ b/templates/item-competence-sheet.hbs @@ -80,13 +80,13 @@ {{#each system.specialites as |specialite key|}}
  • + data-dtype="String" />
  • + data-dtype="String">{{specialite.description}}

  • {{/each}} diff --git a/templates/partial-utile-skills.hbs b/templates/partial-utile-skills.hbs index a616e9e..fd63ece 100644 --- a/templates/partial-utile-skills.hbs +++ b/templates/partial-utile-skills.hbs @@ -8,21 +8,19 @@ {{else}} - -

    -
    +

    {{/if}} + {{#if isPNJ}} - {{#if isPNJ}} - {{/if}}
     
    + {{/if}} {{#each skillDef.skills as |skill key|}}
  • @@ -32,7 +30,7 @@ value="{{skill.system.niveau}}" data-dtype="Number"> {{selectOptions @root.config.listNiveau selected=skill.system.niveau}} -