From b1bce86604d3182ae3171d957b43d176324c8a43 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sat, 10 Jan 2026 22:49:38 +0100 Subject: [PATCH] Migration vers DataModels et appv2 --- modules/heritiers-actor-pnj-sheet.js | 26 - modules/heritiers-actor-sheet.js | 277 ----- modules/heritiers-item-sheet.js | 217 ---- modules/heritiers-roll-dialog.js | 146 --- modules/heritiers-utility.js | 2 +- .../{000310.log => 000314.log} | 0 packs/archetypes-fees/CURRENT | 2 +- packs/archetypes-fees/LOG | 16 +- packs/archetypes-fees/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 174 -> 174 bytes .../{000310.log => 000314.log} | 0 packs/armes-et-protection/CURRENT | 2 +- packs/armes-et-protection/LOG | 16 +- packs/armes-et-protection/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 176 -> 176 bytes .../{000310.log => 000314.log} | 0 packs/atouts-feeriques/CURRENT | 2 +- packs/atouts-feeriques/LOG | 16 +- packs/atouts-feeriques/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 176 -> 176 bytes packs/avantages/{000310.log => 000314.log} | 0 packs/avantages/CURRENT | 2 +- packs/avantages/LOG | 16 +- packs/avantages/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 176 -> 176 bytes packs/capacites/{000310.log => 000314.log} | 0 packs/capacites/CURRENT | 2 +- packs/capacites/LOG | 16 +- packs/capacites/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 174 -> 174 bytes packs/competences/{000316.log => 000320.log} | 0 packs/competences/CURRENT | 2 +- packs/competences/LOG | 16 +- packs/competences/LOG.old | 16 +- .../{MANIFEST-000314 => MANIFEST-000318} | Bin 178 -> 178 bytes packs/desavantages/{000310.log => 000314.log} | 0 packs/desavantages/CURRENT | 2 +- packs/desavantages/LOG | 16 +- packs/desavantages/LOG.old | 16 +- .../{MANIFEST-000308 => MANIFEST-000312} | Bin 176 -> 176 bytes packs/journaux/{000028.log => 000032.log} | 0 packs/journaux/CURRENT | 2 +- packs/journaux/LOG | 16 +- packs/journaux/LOG.old | 16 +- .../{MANIFEST-000026 => MANIFEST-000030} | Bin 161 -> 161 bytes packs/magie-sorts/{000114.log => 000118.log} | 0 packs/magie-sorts/CURRENT | 2 +- packs/magie-sorts/LOG | 16 +- packs/magie-sorts/LOG.old | 16 +- .../{MANIFEST-000112 => MANIFEST-000116} | Bin 173 -> 173 bytes packs/pouvoirs/{000311.log => 000315.log} | 0 packs/pouvoirs/CURRENT | 2 +- packs/pouvoirs/LOG | 16 +- packs/pouvoirs/LOG.old | 16 +- .../{MANIFEST-000309 => MANIFEST-000313} | Bin 176 -> 176 bytes packs/profils/{000308.log => 000312.log} | 0 packs/profils/CURRENT | 2 +- packs/profils/LOG | 14 +- packs/profils/LOG.old | 14 +- packs/profils/MANIFEST-000306 | Bin 69 -> 0 bytes packs/profils/MANIFEST-000310 | Bin 0 -> 69 bytes packs/scenes/{000279.log => 000283.log} | 0 packs/scenes/CURRENT | 2 +- packs/scenes/LOG | 16 +- packs/scenes/LOG.old | 16 +- .../{MANIFEST-000277 => MANIFEST-000281} | Bin 176 -> 176 bytes templates/actor-pnj-sheet.hbs | 22 +- templates/actor-pnj-sheet.hbs.backup | 547 ---------- templates/actor-pnj-sheet.html | 547 ---------- templates/actor-sheet.hbs | 4 +- templates/actor-sheet.hbs.backup | 948 ------------------ templates/actor-sheet.html | 948 ------------------ templates/chat-assommer-result.html | 30 - templates/chat-cc-result.html | 43 - templates/chat-generic-result-old.hbs | 176 ---- templates/chat-generic-result.html | 145 --- templates/editor-notes-gm.html | 6 - .../item-accessoire-sheet_deprecated.html | 40 - templates/item-arme-sheet_deprecated.html | 121 --- .../item-atoutfeerique-sheet_deprecated.html | 20 - templates/item-avantage-sheet_deprecated.html | 22 - ...em-capacitenaturelle-sheet_deprecated.html | 81 -- .../item-competence-sheet_deprecated.html | 104 -- templates/item-contact-sheet_deprecated.html | 40 - .../item-desavantage-sheet_deprecated.html | 22 - .../item-equipement-sheet_deprecated.html | 40 - templates/item-fee-sheet_deprecated.html | 79 -- templates/item-pouvoir-sheet_deprecated.html | 159 --- templates/item-profil-sheet_deprecated.html | 26 - .../item-protection-sheet_deprecated.html | 64 -- templates/item-sort-sheet_deprecated.html | 136 --- templates/partial-item-description.html | 5 - templates/partial-item-header.html | 8 - templates/partial-item-nav.html | 5 - templates/post-item.html | 8 - templates/roll-dialog-generic.html | 168 ---- 96 files changed, 216 insertions(+), 5420 deletions(-) delete mode 100644 modules/heritiers-actor-pnj-sheet.js delete mode 100644 modules/heritiers-actor-sheet.js delete mode 100644 modules/heritiers-item-sheet.js delete mode 100644 modules/heritiers-roll-dialog.js rename packs/archetypes-fees/{000310.log => 000314.log} (100%) rename packs/archetypes-fees/{MANIFEST-000308 => MANIFEST-000312} (73%) rename packs/armes-et-protection/{000310.log => 000314.log} (100%) rename packs/armes-et-protection/{MANIFEST-000308 => MANIFEST-000312} (72%) rename packs/atouts-feeriques/{000310.log => 000314.log} (100%) rename packs/atouts-feeriques/{MANIFEST-000308 => MANIFEST-000312} (72%) rename packs/avantages/{000310.log => 000314.log} (100%) rename packs/avantages/{MANIFEST-000308 => MANIFEST-000312} (72%) rename packs/capacites/{000310.log => 000314.log} (100%) rename packs/capacites/{MANIFEST-000308 => MANIFEST-000312} (73%) rename packs/competences/{000316.log => 000320.log} (100%) rename packs/competences/{MANIFEST-000314 => MANIFEST-000318} (71%) rename packs/desavantages/{000310.log => 000314.log} (100%) rename packs/desavantages/{MANIFEST-000308 => MANIFEST-000312} (72%) rename packs/journaux/{000028.log => 000032.log} (100%) rename packs/journaux/{MANIFEST-000026 => MANIFEST-000030} (79%) rename packs/magie-sorts/{000114.log => 000118.log} (100%) rename packs/magie-sorts/{MANIFEST-000112 => MANIFEST-000116} (73%) rename packs/pouvoirs/{000311.log => 000315.log} (100%) rename packs/pouvoirs/{MANIFEST-000309 => MANIFEST-000313} (72%) rename packs/profils/{000308.log => 000312.log} (100%) delete mode 100644 packs/profils/MANIFEST-000306 create mode 100644 packs/profils/MANIFEST-000310 rename packs/scenes/{000279.log => 000283.log} (100%) rename packs/scenes/{MANIFEST-000277 => MANIFEST-000281} (72%) delete mode 100644 templates/actor-pnj-sheet.hbs.backup delete mode 100644 templates/actor-pnj-sheet.html delete mode 100644 templates/actor-sheet.hbs.backup delete mode 100644 templates/actor-sheet.html delete mode 100644 templates/chat-assommer-result.html delete mode 100644 templates/chat-cc-result.html delete mode 100644 templates/chat-generic-result-old.hbs delete mode 100644 templates/chat-generic-result.html delete mode 100644 templates/editor-notes-gm.html delete mode 100644 templates/item-accessoire-sheet_deprecated.html delete mode 100644 templates/item-arme-sheet_deprecated.html delete mode 100644 templates/item-atoutfeerique-sheet_deprecated.html delete mode 100644 templates/item-avantage-sheet_deprecated.html delete mode 100644 templates/item-capacitenaturelle-sheet_deprecated.html delete mode 100644 templates/item-competence-sheet_deprecated.html delete mode 100644 templates/item-contact-sheet_deprecated.html delete mode 100644 templates/item-desavantage-sheet_deprecated.html delete mode 100644 templates/item-equipement-sheet_deprecated.html delete mode 100644 templates/item-fee-sheet_deprecated.html delete mode 100644 templates/item-pouvoir-sheet_deprecated.html delete mode 100644 templates/item-profil-sheet_deprecated.html delete mode 100644 templates/item-protection-sheet_deprecated.html delete mode 100644 templates/item-sort-sheet_deprecated.html delete mode 100644 templates/partial-item-description.html delete mode 100644 templates/partial-item-header.html delete mode 100644 templates/partial-item-nav.html delete mode 100644 templates/post-item.html delete mode 100644 templates/roll-dialog-generic.html diff --git a/modules/heritiers-actor-pnj-sheet.js b/modules/heritiers-actor-pnj-sheet.js deleted file mode 100644 index a7cba87..0000000 --- a/modules/heritiers-actor-pnj-sheet.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { HeritiersActorSheet } from "./heritiers-actor-sheet.js"; -import { HeritiersUtility } from "./heritiers-utility.js"; - -/* -------------------------------------------- */ -export class HeritiersActorPNJSheet extends HeritiersActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-les-heritiers", "sheet", "actor"], - template: "systems/fvtt-les-heritiers/templates/actor-pnj-sheet.html", - width: 780, - height: 840, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - -} diff --git a/modules/heritiers-actor-sheet.js b/modules/heritiers-actor-sheet.js deleted file mode 100644 index bd6f847..0000000 --- a/modules/heritiers-actor-sheet.js +++ /dev/null @@ -1,277 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { HeritiersUtility } from "./heritiers-utility.js"; - -/* -------------------------------------------- */ -export class HeritiersActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-les-heritiers", "sheet", "actor"], - template: "systems/fvtt-les-heritiers/templates/actor-sheet.html", - width: 780, - height: 840, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - utileSkillsMental: this.actor.organizeUtileSkills("mental"), - utileSkillsPhysical: this.actor.organizeUtileSkills("physical"), - competencesMagie: HeritiersUtility.getCompetencesMagie(), - futileSkills: this.actor.organizeFutileSkills(), - contacts: this.actor.organizeContacts(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - pouvoirs: foundry.utils.duplicate(this.actor.getPouvoirs()), - fee: foundry.utils.duplicate(this.actor.getFee() || {}), - protections: foundry.utils.duplicate(this.actor.getArmors()), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - avantages: foundry.utils.duplicate(this.actor.getAvantages()), - atouts: foundry.utils.duplicate(this.actor.getAtouts()), - capacites: foundry.utils.duplicate(this.actor.getCapacites()), - desavantages: foundry.utils.duplicate(this.actor.getDesavantages()), - profils: foundry.utils.duplicate(this.actor.getProfils()), - pvMalus: this.actor.getPvMalus(), - heritage: game.settings.get("fvtt-les-heritiers", "heritiers-heritage"), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - revesetranges: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.revesetranges, { async: true }), - secretsdecouverts: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.secretsdecouverts, { async: true }), - questions: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.questions, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - playernotes: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.playernotes, { async: true }), - magieList: this.actor.prepareMagie(), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - config: game.system.lesheritiers.config, - isGM: game.user.isGM, - isPNJ: (this.actor.type == "pnj") - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - dialogRecupUsage() { - new Dialog({ - title: "Récupération des Points d'Usage", - content: "

Combien de Points d'Usage souhaitez-vous récupérer ?

", - buttons: { - one: { - icon: '', - label: "1 Point", - callback: () => { - this.actor.recupUsage(1) - } - }, - two: { - icon: '', - label: "2 Points", - callback: () => { - this.actor.recupUsage(2) - } - }, - four: { - icon: '', - label: "4 Points", - callback: () => { - this.actor.recupUsage(4) - } - }, - all: { - icon: '', - label: "Tous les Points", - callback: () => { - this.actor.recupUsage(100) - } - } - } - }).render(true) - } - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - HeritiersUtility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('[data-action="quantityIncrease"]').click(event => { - event.preventDefault() - event.stopPropagation() - const li = $(event.currentTarget).parents(".item") - this.actor.incDecQuantity(li.data("item-id"), 1); - }) - - html.find('[data-action="quantityDecrease"]').click(event => { - event.preventDefault() - event.stopPropagation() - const li = $(event.currentTarget).parents(".item") - this.actor.incDecQuantity(li.data("item-id"), -1); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollInitiative() - }) - - html.find('.roll-carac').click((event) => { - const key = $(event.currentTarget).data("key") - this.actor.rollCarac(key, false) - }) - html.find('.roll-rang').click((event) => { - const key = $(event.currentTarget).data("rang-key") - this.actor.rollRang(key, false) - }) - html.find('.roll-root-competence').click((event) => { - const compKey = $(event.currentTarget).data("attr-key") - this.actor.rollRootCompetence(compKey) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let compId = li.data("item-id") - this.actor.rollCompetence(compId) - }) - html.find('.roll-sort').click((event) => { - const li = $(event.currentTarget).parents(".item") - let sortId = li.data("item-id") - this.actor.rollSort(sortId) - }) - html.find('.roll-attaque-arme').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollAttaqueArme(armeId) - }) - html.find('.roll-attaque-brutale-arme').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollAttaqueBrutaleArme(armeId) - }) - html.find('.roll-attaque-charge-arme').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollAttaqueChargeArme(armeId) - }) - html.find('.roll-assomer-arme').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollAssomerArme(armeId) - }) - - html.find('.roll-pouvoir').click((event) => { - const li = $(event.currentTarget).parents(".item") - let pouvoirId = li.data("item-id") - this.actor.rollPouvoir(pouvoirId) - }) - html.find('.dialog-recup-usage').click((event) => { - this.dialogRecupUsage() - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - if (itemType == "sort") { - // Get data-sort-competence - let sortCompetence = $(event.currentTarget).data("sort-competence"); - if (sortCompetence) { - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType} de ${sortCompetence}`, type: itemType, system: { competence: sortCompetence } }], { renderSheet: true }) - return - } - } - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - /*async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse( data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await HeritiersUtility.searchItem(item) - } - super._onDropItem(event, dragData) - }*/ - -} diff --git a/modules/heritiers-item-sheet.js b/modules/heritiers-item-sheet.js deleted file mode 100644 index 78896e0..0000000 --- a/modules/heritiers-item-sheet.js +++ /dev/null @@ -1,217 +0,0 @@ -import { HeritiersUtility } from "./heritiers-utility.js"; - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-les-heritiers", "sheet", "item"], - dragDrop: [{ dragSelector: null, dropSelector: null }], - width: 620, - height: 550, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }] - }); - } - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - // Add "Post to chat" button - // We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry! - buttons.unshift( - { - class: "post", - icon: "fas fa-comment", - onclick: ev => { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - config: game.system.lesheritiers.config, - isArmeMelee: HeritiersUtility.isArmeMelee(this.object), - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, { async: true }), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - usageMax: -1 - } - - // Items specific data - if (this.object.type == 'pouvoir' && this.document.isOwner && this.actor) { - formData.usageMax = this.actor.getPouvoirUsageMax(this.object) - if (this.object.system.pointsusagecourant == -1) { - this.object.system.pointsusagecourant = formData.usageMax - } - } - if (this.object.type == 'sort') { - formData.competencesMagie = HeritiersUtility.getCompetencesMagie() - } - - - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(HeritiersUtility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-Heritiers-rpg/templates/post-item.html', chatData).then(html => { - let chatOptions = HeritiersUtility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - - html.find('#add-specialite').click(ev => { - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - spec.push({ name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false }) - this.item.update({ 'system.specialites': spec }) - }) - html.find('.delete-specialite').click(ev => { - const li = $(ev.currentTarget).parents(".specialite-item") - let index = li.data("specialite-index") - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - spec.splice(index, 1) - this.item.update({ 'system.specialites': spec }) - }) - html.find('.edit-specialite').change(ev => { - const li = $(ev.currentTarget).parents(".specialite-item") - let index = li.data("specialite-index") - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - if (spec[index]) { - spec[index].name = ev.currentTarget.value - spec[index].id = spec[index].id || foundry.utils.randomID(16) - this.item.update({ 'system.specialites': spec }) - } - }) - html.find('.edit-specialite-description').change(ev => { - const li = $(ev.currentTarget).parents(".specialite-item") - let index = li.data("specialite-index") - let spec = foundry.utils.duplicate(this.item.system.specialites) || [] - if (spec[index]) { - spec[index].description = ev.currentTarget.value - spec[index].id = spec[index].id || foundry.utils.randomID(16) - this.item.update({ 'system.specialites': spec }) - } - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push({ eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: foundry.utils.randomID(16) }) - this.object.update({ 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index, 1) - this.object.update({ 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || foundry.utils.randomID(16) - this.object.update({ 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-les-heritiers/templates/item-${type}-sheet.hbs`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/modules/heritiers-roll-dialog.js b/modules/heritiers-roll-dialog.js deleted file mode 100644 index 50a27dd..0000000 --- a/modules/heritiers-roll-dialog.js +++ /dev/null @@ -1,146 +0,0 @@ -import { HeritiersUtility } from "./heritiers-utility.js"; - -export class HeritiersRollDialog extends Dialog { - - /* -------------------------------------------- */ - static async create(actor, rollData) { - - let options = { classes: ["HeritiersDialog"], width: 420, height: 'fit-content', 'z-index': 99999 }; - let html = await foundry.applications.handlebars.renderTemplate('systems/fvtt-les-heritiers/templates/roll-dialog-generic.html', rollData); - - return new HeritiersRollDialog(actor, rollData, html, options); - } - - /* -------------------------------------------- */ - constructor(actor, rollData, html, options, close = undefined) { - let buttons = { - rolld8: { - icon: '', - label: "Lancer 1d8", - callback: () => { this.roll("d8") } - } - } - let enableD10 = false - let enableD12 = false - if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 0) { - enableD10 = true - } - if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 1) { - enableD12 = true - } - if (enableD10) { - buttons.rolld10 = { - icon: '', - label: "Lancer 1d10", - callback: () => { this.roll("d10") } - } - } - if (enableD12) { - buttons.rolld12 = { - icon: '', - label: "Lancer 1d12", - callback: () => { this.roll("d12") } - } - } - - if (rollData.tricherie) { - buttons["rollTricherie"] = { - icon: '', - label: "Avec 1 Tricherie", - callback: () => { this.roll("tricherie") } - } - } - if (rollData.heritage) { - buttons["rollHeritage"] = { - icon: '', - label: "Avec 1 Héritage", - callback: () => { this.roll("heritage") } - } - } - buttons["Cancel"] = { - icon: '', - label: "Annuler", - callback: () => { this.close() } - } - let conf = { - title: "Test de Capacité", - content: html, - buttons: buttons, - close: close - } - // Overwrite in case of carac only -> 1d8 - if (rollData.mode == "carac") { - conf.buttons = { - rolld8: { - icon: '', - label: "Lancer 1d8", - callback: () => { this.roll("d8") } - }, - cancel: { - icon: '', - label: "Annuler", - callback: () => { this.close() } - } - } - } - super(conf, options); - - this.actor = actor - this.rollData = rollData - } - - /* -------------------------------------------- */ - roll(dice) { - if (dice == "heritage") { - this.rollData.useHeritage = true - } - else { - if (dice == "tricherie") { - this.rollData.useTricherie = true - } else { - this.rollData.mainDice = dice - } - } - HeritiersUtility.rollHeritiers(this.rollData) - } - - - /* -------------------------------------------- */ - activateListeners(html) { - super.activateListeners(html); - - function onLoad() { - } - $(function () { onLoad(); }); - - html.find('#sdValue').change(async (event) => { - this.rollData.sdValue = Number(event.currentTarget.value) - }) - html.find('#caracKey').change(async (event) => { - //console.log("caracKey", event.currentTarget.value) - this.rollData.caracKey = String(event.currentTarget.value) - }) - html.find('#bonus-malus-context').change((event) => { - this.rollData.bonusMalusContext = Number(event.currentTarget.value) - }) - html.find('#bonus-attaque-plusieurs').change((event) => { - this.rollData.bonusAttaquePlusieurs = Number(event.currentTarget.value) - }) - html.find('#useSpecialite').change((event) => { - this.rollData.useSpecialite = event.currentTarget.checked - }) - html.find('#pouvoirPointsUsage').change((event) => { - this.rollData.pouvoirPointsUsage = Number(event.currentTarget.value) - }) - html.find('#attaqueDos').change((event) => { - this.rollData.attaqueDos = event.currentTarget.checked - }) - html.find('#bonus-attaque-seconde-arme').change((event) => { - this.rollData.secondeArme = String(event.currentTarget.value) - }) - html.find('#attaque-cible').change((event) => { - this.rollData.attaqueCible = String(event.currentTarget.value) - }) - - } -} \ No newline at end of file diff --git a/modules/heritiers-utility.js b/modules/heritiers-utility.js index 48c2503..49d7263 100644 --- a/modules/heritiers-utility.js +++ b/modules/heritiers-utility.js @@ -200,7 +200,7 @@ export class HeritiersUtility { static async preloadHandlebarsTemplates() { const templatePaths = [ - 'systems/fvtt-les-heritiers/templates/editor-notes-gm.html', + 'systems/fvtt-les-heritiers/templates/editor-notes-gm.hbs', 'systems/fvtt-les-heritiers/templates/partial-item-header.hbs', 'systems/fvtt-les-heritiers/templates/partial-item-description.hbs', 'systems/fvtt-les-heritiers/templates/partial-item-nav.hbs', diff --git a/packs/archetypes-fees/000310.log b/packs/archetypes-fees/000314.log similarity index 100% rename from packs/archetypes-fees/000310.log rename to packs/archetypes-fees/000314.log diff --git a/packs/archetypes-fees/CURRENT b/packs/archetypes-fees/CURRENT index 43585a4..16e7795 100644 --- a/packs/archetypes-fees/CURRENT +++ b/packs/archetypes-fees/CURRENT @@ -1 +1 @@ -MANIFEST-000308 +MANIFEST-000312 diff --git a/packs/archetypes-fees/LOG b/packs/archetypes-fees/LOG index 8180810..b91f03e 100644 --- a/packs/archetypes-fees/LOG +++ b/packs/archetypes-fees/LOG @@ -1,8 +1,8 @@ -2026/01/10-17:13:21.499762 7fd462ffd6c0 Recovering log #306 -2026/01/10-17:13:21.510831 7fd462ffd6c0 Delete type=3 #304 -2026/01/10-17:13:21.511011 7fd462ffd6c0 Delete type=0 #306 -2026/01/10-22:35:10.944218 7fd4627fc6c0 Level-0 table #311: started -2026/01/10-22:35:10.944249 7fd4627fc6c0 Level-0 table #311: 0 bytes OK -2026/01/10-22:35:10.950116 7fd4627fc6c0 Delete type=0 #309 -2026/01/10-22:35:10.963623 7fd4627fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) -2026/01/10-22:35:10.963688 7fd4627fc6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +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) diff --git a/packs/archetypes-fees/LOG.old b/packs/archetypes-fees/LOG.old index f3288b9..8180810 100644 --- a/packs/archetypes-fees/LOG.old +++ b/packs/archetypes-fees/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-16:36:53.969467 7fd4637fe6c0 Recovering log #302 -2026/01/10-16:36:53.980503 7fd4637fe6c0 Delete type=3 #300 -2026/01/10-16:36:53.980609 7fd4637fe6c0 Delete type=0 #302 -2026/01/10-17:13:09.472065 7fd4627fc6c0 Level-0 table #307: started -2026/01/10-17:13:09.472120 7fd4627fc6c0 Level-0 table #307: 0 bytes OK -2026/01/10-17:13:09.478554 7fd4627fc6c0 Delete type=0 #305 -2026/01/10-17:13:09.492266 7fd4627fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) -2026/01/10-17:13:09.492326 7fd4627fc6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.499762 7fd462ffd6c0 Recovering log #306 +2026/01/10-17:13:21.510831 7fd462ffd6c0 Delete type=3 #304 +2026/01/10-17:13:21.511011 7fd462ffd6c0 Delete type=0 #306 +2026/01/10-22:35:10.944218 7fd4627fc6c0 Level-0 table #311: started +2026/01/10-22:35:10.944249 7fd4627fc6c0 Level-0 table #311: 0 bytes OK +2026/01/10-22:35:10.950116 7fd4627fc6c0 Delete type=0 #309 +2026/01/10-22:35:10.963623 7fd4627fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) +2026/01/10-22:35:10.963688 7fd4627fc6c0 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-000308 b/packs/archetypes-fees/MANIFEST-000312 similarity index 73% rename from packs/archetypes-fees/MANIFEST-000308 rename to packs/archetypes-fees/MANIFEST-000312 index 8c50b2997abfa1a071081c49ea50389d09b396e7..485824e87c4477b2380d3879f1a486b49a4aa54c 100644 GIT binary patch delta 41 scmZ3-xQ=l`j}pr;Vb@0N#KJs{jB1 delta 41 scmZ3-xQ=l`k5a++qPJWOj7(dZI2o9?F|owXapMgE32Xxi>;MV?00)%{djJ3c diff --git a/packs/armes-et-protection/000310.log b/packs/armes-et-protection/000314.log similarity index 100% rename from packs/armes-et-protection/000310.log rename to packs/armes-et-protection/000314.log diff --git a/packs/armes-et-protection/CURRENT b/packs/armes-et-protection/CURRENT index 43585a4..16e7795 100644 --- a/packs/armes-et-protection/CURRENT +++ b/packs/armes-et-protection/CURRENT @@ -1 +1 @@ -MANIFEST-000308 +MANIFEST-000312 diff --git a/packs/armes-et-protection/LOG b/packs/armes-et-protection/LOG index 65442e4..6b05ecd 100644 --- a/packs/armes-et-protection/LOG +++ b/packs/armes-et-protection/LOG @@ -1,8 +1,8 @@ -2026/01/10-17:13:21.528896 7fd478fff6c0 Recovering log #306 -2026/01/10-17:13:21.539812 7fd478fff6c0 Delete type=3 #304 -2026/01/10-17:13:21.539902 7fd478fff6c0 Delete type=0 #306 -2026/01/10-22:35:10.963778 7fd4627fc6c0 Level-0 table #311: started -2026/01/10-22:35:10.963855 7fd4627fc6c0 Level-0 table #311: 0 bytes OK -2026/01/10-22:35:10.969945 7fd4627fc6c0 Delete type=0 #309 -2026/01/10-22:35:10.989919 7fd4627fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) -2026/01/10-22:35:10.989967 7fd4627fc6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +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) diff --git a/packs/armes-et-protection/LOG.old b/packs/armes-et-protection/LOG.old index 234f79d..65442e4 100644 --- a/packs/armes-et-protection/LOG.old +++ b/packs/armes-et-protection/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-16:36:54.002327 7fd462ffd6c0 Recovering log #302 -2026/01/10-16:36:54.012517 7fd462ffd6c0 Delete type=3 #300 -2026/01/10-16:36:54.012642 7fd462ffd6c0 Delete type=0 #302 -2026/01/10-17:13:09.492537 7fd4627fc6c0 Level-0 table #307: started -2026/01/10-17:13:09.492568 7fd4627fc6c0 Level-0 table #307: 0 bytes OK -2026/01/10-17:13:09.498555 7fd4627fc6c0 Delete type=0 #305 -2026/01/10-17:13:09.518553 7fd4627fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) -2026/01/10-17:13:09.518642 7fd4627fc6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.528896 7fd478fff6c0 Recovering log #306 +2026/01/10-17:13:21.539812 7fd478fff6c0 Delete type=3 #304 +2026/01/10-17:13:21.539902 7fd478fff6c0 Delete type=0 #306 +2026/01/10-22:35:10.963778 7fd4627fc6c0 Level-0 table #311: started +2026/01/10-22:35:10.963855 7fd4627fc6c0 Level-0 table #311: 0 bytes OK +2026/01/10-22:35:10.969945 7fd4627fc6c0 Delete type=0 #309 +2026/01/10-22:35:10.989919 7fd4627fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) +2026/01/10-22:35:10.989967 7fd4627fc6c0 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-000308 b/packs/armes-et-protection/MANIFEST-000312 similarity index 72% rename from packs/armes-et-protection/MANIFEST-000308 rename to packs/armes-et-protection/MANIFEST-000312 index e7115efc7ed05a48c373a45e7e99c080101e079b..8df9dbe47619c173eec8b025934b66c9d55181df 100644 GIT binary patch delta 43 tcmdnMxPfs(kBWJ!k}x*|BhyYMP6p;(Oe{ATr(FH|5+t$B(eh}0stb}3+ey> diff --git a/packs/atouts-feeriques/000310.log b/packs/atouts-feeriques/000314.log similarity index 100% rename from packs/atouts-feeriques/000310.log rename to packs/atouts-feeriques/000314.log diff --git a/packs/atouts-feeriques/CURRENT b/packs/atouts-feeriques/CURRENT index 43585a4..16e7795 100644 --- a/packs/atouts-feeriques/CURRENT +++ b/packs/atouts-feeriques/CURRENT @@ -1 +1 @@ -MANIFEST-000308 +MANIFEST-000312 diff --git a/packs/atouts-feeriques/LOG b/packs/atouts-feeriques/LOG index ad3e71f..3660484 100644 --- a/packs/atouts-feeriques/LOG +++ b/packs/atouts-feeriques/LOG @@ -1,8 +1,8 @@ -2026/01/10-17:13:21.469395 7fd4637fe6c0 Recovering log #306 -2026/01/10-17:13:21.479611 7fd4637fe6c0 Delete type=3 #304 -2026/01/10-17:13:21.479687 7fd4637fe6c0 Delete type=0 #306 -2026/01/10-22:35:10.919012 7fd4627fc6c0 Level-0 table #311: started -2026/01/10-22:35:10.919040 7fd4627fc6c0 Level-0 table #311: 0 bytes OK -2026/01/10-22:35:10.924958 7fd4627fc6c0 Delete type=0 #309 -2026/01/10-22:35:10.937993 7fd4627fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) -2026/01/10-22:35:10.938027 7fd4627fc6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +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) diff --git a/packs/atouts-feeriques/LOG.old b/packs/atouts-feeriques/LOG.old index 9b0fe35..ad3e71f 100644 --- a/packs/atouts-feeriques/LOG.old +++ b/packs/atouts-feeriques/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-16:36:53.937580 7fd463fff6c0 Recovering log #302 -2026/01/10-16:36:53.948656 7fd463fff6c0 Delete type=3 #300 -2026/01/10-16:36:53.948746 7fd463fff6c0 Delete type=0 #302 -2026/01/10-17:13:09.478691 7fd4627fc6c0 Level-0 table #307: started -2026/01/10-17:13:09.478722 7fd4627fc6c0 Level-0 table #307: 0 bytes OK -2026/01/10-17:13:09.485719 7fd4627fc6c0 Delete type=0 #305 -2026/01/10-17:13:09.492280 7fd4627fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) -2026/01/10-17:13:09.492336 7fd4627fc6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.469395 7fd4637fe6c0 Recovering log #306 +2026/01/10-17:13:21.479611 7fd4637fe6c0 Delete type=3 #304 +2026/01/10-17:13:21.479687 7fd4637fe6c0 Delete type=0 #306 +2026/01/10-22:35:10.919012 7fd4627fc6c0 Level-0 table #311: started +2026/01/10-22:35:10.919040 7fd4627fc6c0 Level-0 table #311: 0 bytes OK +2026/01/10-22:35:10.924958 7fd4627fc6c0 Delete type=0 #309 +2026/01/10-22:35:10.937993 7fd4627fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) +2026/01/10-22:35:10.938027 7fd4627fc6c0 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-000308 b/packs/atouts-feeriques/MANIFEST-000312 similarity index 72% rename from packs/atouts-feeriques/MANIFEST-000308 rename to packs/atouts-feeriques/MANIFEST-000312 index 26866ef375107d9a40178b3e06c50b2322b21cdc..e9fc6e302d5b1ddbda70c734c65ca070546d08ad 100644 GIT binary patch delta 43 tcmdnMxPfs(kBaNe!$-Lp7@2l5aWXLPVq!VXoTh289VD^~B(eu20stB;3rGL} delta 43 tcmdnMxPfs(kBYq1WHD|AMy9PyoD9s{m{?9TJ1Hc72Z?M0iR=K0008MA3HSg2 diff --git a/packs/avantages/000310.log b/packs/avantages/000314.log similarity index 100% rename from packs/avantages/000310.log rename to packs/avantages/000314.log diff --git a/packs/avantages/CURRENT b/packs/avantages/CURRENT index 43585a4..16e7795 100644 --- a/packs/avantages/CURRENT +++ b/packs/avantages/CURRENT @@ -1 +1 @@ -MANIFEST-000308 +MANIFEST-000312 diff --git a/packs/avantages/LOG b/packs/avantages/LOG index 3f6beba..5efc7da 100644 --- a/packs/avantages/LOG +++ b/packs/avantages/LOG @@ -1,8 +1,8 @@ -2026/01/10-17:13:21.429229 7fd463fff6c0 Recovering log #306 -2026/01/10-17:13:21.439355 7fd463fff6c0 Delete type=3 #304 -2026/01/10-17:13:21.439437 7fd463fff6c0 Delete type=0 #306 -2026/01/10-22:35:10.925075 7fd4627fc6c0 Level-0 table #311: started -2026/01/10-22:35:10.925115 7fd4627fc6c0 Level-0 table #311: 0 bytes OK -2026/01/10-22:35:10.931575 7fd4627fc6c0 Delete type=0 #309 -2026/01/10-22:35:10.938004 7fd4627fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) -2026/01/10-22:35:10.938039 7fd4627fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) +2026/01/10-22:45:42.589327 7fd4637fe6c0 Recovering log #310 +2026/01/10-22:45:42.598987 7fd4637fe6c0 Delete type=0 #310 +2026/01/10-22:45:42.599056 7fd4637fe6c0 Delete type=3 #308 +2026/01/10-22:49:23.105824 7fd4627fc6c0 Level-0 table #315: started +2026/01/10-22:49:23.105875 7fd4627fc6c0 Level-0 table #315: 0 bytes OK +2026/01/10-22:49:23.111837 7fd4627fc6c0 Delete type=0 #313 +2026/01/10-22:49:23.124673 7fd4627fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) +2026/01/10-22:49:23.124705 7fd4627fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) diff --git a/packs/avantages/LOG.old b/packs/avantages/LOG.old index b1751c8..3f6beba 100644 --- a/packs/avantages/LOG.old +++ b/packs/avantages/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-16:36:53.884816 7fd463fff6c0 Recovering log #302 -2026/01/10-16:36:53.895475 7fd463fff6c0 Delete type=3 #300 -2026/01/10-16:36:53.895553 7fd463fff6c0 Delete type=0 #302 -2026/01/10-17:13:09.459290 7fd4627fc6c0 Level-0 table #307: started -2026/01/10-17:13:09.459318 7fd4627fc6c0 Level-0 table #307: 0 bytes OK -2026/01/10-17:13:09.465368 7fd4627fc6c0 Delete type=0 #305 -2026/01/10-17:13:09.465682 7fd4627fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) -2026/01/10-17:13:09.465759 7fd4627fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.429229 7fd463fff6c0 Recovering log #306 +2026/01/10-17:13:21.439355 7fd463fff6c0 Delete type=3 #304 +2026/01/10-17:13:21.439437 7fd463fff6c0 Delete type=0 #306 +2026/01/10-22:35:10.925075 7fd4627fc6c0 Level-0 table #311: started +2026/01/10-22:35:10.925115 7fd4627fc6c0 Level-0 table #311: 0 bytes OK +2026/01/10-22:35:10.931575 7fd4627fc6c0 Delete type=0 #309 +2026/01/10-22:35:10.938004 7fd4627fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) +2026/01/10-22:35:10.938039 7fd4627fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) diff --git a/packs/avantages/MANIFEST-000308 b/packs/avantages/MANIFEST-000312 similarity index 72% rename from packs/avantages/MANIFEST-000308 rename to packs/avantages/MANIFEST-000312 index 55e4bc9ef96d98e13366894fe5d14c98683740e7..c7328eab264fe1c8a0d1e4045f51e16b2675b8b0 100644 GIT binary patch delta 43 tcmdnMxPfs(j|$%!_Z)5pMy8!ioD9snm{|5QuC-aS03@;tB(eu20ssVL3hn>^ delta 43 tcmdnMxPfs(kIEMmr0RBY_Q2+n{ delta 41 scmZ3-xQ=l`k5XcZL=zVSBhywUP6p;}Oe{HTPZk{q32Xxi>;MV?0P_pNcN)$pzdDj7pGv6Bqov#oj7+yFd diff --git a/packs/journaux/000028.log b/packs/journaux/000032.log similarity index 100% rename from packs/journaux/000028.log rename to packs/journaux/000032.log diff --git a/packs/journaux/CURRENT b/packs/journaux/CURRENT index 8b15215..caa721a 100644 --- a/packs/journaux/CURRENT +++ b/packs/journaux/CURRENT @@ -1 +1 @@ -MANIFEST-000026 +MANIFEST-000030 diff --git a/packs/journaux/LOG b/packs/journaux/LOG index b8715be..31e74fe 100644 --- a/packs/journaux/LOG +++ b/packs/journaux/LOG @@ -1,8 +1,8 @@ -2026/01/10-17:13:21.571878 7fd462ffd6c0 Recovering log #24 -2026/01/10-17:13:21.582771 7fd462ffd6c0 Delete type=3 #22 -2026/01/10-17:13:21.582857 7fd462ffd6c0 Delete type=0 #24 -2026/01/10-22:35:10.976802 7fd4627fc6c0 Level-0 table #29: started -2026/01/10-22:35:10.976847 7fd4627fc6c0 Level-0 table #29: 0 bytes OK -2026/01/10-22:35:10.983280 7fd4627fc6c0 Delete type=0 #27 -2026/01/10-22:35:10.989948 7fd4627fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) -2026/01/10-22:35:10.989976 7fd4627fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) +2026/01/10-22:45:42.723038 7fd4637fe6c0 Recovering log #28 +2026/01/10-22:45:42.733325 7fd4637fe6c0 Delete type=0 #28 +2026/01/10-22:45:42.733393 7fd4637fe6c0 Delete type=3 #26 +2026/01/10-22:49:23.164915 7fd4627fc6c0 Level-0 table #33: started +2026/01/10-22:49:23.164944 7fd4627fc6c0 Level-0 table #33: 0 bytes OK +2026/01/10-22:49:23.170895 7fd4627fc6c0 Delete type=0 #31 +2026/01/10-22:49:23.178857 7fd4627fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) +2026/01/10-22:49:23.178898 7fd4627fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) diff --git a/packs/journaux/LOG.old b/packs/journaux/LOG.old index a5a8000..b8715be 100644 --- a/packs/journaux/LOG.old +++ b/packs/journaux/LOG.old @@ -1,8 +1,8 @@ -2026/01/10-16:36:54.053637 7fd4637fe6c0 Recovering log #20 -2026/01/10-16:36:54.063508 7fd4637fe6c0 Delete type=3 #18 -2026/01/10-16:36:54.063638 7fd4637fe6c0 Delete type=0 #20 -2026/01/10-17:13:09.505493 7fd4627fc6c0 Level-0 table #25: started -2026/01/10-17:13:09.505547 7fd4627fc6c0 Level-0 table #25: 0 bytes OK -2026/01/10-17:13:09.512124 7fd4627fc6c0 Delete type=0 #23 -2026/01/10-17:13:09.518599 7fd4627fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) -2026/01/10-17:13:09.518680 7fd4627fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.571878 7fd462ffd6c0 Recovering log #24 +2026/01/10-17:13:21.582771 7fd462ffd6c0 Delete type=3 #22 +2026/01/10-17:13:21.582857 7fd462ffd6c0 Delete type=0 #24 +2026/01/10-22:35:10.976802 7fd4627fc6c0 Level-0 table #29: started +2026/01/10-22:35:10.976847 7fd4627fc6c0 Level-0 table #29: 0 bytes OK +2026/01/10-22:35:10.983280 7fd4627fc6c0 Delete type=0 #27 +2026/01/10-22:35:10.989948 7fd4627fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) +2026/01/10-22:35:10.989976 7fd4627fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end) diff --git a/packs/journaux/MANIFEST-000026 b/packs/journaux/MANIFEST-000030 similarity index 79% rename from packs/journaux/MANIFEST-000026 rename to packs/journaux/MANIFEST-000030 index 225be5ffa48e0ec6326e8953ca43c013b614cf5c..83a093530c64dfb60b7b7808aa7f10c39065c539 100644 GIT binary patch delta 37 pcmZ3;xR7x|vs|^GSr!KaBa=KQ1G54P(^2NNYd~BDAXkZn2>_yo2D<xR!B3uR@qkdmtwRBU33S19KV6N!GJxR!B3ufomyyR$eM7?}z=8JLS$PO{$GIC8YHqEB(f7E0ssj?3pW4& diff --git a/packs/profils/000308.log b/packs/profils/000312.log similarity index 100% rename from packs/profils/000308.log rename to packs/profils/000312.log diff --git a/packs/profils/CURRENT b/packs/profils/CURRENT index 759a159..621932e 100644 --- a/packs/profils/CURRENT +++ b/packs/profils/CURRENT @@ -1 +1 @@ -MANIFEST-000306 +MANIFEST-000310 diff --git a/packs/profils/LOG b/packs/profils/LOG index 17027ac..ce21888 100644 --- a/packs/profils/LOG +++ b/packs/profils/LOG @@ -1,7 +1,7 @@ -2026/01/10-17:13:21.543192 7fd463fff6c0 Recovering log #304 -2026/01/10-17:13:21.553430 7fd463fff6c0 Delete type=3 #302 -2026/01/10-17:13:21.553529 7fd463fff6c0 Delete type=0 #304 -2026/01/10-22:35:10.970109 7fd4627fc6c0 Level-0 table #309: started -2026/01/10-22:35:10.970150 7fd4627fc6c0 Level-0 table #309: 0 bytes OK -2026/01/10-22:35:10.976638 7fd4627fc6c0 Delete type=0 #307 -2026/01/10-22:35:10.989936 7fd4627fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2026/01/10-22:45:42.695199 7fd4637fe6c0 Recovering log #308 +2026/01/10-22:45:42.705593 7fd4637fe6c0 Delete type=0 #308 +2026/01/10-22:45:42.705668 7fd4637fe6c0 Delete type=3 #306 +2026/01/10-22:49:23.151885 7fd4627fc6c0 Level-0 table #313: started +2026/01/10-22:49:23.151921 7fd4627fc6c0 Level-0 table #313: 0 bytes OK +2026/01/10-22:49:23.158651 7fd4627fc6c0 Delete type=0 #311 +2026/01/10-22:49:23.178829 7fd4627fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) diff --git a/packs/profils/LOG.old b/packs/profils/LOG.old index 33616c7..17027ac 100644 --- a/packs/profils/LOG.old +++ b/packs/profils/LOG.old @@ -1,7 +1,7 @@ -2026/01/10-16:36:54.016444 7fd4637fe6c0 Recovering log #300 -2026/01/10-16:36:54.027547 7fd4637fe6c0 Delete type=3 #298 -2026/01/10-16:36:54.027611 7fd4637fe6c0 Delete type=0 #300 -2026/01/10-17:13:09.465917 7fd4627fc6c0 Level-0 table #305: started -2026/01/10-17:13:09.465950 7fd4627fc6c0 Level-0 table #305: 0 bytes OK -2026/01/10-17:13:09.471878 7fd4627fc6c0 Delete type=0 #303 -2026/01/10-17:13:09.492251 7fd4627fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) +2026/01/10-17:13:21.543192 7fd463fff6c0 Recovering log #304 +2026/01/10-17:13:21.553430 7fd463fff6c0 Delete type=3 #302 +2026/01/10-17:13:21.553529 7fd463fff6c0 Delete type=0 #304 +2026/01/10-22:35:10.970109 7fd4627fc6c0 Level-0 table #309: started +2026/01/10-22:35:10.970150 7fd4627fc6c0 Level-0 table #309: 0 bytes OK +2026/01/10-22:35:10.976638 7fd4627fc6c0 Delete type=0 #307 +2026/01/10-22:35:10.989936 7fd4627fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) diff --git a/packs/profils/MANIFEST-000306 b/packs/profils/MANIFEST-000306 deleted file mode 100644 index b2a4cb7816fed7f9de9ad167af8e15489766946d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69 zcmWIhx#Ncn10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAe$mOzH#c)JFfwgs;$&dn U!oi^X0C~C=3jhEB diff --git a/packs/profils/MANIFEST-000310 b/packs/profils/MANIFEST-000310 new file mode 100644 index 0000000000000000000000000000000000000000..673ad46132a24d0c1b577e828191f9b91f96448c GIT binary patch literal 69 zcmWIhx#Ncn10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAeo
-

+

@@ -109,7 +109,7 @@
- +
  • @@ -172,7 +172,7 @@
- +
  • @@ -193,7 +193,7 @@ {{sort.name}} {{upperFirst sort.system.niveau}} - +
     
    @@ -391,7 +391,7 @@ {{!-- atouts Tab --}}
    - +
  • @@ -407,15 +407,15 @@ @@ -532,7 +532,7 @@ {{upperFirst pouvoir.system.pouvoirtype}} {{upperFirst pouvoir.system.niveau}} {{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}} - +
     
    @@ -593,7 +593,7 @@ {{/each}}
- +
@@ -601,7 +601,7 @@
- +

Historique

diff --git a/templates/actor-pnj-sheet.hbs.backup b/templates/actor-pnj-sheet.hbs.backup deleted file mode 100644 index 105ebe2..0000000 --- a/templates/actor-pnj-sheet.hbs.backup +++ /dev/null @@ -1,547 +0,0 @@ -
- - {{!-- Sheet Header --}} -
-
-
- -
-

-
- -
-
    - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "physical")}} -
  • -

    {{carac.label}}

    - - -
  • - {{/if}} - {{/each}} -
-
- -
-
    - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "mental")}} -
  • -

    {{carac.label}}

    - - -
  • - {{/if}} - {{/each}} -
-
- -
- -
- - - - - -    - - - -    - - - -
- -
-
-
- - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
- - {{!-- Competence Tab --}} -
- -
- -
- -
- {{#each utileSkillsPhysical as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.hbs skillDef=skillDef keyProfil=keyProfil isPNJ=true}} - {{/each}} -
- -
- {{#each utileSkillsMental as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.hbs skillDef=skillDef keyProfil=keyProfil isPNJ=true}} - {{/each}} -
- -
- -
-
    -
  • - -

    -
    - - - -
     
    -
  • - {{#each futileSkills as |skill key|}} -
  • - {{skill.name}} - - - -
    - - -
    -
  • - {{/each}} -
-
- - -
  • -

    Magie

    -
  • - -
    - -
    - - {{#each magieList as |magie idx|}} -
  • -

    -
    - - -
    -

    -
  • - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each sorts as |sort key|}} -
    • - - {{sort.name}} - {{upperFirst sort.system.niveau}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/each}} - - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - -
    • -
    • - - - - - - - - - - -
    • -
    • - - - - - - -
    • -
    • - - - - -
    • -
    • - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - - - - - {{arme.system.degats}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each protections as |protection key|}} -
    • - - {{protection.name}} - - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- atouts Tab --}} -
    - -
    -
  • - - {{fee.name}} -
     
    -
    - - -
    -
  • -
    - -
    - -
    - -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each avantages as |avantage key|}} -
    • - - {{avantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each desavantages as |desavantage key|}} -
    • - - {{desavantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each atouts as |atout key|}} -
    • - - {{atout.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each pouvoirs as |pouvoir key|}} -
    • - - {{pouvoir.name}} - {{upperFirst pouvoir.system.masquetype}} - {{upperFirst pouvoir.system.pouvoirtype}} - {{upperFirst pouvoir.system.niveau}} - {{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each capacites as |capa key|}} -
    • - - {{capa.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each equipements as |equip key|}} -
    • - - {{equip.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    - -
    - - -
    - -

    Historique

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/templates/actor-pnj-sheet.html b/templates/actor-pnj-sheet.html deleted file mode 100644 index 32ec727..0000000 --- a/templates/actor-pnj-sheet.html +++ /dev/null @@ -1,547 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "physical")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "mental")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    - -
    - - - - - -    - - - -    - - - -
    - -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    - -
    - {{#each utileSkillsPhysical as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil isPNJ=true}} - {{/each}} -
    - -
    - {{#each utileSkillsMental as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil isPNJ=true}} - {{/each}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each futileSkills as |skill key|}} -
    • - {{skill.name}} - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
  • -

    Magie

    -
  • - -
    - -
    - - {{#each magieList as |magie idx|}} -
  • -

    -
    - - -
    -

    -
  • - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each sorts as |sort key|}} -
    • - - {{sort.name}} - {{upperFirst sort.system.niveau}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/each}} - - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - -
    • -
    • - - - - - - - - - - -
    • -
    • - - - - - - -
    • -
    • - - - - -
    • -
    • - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - - - - - {{arme.system.degats}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each protections as |protection key|}} -
    • - - {{protection.name}} - - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- atouts Tab --}} -
    - -
    -
  • - - {{fee.name}} -
     
    -
    - - -
    -
  • -
    - -
    - -
    - -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each avantages as |avantage key|}} -
    • - - {{avantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each desavantages as |desavantage key|}} -
    • - - {{desavantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each atouts as |atout key|}} -
    • - - {{atout.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each pouvoirs as |pouvoir key|}} -
    • - - {{pouvoir.name}} - {{upperFirst pouvoir.system.masquetype}} - {{upperFirst pouvoir.system.pouvoirtype}} - {{upperFirst pouvoir.system.niveau}} - {{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each capacites as |capa key|}} -
    • - - {{capa.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each equipements as |equip key|}} -
    • - - {{equip.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    - -
    - - -
    - -

    Historique

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/templates/actor-sheet.hbs b/templates/actor-sheet.hbs index 3ef5f17..1589cc0 100644 --- a/templates/actor-sheet.hbs +++ b/templates/actor-sheet.hbs @@ -6,7 +6,7 @@
    -

    +

    @@ -1027,7 +1027,7 @@
    - +

    Historique

    diff --git a/templates/actor-sheet.hbs.backup b/templates/actor-sheet.hbs.backup deleted file mode 100644 index 3f93e74..0000000 --- a/templates/actor-sheet.hbs.backup +++ /dev/null @@ -1,948 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "physical")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "mental")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    -
    - - - - - - -    - - - -    - - - -
    - -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    - -
    - {{#each utileSkillsPhysical as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.hbs skillDef=skillDef keyProfil=keyProfil - config=config}} - {{/each}} -
    - -
    - {{#each utileSkillsMental as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.hbs skillDef=skillDef keyProfil=keyProfil - config=config}} - {{/each}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each futileSkills as |skill key|}} -
    • - {{skill.name}} - - - -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - -
    • -
    • - - - - - - - - - - - -
    • -
    • - - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{arme.system.degats}} - - - - - - - - - - - {{#if arme.system.isMelee}} - - - - - - - {{/if}} - -
       
      - -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each protections as |protection key|}} -
    • - - {{protection.name}} - - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Fee Tab --}} -
    - -
    -
  • - - {{fee.name}} -
     
    -
    - - -
    -
  • -
    - -
    - -
    - -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each avantages as |avantage key|}} -
    • - - {{avantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each desavantages as |desavantage key|}} -
    • - - {{desavantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each atouts as |atout key|}} -
    • - - {{atout.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each pouvoirs as |pouvoir key|}} -
    • - - {{pouvoir.name}} - {{upperFirst pouvoir.system.masquetype}} - {{upperFirst pouvoir.system.pouvoirtype}} - {{upperFirst pouvoir.system.niveau}} - {{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each capacites as |capa key|}} -
    • - - {{capa.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    - -
    - - {{!-- Magie Tab --}} -
    - -
    -
      -
    • - - - -
    • -
    -
    - - {{#each magieList as |magie idx|}} -
  • -

    - - {{magie.rangSpecificName}} -
    - - -
    -

    -
  • - - {{#if (eq magie.name "Magie du Clan")}} -
    -

    Souffle de Combat

    -
      - {{#each sorts.soufflecombat as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    - -

    Souffle de Mouvement

    -
      - {{#each sorts.soufflemouvement as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    -

    Souffle de l'Esprit

    -
      - {{#each sorts.souffleesprit as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    - {{else}} -
    -
      - {{#each sorts as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    -
    - {{/if}} - {{/each}} - -
    - - {{!-- Equipement Tab --}} -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each equipements as |equip key|}} -
    • - - {{equip.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - - {{!-- Contact Tab --}} -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • -
    - - {{#each contacts as |contactList idx|}} -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each contactList.list as |contact key|}} -
    • - - {{contact.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/each}} - -
    - - {{!-- Biography Tab --}} -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      -
      -
    • - {{#each profils as |profil key|}} -
    • - - {{profil.name}} - {{upperFirst profil.system.profiltype}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -
      -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    -
      -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    -
    -
    - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - {{#if isGM}} -
    • - - -
    • - {{/if}} -
    -
    - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - -
    -
    - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    - - {{#if isGM}} - {{#if system.biodata.magie}} -
    Magie activée : Glissez/Déplacez la/les compétences de Magie - nécessaires - depuis le compendium dans l'onglet "Magie", puis faites de même pour les sorts. -
    - {{/if}} - {{/if}} - -
    - -
    - -

    Historique

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Notes diverses

    -
    -
    - {{editor playernotes target="system.biodata.playernotes" button=true owner=owner editable=editable}} -
    - - -

    Rêves étranges

    -
    -
    - {{editor revesetranges target="system.biodata.revesetranges" button=true owner=owner editable=editable}} -
    - - -

    Secrets découverts

    -
    -
    - {{editor secretsdecouverts target="system.biodata.secretsdecouverts" button=true owner=owner - editable=editable}} -
    - - -

    Questions en suspens

    -
    -
    - {{editor questions target="system.biodata.questions" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html deleted file mode 100644 index 0f40348..0000000 --- a/templates/actor-sheet.html +++ /dev/null @@ -1,948 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "physical")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    -
      - {{#each system.caracteristiques as |carac key|}} - {{#if (eq kind "mental")}} -
    • -

      {{carac.label}}

      - - -
    • - {{/if}} - {{/each}} -
    -
    - -
    -
    - - - - - - -    - - - -    - - - -
    - -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    - -
    - {{#each utileSkillsPhysical as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil - config=config}} - {{/each}} -
    - -
    - {{#each utileSkillsMental as |skillDef keyProfil|}} - {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil - config=config}} - {{/each}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each futileSkills as |skill key|}} -
    • - {{skill.name}} - - - -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - -
    • -
    • - - - - - - - - - - - -
    • -
    • - - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{arme.system.degats}} - - - - - - - - - - - {{#if arme.system.isMelee}} - - - - - - - {{/if}} - -
       
      - -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each protections as |protection key|}} -
    • - - {{protection.name}} - - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Fee Tab --}} -
    - -
    -
  • - - {{fee.name}} -
     
    -
    - - -
    -
  • -
    - -
    - -
    - -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each avantages as |avantage key|}} -
    • - - {{avantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each desavantages as |desavantage key|}} -
    • - - {{desavantage.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each atouts as |atout key|}} -
    • - - {{atout.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each pouvoirs as |pouvoir key|}} -
    • - - {{pouvoir.name}} - {{upperFirst pouvoir.system.masquetype}} - {{upperFirst pouvoir.system.pouvoirtype}} - {{upperFirst pouvoir.system.niveau}} - {{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each capacites as |capa key|}} -
    • - - {{capa.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    - -
    - - {{!-- Magie Tab --}} -
    - -
    -
      -
    • - - - -
    • -
    -
    - - {{#each magieList as |magie idx|}} -
  • -

    - - {{magie.rangSpecificName}} -
    - - -
    -

    -
  • - - {{#if (eq magie.name "Magie du Clan")}} -
    -

    Souffle de Combat

    -
      - {{#each sorts.soufflecombat as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    - -

    Souffle de Mouvement

    -
      - {{#each sorts.soufflemouvement as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    -

    Souffle de l'Esprit

    -
      - {{#each sorts.souffleesprit as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    - {{else}} -
    -
      - {{#each sorts as |niveau key|}} -
    • - -

      -
      -
      - {{#if @root.isGM}} - - {{/if}} -
      -
    • - {{#each niveau.sorts as |sort key|}} -
    • - - {{sort.name}} - - {{#if sort.system.informatif}} - Informatif - {{else}} - {{upperFirst sort.system.niveau}} - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} - {{/each}} -
    -
    - {{/if}} - {{/each}} - -
    - - {{!-- Equipement Tab --}} -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each equipements as |equip key|}} -
    • - - {{equip.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - - {{!-- Contact Tab --}} -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • -
    - - {{#each contacts as |contactList idx|}} -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each contactList.list as |contact key|}} -
    • - - {{contact.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/each}} - -
    - - {{!-- Biography Tab --}} -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      -
      -
    • - {{#each profils as |profil key|}} -
    • - - {{profil.name}} - {{upperFirst profil.system.profiltype}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -
      -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    -
      -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    -
    -
    - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - {{#if isGM}} -
    • - - -
    • - {{/if}} -
    -
    - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - -
    -
    - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    - - {{#if isGM}} - {{#if system.biodata.magie}} -
    Magie activée : Glissez/Déplacez la/les compétences de Magie - nécessaires - depuis le compendium dans l'onglet "Magie", puis faites de même pour les sorts. -
    - {{/if}} - {{/if}} - -
    - -
    - -

    Historique

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Notes diverses

    -
    -
    - {{editor playernotes target="system.biodata.playernotes" button=true owner=owner editable=editable}} -
    - - -

    Rêves étranges

    -
    -
    - {{editor revesetranges target="system.biodata.revesetranges" button=true owner=owner editable=editable}} -
    - - -

    Secrets découverts

    -
    -
    - {{editor secretsdecouverts target="system.biodata.secretsdecouverts" button=true owner=owner - editable=editable}} -
    - - -

    Questions en suspens

    -
    -
    - {{editor questions target="system.biodata.questions" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/templates/chat-assommer-result.html b/templates/chat-assommer-result.html deleted file mode 100644 index 6119ea1..0000000 --- a/templates/chat-assommer-result.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Assomer {{defenderName}} en état de : {{etatAssommer}}
    • - - {{#if isSuccess}} -
    • Marge : {{marge}}
    • -
    • {{defenderName}} est assomé pour {{dureeAssommer}} minutes !
    • - {{else}} -
    • {{defenderName}} n'a pas été assomé et est conscient la tentative !
    • - {{/if}} -
    -
    \ No newline at end of file diff --git a/templates/chat-cc-result.html b/templates/chat-cc-result.html deleted file mode 100644 index 42f9322..0000000 --- a/templates/chat-cc-result.html +++ /dev/null @@ -1,43 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Défense de {{defenderName}} : {{defenderMode}} ({{defenderValue}})
    • - - {{#if isSuccess}} -
    • Marge : {{marge}}
    • -
    • Degats de l'arme : {{degatsArme}}
    • - - {{#if (eq attaqueCible "membre")}} -
    • Cible un membre : La cible a -2 de malus sur ces actions avec ce membre (mouvement 2 si jambes) -
    • - {{/if}} - {{#if (eq attaqueCible "main")}} -
    • Cible une main : La cible ne peut plus utiliser sa main
    • - {{/if}} - - {{#if isCriticalSuccess}} -
    • Critique : Aubaine ou +2 aux dégats ci-dessus
    • - {{/if}} - {{else}} -
    • Echec face à la {{defenderMode}} !
    • - {{/if}} - -
    -
    \ No newline at end of file diff --git a/templates/chat-generic-result-old.hbs b/templates/chat-generic-result-old.hbs deleted file mode 100644 index 99472b4..0000000 --- a/templates/chat-generic-result-old.hbs +++ /dev/null @@ -1,176 +0,0 @@ -{{!-- Chat Card for Roll Results --}} -
    - - {{!-- Header --}} -
    - {{#if actorImg}} - {{alias}} - {{/if}} -
    -

    {{alias}}

    - {{#if competence}} -
    {{competence.name}}{{#if arme}} - {{arme.name}}{{/if}}
    - {{else if pouvoir}} -
    {{pouvoir.name}}
    - {{else if sort}} -
    {{sort.name}}
    - {{else if rang}} -
    {{rang.label}}
    - {{else}} -
    {{carac.label}}
    - {{/if}} -
    - {{#if actionImg}} - {{name}} - {{/if}} -
    - - {{!-- Attack Type Badge --}} - {{#if attackType}} -
    {{attackType}}
    - {{/if}} - - {{!-- Roll Calculation Grid --}} - {{#unless noRoll}} -
    -
    - Carac - {{carac.label}} ({{carac.value}}) -
    - - {{#if rang}} -
    - Rang - {{rang.value}} -
    - {{/if}} - - {{#if competence}} -
    - Compétence - {{competence.system.niveau}} -
    - {{/if}} - - {{#if useSpecialite}} -
    - Spécialité - +1 -
    - {{/if}} - -
    - Formule - {{diceFormula}} -
    - -
    - - {{diceResult}} -
    -
    - {{/unless}} - - {{!-- Result Display --}} - {{#unless noRoll}} -
    -
    - Total - {{finalResult}} -
    - - {{#if (gt sdValue "-1")}} -
    - SD: {{sdValue}} - Marge: {{marge}} -
    -
    - {{#if isCriticalSuccess}} - RÉUSSITE CRITIQUE ! - {{else if isCriticalFailure}} - ÉCHEC CRITIQUE ! - {{else if isSuccess}} - Succès - {{else}} - Échec - {{/if}} -
    - {{/if}} - - {{#if isBrelan}} -
    Brelan !
    - {{/if}} - {{#if isSuite}} -
    Suite !
    - {{/if}} -
    - {{/unless}} - - {{!-- Tricherie Adjacent Faces --}} - {{#if adjacentFaces}} -
    - Faces adjacentes (2 pts Tricherie) : -
    - {{#each adjacentFaces as |value key|}} - {{value}} - {{/each}} -
    -
    - {{/if}} - - {{!-- Details Section (Collapsible) --}} - {{#if pouvoir}} -
    - Détails du pouvoir -
    -
    Effet : {{pouvoir.system.effet}}
    - {{#if (ne pouvoir.system.duree "")}} -
    Durée : {{pouvoir.system.duree}}
    - {{/if}} - {{#if (ne pouvoir.system.portee "")}} -
    Portée : {{pouvoir.system.portee}}
    - {{/if}} - {{#if (ne pouvoir.system.resistance "")}} -
    Résistance : {{pouvoir.system.resistance}}
    - {{/if}} - {{#if (ne pouvoir.system.zoneeffet "")}} -
    Zone d'effet : {{pouvoir.system.zoneeffet}}
    - {{/if}} - {{#if (ne pouvoir.system.cibles "")}} -
    Cibles : {{pouvoir.system.cibles}}
    - {{/if}} -
    Points d'usage : {{pouvoirPointsUsage}}
    -
    -
    - {{/if}} - - {{#if sort}} -
    - Détails du sort -
    - {{#if (ne sort.system.duree "")}} -
    Durée : {{sort.system.duree}}
    - {{/if}} - {{#if (ne sort.system.portee "")}} -
    Portée : {{sort.system.portee}}
    - {{/if}} - {{#if (ne sort.system.ingredients "")}} -
    Ingrédients : {{sort.system.ingredients}}
    - {{/if}} - {{#if (ne sort.system.resistance "")}} -
    Résistance : {{sort.system.resistance}}
    - {{/if}} - {{#if spendEsprit}} -
    Points d'Esprit : 1
    - {{else}} -
    Points d'Âme : {{sortPointsAme}}
    - {{#if (eq sort.system.competence "Magie du Clan")}} -
    Souffle : {{sort.system.souffle}}
    -
    Coût PV : 2
    - {{/if}} - {{/if}} -
    -
    - {{/if}} - -
    diff --git a/templates/chat-generic-result.html b/templates/chat-generic-result.html deleted file mode 100644 index b9d3b52..0000000 --- a/templates/chat-generic-result.html +++ /dev/null @@ -1,145 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Caractéristique : {{carac.label}} ({{carac.value}})
    • - - {{#if rang}} -
    • {{rang.label}} : {{rang.value}}
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{#if useSpecialite}} -
    • Bonus de spécialité +1
    • - {{/if}} - {{/if}} - - {{#if arme}} -
    • Attaque avec : {{arme.name}}
    • - {{#if (eq mode "assommer")}} -
    • Attaque pour assommer
    • - {{/if}} - {{/if}} - - {{#if pouvoir}} -
    • Pouvoir : {{pouvoir.name}}
    • -
    • Effet : {{pouvoir.system.effet}}
    • - {{#if (ne pouvoir.system.duree "")}} -
    • Durée : {{pouvoir.system.duree}}
    • - {{/if}} - {{#if (ne pouvoir.system.portee "")}} -
    • Portée : {{pouvoir.system.portee}}
    • - {{/if}} - {{#if (ne pouvoir.system.resistance "")}} -
    • Résistance : {{pouvoir.system.resistance}}
    • - {{/if}} - {{#if (ne pouvoir.system.resistanceautre "")}} -
    • Résistance autre : {{pouvoir.system.resistanceautre}}
    • - {{/if}} - {{#if (ne pouvoir.system.zoneeffet "")}} -
    • Zone d'effet : {{pouvoir.system.zoneeffet}}
    • - {{/if}} - {{#if (ne pouvoir.system.cibles "")}} -
    • Cibles : {{pouvoir.system.cibles}}
    • - {{/if}} - {{#if (ne pouvoir.system.virulence "")}} -
    • Virulence : {{pouvoir.system.virulence}}
    • - {{/if}} -
    • Points d'usage consommés : {{pouvoirPointsUsage}}
    • - {{/if}} - - {{#if sort}} -
    • Sort : {{sort.name}}
    • - {{#if (ne sort.system.resistance "")}} -
    • Résistance : {{sort.system.resistance}}
    • - {{/if}} - {{#if (ne sort.system.concentration "")}} -
    • Concentration : {{sort.system.concentration}}
    • - {{/if}} - {{#if (ne sort.system.duree "")}} -
    • Durée : {{sort.system.duree}}
    • - {{/if}} - {{#if (ne sort.system.portee "")}} -
    • Portée : {{sort.system.portee}}
    • - {{/if}} - {{#if (ne sort.system.ingredients "")}} -
    • Ingrédients : {{sort.system.ingredients}}
    • - {{/if}} - {{#if (ne sort.system.coutactivation "")}} -
    • Coût d'activation : {{sort.system.coutactivation}}
    • - {{/if}} - {{#if spendEsprit}} -
    • Points d'Esprit dépensé : 1
    • - {{else}} -
    • Coût en points d'Âme : {{sortPointsAme}}
    • - {{#if (eq sort.system.competence "Magie du Clan")}} -
    • Souffle : {{sort.system.souffle}}
    • -
    • Cout en PV : 2
    • - {{/if}} - {{/if}} - {{/if}} - - {{#if forcedValue}} -
    • Vous dépensez 2 points de Tricherie et utilisez une face adjacente du dé !
    • - {{/if}} - - {{#if noRoll}} - {{else}} -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if adjacentFaces}} -
    • Faces adjacentes : - {{#each adjacentFaces as |value key|}} - {{value}} - {{/each}} -
    • - {{/if}} - -
    • Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}
    • - - - {{#if (gt sdValue "-1")}} -
    • Seuil de difficulté : {{sdValue}}
    • - {{#if isSuccess}} -
    • Succès... -
    • - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isBrelan}} -
    • Brelan sur 3 dés !
    • - {{/if}} - {{#if isSuite}} -
    • Suite sur 3 dés !
    • - {{/if}} - - {{#if isCriticalSuccess}} -
    • Réussite Critique !!!
    • - {{/if}} - {{#if isCriticalFailure}} -
    • Echec Critique !!!
    • - {{/if}} - {{/if}} - -
    -
    \ No newline at end of file diff --git a/templates/editor-notes-gm.html b/templates/editor-notes-gm.html deleted file mode 100644 index ca22bd0..0000000 --- a/templates/editor-notes-gm.html +++ /dev/null @@ -1,6 +0,0 @@ -{{#if data.isGM}} -

    GM Notes :

    -
    - {{editor data.biodata.gmnotes target="system.biodata.gmnotes" button=true owner=owner editable=editable}} -
    -{{/if}} diff --git a/templates/item-accessoire-sheet_deprecated.html b/templates/item-accessoire-sheet_deprecated.html deleted file mode 100644 index 8a25697..0000000 --- a/templates/item-accessoire-sheet_deprecated.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - - -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-arme-sheet_deprecated.html b/templates/item-arme-sheet_deprecated.html deleted file mode 100644 index add00f6..0000000 --- a/templates/item-arme-sheet_deprecated.html +++ /dev/null @@ -1,121 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • - - -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-atoutfeerique-sheet_deprecated.html b/templates/item-atoutfeerique-sheet_deprecated.html deleted file mode 100644 index 69dfb2f..0000000 --- a/templates/item-atoutfeerique-sheet_deprecated.html +++ /dev/null @@ -1,20 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - - -
    - -
      -
    - -
    - -
    -
    diff --git a/templates/item-avantage-sheet_deprecated.html b/templates/item-avantage-sheet_deprecated.html deleted file mode 100644 index 9577673..0000000 --- a/templates/item-avantage-sheet_deprecated.html +++ /dev/null @@ -1,22 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - - -
    - -
      - - -
    - -
    - -
    -
    diff --git a/templates/item-capacitenaturelle-sheet_deprecated.html b/templates/item-capacitenaturelle-sheet_deprecated.html deleted file mode 100644 index 80b5362..0000000 --- a/templates/item-capacitenaturelle-sheet_deprecated.html +++ /dev/null @@ -1,81 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - - {{#if (eq system.resistance "autre")}} -
    • - - -
    • - {{/if}} - -
    • - - -
    • - - {{#if system.isvirulence}} -
    • - - -
    • - {{/if}} - -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-competence-sheet_deprecated.html b/templates/item-competence-sheet_deprecated.html deleted file mode 100644 index 66e281a..0000000 --- a/templates/item-competence-sheet_deprecated.html +++ /dev/null @@ -1,104 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - - {{#if (eq system.profil "magie")}} - {{#if (eq name "Magie du Clan")}} - {{#each system.nomniveausouffle.soufflecombat as |niveau key|}} -
    • - - -
    • - {{/each}} - {{#each system.nomniveausouffle.soufflemouvement as |niveau key|}} -
    • - - -
    • - {{/each}} - {{#each system.nomniveausouffle.souffleesprit as |niveau key|}} -
    • - - -
    • - {{/each}} - - {{else}} - {{#each system.nomniveau as |niveau key|}} -
    • - - -
    • - {{/each}} - {{/if}} - {{/if}} - -
    • -

      Spécialités

      -
    • -
    • -
        - {{#each system.specialites as |specialite key|}} -
      • - - -
      • -
      • - -
      • -
        - {{/each}} -
      -
    • - -
    • -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-contact-sheet_deprecated.html b/templates/item-contact-sheet_deprecated.html deleted file mode 100644 index 566b6fc..0000000 --- a/templates/item-contact-sheet_deprecated.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    - -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-desavantage-sheet_deprecated.html b/templates/item-desavantage-sheet_deprecated.html deleted file mode 100644 index 9577673..0000000 --- a/templates/item-desavantage-sheet_deprecated.html +++ /dev/null @@ -1,22 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - - -
    - -
      - - -
    - -
    - -
    -
    diff --git a/templates/item-equipement-sheet_deprecated.html b/templates/item-equipement-sheet_deprecated.html deleted file mode 100644 index 8a25697..0000000 --- a/templates/item-equipement-sheet_deprecated.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - - -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-fee-sheet_deprecated.html b/templates/item-fee-sheet_deprecated.html deleted file mode 100644 index 237e7cf..0000000 --- a/templates/item-fee-sheet_deprecated.html +++ /dev/null @@ -1,79 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - - -
    - -
      - -
    • - - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • - - -
    - -
    - -
    -
    diff --git a/templates/item-pouvoir-sheet_deprecated.html b/templates/item-pouvoir-sheet_deprecated.html deleted file mode 100644 index da2a7ab..0000000 --- a/templates/item-pouvoir-sheet_deprecated.html +++ /dev/null @@ -1,159 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - - {{#if system.istest}} -
    • - - -
    • - - {{#if (eq system.feeriemasque "autre")}} -
    • - - -
    • - {{else}} -
    • - - -
    • - {{/if}} - - {{/if}} - -
    • - - {{#if (eq usageMax -1)}} - - {{else}} - - {{/if}} -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - - {{#if (eq system.resistance "autre")}} -
    • - - -
    • - {{/if}} - -
    • - - -
    • - - -
    • - - -
    • - - {{#if system.isvirulence}} -
    • - - -
    • - {{/if}} - -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-profil-sheet_deprecated.html b/templates/item-profil-sheet_deprecated.html deleted file mode 100644 index d17d4f1..0000000 --- a/templates/item-profil-sheet_deprecated.html +++ /dev/null @@ -1,26 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - - -
    - -
      -
    • - - -
    • -
    - -
    - -
    -
    diff --git a/templates/item-protection-sheet_deprecated.html b/templates/item-protection-sheet_deprecated.html deleted file mode 100644 index 87ef6ee..0000000 --- a/templates/item-protection-sheet_deprecated.html +++ /dev/null @@ -1,64 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -c
    • - - -
    • -
    • - - -
    • - - -
    - -
    -
    \ No newline at end of file diff --git a/templates/item-sort-sheet_deprecated.html b/templates/item-sort-sheet_deprecated.html deleted file mode 100644 index ae9a241..0000000 --- a/templates/item-sort-sheet_deprecated.html +++ /dev/null @@ -1,136 +0,0 @@ -
    - {{> systems/fvtt-les-heritiers/templates/partial-item-header.html}} - - {{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}} - -
    - -
      -
    • - - -
    • - - {{#if (eq system.competence "Magie du Clan")}} -
    • - - -
    • - {{/if}} - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - - {{#if system.informatif}} -
    • - - -
    • - {{/if}} - -
    • - - -
    • - - - -
    • - - -
    • - -
    • - - -
    • - -
    • - - -
    • - -
    • - - - -
    • - -
    • - - - -
    • - -
    • - - - -
    • - -
    • - - -
    • - -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/partial-item-description.html b/templates/partial-item-description.html deleted file mode 100644 index b5c7b4f..0000000 --- a/templates/partial-item-description.html +++ /dev/null @@ -1,5 +0,0 @@ -
    -
    - {{editor description target="system.description" button=true owner=owner editable=editable}} -
    -
    \ No newline at end of file diff --git a/templates/partial-item-header.html b/templates/partial-item-header.html deleted file mode 100644 index 8b4c994..0000000 --- a/templates/partial-item-header.html +++ /dev/null @@ -1,8 +0,0 @@ -
    -
    - -
    -

    -
    -
    -
    diff --git a/templates/partial-item-nav.html b/templates/partial-item-nav.html deleted file mode 100644 index 95b52cd..0000000 --- a/templates/partial-item-nav.html +++ /dev/null @@ -1,5 +0,0 @@ -{{!-- Sheet Tab Navigation --}} - diff --git a/templates/post-item.html b/templates/post-item.html deleted file mode 100644 index 8ce0f51..0000000 --- a/templates/post-item.html +++ /dev/null @@ -1,8 +0,0 @@ -
    -

    {{name}}

    - {{#if img}} - - {{/if}} -

    Description :

    -

    {{{system.description}}}

    -
    diff --git a/templates/roll-dialog-generic.html b/templates/roll-dialog-generic.html deleted file mode 100644 index b2f51fb..0000000 --- a/templates/roll-dialog-generic.html +++ /dev/null @@ -1,168 +0,0 @@ -
    -
    - {{#if img}} - - {{/if}} -

    {{title}}

    -
    - -
    - - {{#if (eq mode "rang")}} -
    - {{rang.label}} - {{rang.value}} -
    - {{/if}} - - {{#if (eq mode "carac")}} -
    - Caracteristique - {{carac.label}} ({{carac.value}}) -
    - {{else}} -
    - Caracteristique - -
    - {{/if}} - - {{#if caracMessage}} -
    - {{caracMessage}} -
    - {{/if}} - - {{#if competence}} -
    - {{competence.name}} - {{competence.system.niveau}} -
    - {{#if competence.nbSpec}} -
    - Spécialités : {{competence.specList}} -
    -
    - Bonus de spécialité ? - -
    - {{/if}} - {{/if}} - - {{#if pouvoir}} -
    - Pouvoir : - {{pouvoir.name}} -
    -
    - Activation : - {{pouvoir.system.activation}} -
    - {{#if pouvoirBase}} -
    - {{pouvoirBase.label}} : - {{pouvoirBase.value}} -
    - {{/if}} -
    - Points d'usage consommés : - -
    - {{/if}} - - {{#each rulesMalus as |malus key|}} -
    - {{malus.name}} - {{malus.value}} -
    - {{/each}} - - {{#if (and arme arme.system.isMelee)}} -
    - Attaque à plusieurs - -
    -
    - Attaque dans le dos ? - -
    -
    - Attaque à deux armes - -
    -
    - Seconde arme - -
    - {{/if}} - - {{#if arme}} -
  • - - -
  • - {{/if}} - - {{#if sort}} -
    - Sort : - {{sort.name}} ({{sort.system.niveau}}) -
    -
    - Duree : - {{sort.system.duree}} -
    -
    - Portee : - {{sort.system.portee}} -
    -
    - Ingrédients : - {{sort.system.ingredients}} -
    - {{/if}} - -
    - Bonus/Malus - -
    - - {{#if cacheDifficulte}} -
    - Difficulté Cachée/Inconnue -
    - {{else}} -
    - Difficulté - -
    - {{/if}} - -
    - -
    \ No newline at end of file