diff --git a/css/fvtt-lethal-fantasy.css b/css/fvtt-lethal-fantasy.css index 0ddb2da..97dba58 100644 --- a/css/fvtt-lethal-fantasy.css +++ b/css/fvtt-lethal-fantasy.css @@ -4,7 +4,7 @@ } @font-face { font-family: "BaskervilleBold"; - src: url("../fonts/baskerville-bold.ttf") format("truetype"); + src: url("../assets/fonts/baskerville-bold.ttf") format("truetype"); } :root { --font-primary: "TimesNewRoman", serif; @@ -229,6 +229,10 @@ i.lethalfantasy { display: flex; align-items: center; } +.lethalfantasy .character-main .character-characteristics .character-characteristic span { + min-width: 2.2rem; + max-width: 2.2rem; +} .lethalfantasy .character-main .character-characteristics .character-characteristic .rollable:hover, .lethalfantasy .character-main .character-characteristics .character-characteristic .rollable:focus { text-shadow: 0 0 8px var(--color-shadow-primary); @@ -342,22 +346,22 @@ i.lethalfantasy { .lethalfantasy .character-main .character-characteristic-edit { min-width: 160px; } -.lethalfantasy .tab.character-biography .biodata { +.lethalfantasy .tab.character-biography .main-div .biodata { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } -.lethalfantasy .tab.character-biography .biodata .biodata-elem { +.lethalfantasy .tab.character-biography .main-div .biodata .biodata-elem { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-biography .biodata .biodata-elem .item-img { +.lethalfantasy .tab.character-biography .main-div .biodata .biodata-elem .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-biography .biodata .biodata-elem .name { +.lethalfantasy .tab.character-biography .main-div .biodata .biodata-elem .name { min-width: 8rem; } .lethalfantasy .character-biography prose-mirror.inactive { @@ -366,345 +370,345 @@ i.lethalfantasy { .lethalfantasy .character-biography prose-mirror.active { min-height: 150px; } -.lethalfantasy .tab.character-skills { +.lethalfantasy .tab.character-skills .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.character-skills legend a { +.lethalfantasy .tab.character-skills .main-div legend a { font-size: calc(var(--font-size-standard) * 1); padding-left: 4px; } -.lethalfantasy .tab.character-skills .skills { +.lethalfantasy .tab.character-skills .main-div .skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.character-skills .skills .skill { +.lethalfantasy .tab.character-skills .main-div .skills .skill { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-skills .skills .skill .item-img { +.lethalfantasy .tab.character-skills .main-div .skills .skill .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.character-skills .skills .skill .name { +.lethalfantasy .tab.character-skills .main-div .skills .skill .name { min-width: 12rem; } -.lethalfantasy .tab.character-skills .gifts { +.lethalfantasy .tab.character-skills .main-div .gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.character-skills .gifts .gift { +.lethalfantasy .tab.character-skills .main-div .gifts .gift { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-skills .gifts .gift .item-img { +.lethalfantasy .tab.character-skills .main-div .gifts .gift .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.character-skills .gifts .gift .name { +.lethalfantasy .tab.character-skills .main-div .gifts .gift .name { min-width: 12rem; } -.lethalfantasy .tab.character-skills .vulnerabilities { +.lethalfantasy .tab.character-skills .main-div .vulnerabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.character-skills .vulnerabilities .vulnerability { +.lethalfantasy .tab.character-skills .main-div .vulnerabilities .vulnerability { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-skills .vulnerabilities .vulnerability .item-img { +.lethalfantasy .tab.character-skills .main-div .vulnerabilities .vulnerability .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.character-skills .vulnerabilities .vulnerability .name { +.lethalfantasy .tab.character-skills .main-div .vulnerabilities .vulnerability .name { min-width: 12rem; } -.lethalfantasy .tab.character-equipment { +.lethalfantasy .tab.character-equipment .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.character-equipment legend a { +.lethalfantasy .tab.character-equipment .main-div legend a { font-size: calc(var(--font-size-standard) * 1.4); padding-left: 4px; } -.lethalfantasy .tab.character-equipment .moneys { +.lethalfantasy .tab.character-equipment .main-div .moneys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; } -.lethalfantasy .tab.character-equipment .equipments { +.lethalfantasy .tab.character-equipment .main-div .equipments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.character-equipment .equipments .equipment { +.lethalfantasy .tab.character-equipment .main-div .equipments .equipment { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-equipment .equipments .equipment .item-img { +.lethalfantasy .tab.character-equipment .main-div .equipments .equipment .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-equipment .equipments .equipment .name { +.lethalfantasy .tab.character-equipment .main-div .equipments .equipment .name { min-width: 12rem; } -.lethalfantasy .tab.character-equipment .equipments .name { +.lethalfantasy .tab.character-equipment .main-div .equipments .name { min-width: 12rem; } -.lethalfantasy .tab.character-combat { +.lethalfantasy .tab.character-combat .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.character-combat legend a { +.lethalfantasy .tab.character-combat .main-div legend a { font-size: calc(var(--font-size-standard) * 1.4); padding-left: 4px; } -.lethalfantasy .tab.character-combat .combat-details { +.lethalfantasy .tab.character-combat .main-div .combat-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .input { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .input { min-width: 2.5rem; max-width: 2.5rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail button { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail button { min-width: 9rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .armor-hp { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .armor-hp { margin-right: 4px; min-width: 10rem; max-width: 10rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .armor-hp .name { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .armor-hp .name { min-width: 6rem; max-width: 6rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .armor-hp .input { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .armor-hp .input { min-width: 2.5rem; max-width: 2.5rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .granted { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .granted { min-width: 8rem; max-width: 8rem; } -.lethalfantasy .tab.character-combat .combat-details .combat-detail .granted .input { +.lethalfantasy .tab.character-combat .main-div .combat-details .combat-detail .granted .input { min-width: 2.5rem; max-width: 2.5rem; } -.lethalfantasy .tab.character-combat .wounds { +.lethalfantasy .tab.character-combat .main-div .wounds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-combat .wounds .wound { +.lethalfantasy .tab.character-combat .main-div .wounds .wound { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-combat .wounds .wound .wound-description { +.lethalfantasy .tab.character-combat .main-div .wounds .wound .wound-description { min-width: 14rem; max-width: 14rem; } -.lethalfantasy .tab.character-combat .wounds .wound .wound-duration { +.lethalfantasy .tab.character-combat .main-div .wounds .wound .wound-duration { min-width: 3rem; max-width: 3rem; } -.lethalfantasy .tab.character-combat .wounds .wound .wound-value { +.lethalfantasy .tab.character-combat .main-div .wounds .wound .wound-value { min-width: 3rem; max-width: 3rem; } -.lethalfantasy .tab.character-combat .wounds .wound .item-img { +.lethalfantasy .tab.character-combat .main-div .wounds .wound .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-combat .wounds .wound .name { +.lethalfantasy .tab.character-combat .main-div .wounds .wound .name { min-width: 12rem; } -.lethalfantasy .tab.character-combat .weapons { +.lethalfantasy .tab.character-combat .main-div .weapons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-combat .weapons .weapon { +.lethalfantasy .tab.character-combat .main-div .weapons .weapon { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-combat .weapons .weapon .item-img { +.lethalfantasy .tab.character-combat .main-div .weapons .weapon .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-combat .weapons .weapon .name { +.lethalfantasy .tab.character-combat .main-div .weapons .weapon .name { min-width: 12rem; } -.lethalfantasy .tab.character-combat .weapons .weapon .attack-icons a { +.lethalfantasy .tab.character-combat .main-div .weapons .weapon .attack-icons a { margin-left: 8px; margin-right: 8px; } -.lethalfantasy .tab.character-combat .armors { +.lethalfantasy .tab.character-combat .main-div .armors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-combat .armors .armor { +.lethalfantasy .tab.character-combat .main-div .armors .armor { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-combat .armors .armor .item-img { +.lethalfantasy .tab.character-combat .main-div .armors .armor .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-combat .armors .name { +.lethalfantasy .tab.character-combat .main-div .armors .name { min-width: 12rem; } -.lethalfantasy .tab.character-combat .armors .item-detail { +.lethalfantasy .tab.character-combat .main-div .armors .item-detail { min-width: 2rem; } -.lethalfantasy .tab.character-combat .shields { +.lethalfantasy .tab.character-combat .main-div .shields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; min-width: 20rem; } -.lethalfantasy .tab.character-combat .shields .shield { +.lethalfantasy .tab.character-combat .main-div .shields .shield { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-combat .shields .shield .item-img { +.lethalfantasy .tab.character-combat .main-div .shields .shield .item-img { width: 24px; height: 24px; margin: 4px 0 0 0; } -.lethalfantasy .tab.character-combat .shields .item-detail { +.lethalfantasy .tab.character-combat .main-div .shields .item-detail { min-width: 2.5rem; } -.lethalfantasy .tab.character-combat .shields .name { +.lethalfantasy .tab.character-combat .main-div .shields .name { min-width: 12rem; } -.lethalfantasy .tab.character-spells { +.lethalfantasy .tab.character-spells .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.character-spells legend a { +.lethalfantasy .tab.character-spells .main-div legend a { font-size: calc(var(--font-size-standard) * 1.4); padding-left: 4px; } -.lethalfantasy .tab.character-spells .spell-details { +.lethalfantasy .tab.character-spells .main-div .spell-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-spells .spell-details .spell-detail { +.lethalfantasy .tab.character-spells .main-div .spell-details .spell-detail { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-spells .spell-details .spell-detail button { +.lethalfantasy .tab.character-spells .main-div .spell-details .spell-detail button { min-width: 10rem; } -.lethalfantasy .tab.character-spells .spell-details .spell-detail .armor-hp { +.lethalfantasy .tab.character-spells .main-div .spell-details .spell-detail .armor-hp { min-width: 12rem; max-width: 12rem; } -.lethalfantasy .tab.character-spells .spell-details .spell-detail .armor-hp .input { +.lethalfantasy .tab.character-spells .main-div .spell-details .spell-detail .armor-hp .input { flex: 0; min-width: 3rem; max-width: 3rem; } -.lethalfantasy .tab.character-spells .spells { +.lethalfantasy .tab.character-spells .main-div .spells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; min-width: 18rem; } -.lethalfantasy .tab.character-spells .spells .spell { +.lethalfantasy .tab.character-spells .main-div .spells .spell { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-spells .spells .spell .item-img { +.lethalfantasy .tab.character-spells .main-div .spells .spell .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.character-spells .spells .spell .name { +.lethalfantasy .tab.character-spells .main-div .spells .spell .name { min-width: 12rem; } -.lethalfantasy .tab.character-spells prose-mirror.inactive { +.lethalfantasy .tab.character-spells .main-div prose-mirror.inactive { min-height: 40px; } -.lethalfantasy .tab.character-spells prose-mirror.active { +.lethalfantasy .tab.character-spells .main-div prose-mirror.active { min-height: 150px; } -.lethalfantasy .tab.character-miracles { +.lethalfantasy .tab.character-miracles .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.character-miracles legend a { +.lethalfantasy .tab.character-miracles .main-div legend a { font-size: calc(var(--font-size-standard) * 1.4); padding-left: 4px; } -.lethalfantasy .tab.character-miracles .miracle-details { +.lethalfantasy .tab.character-miracles .main-div .miracle-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } -.lethalfantasy .tab.character-miracles .miracle-details .miracle-detail { +.lethalfantasy .tab.character-miracles .main-div .miracle-details .miracle-detail { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-miracles .miracle-details .miracle-detail button { +.lethalfantasy .tab.character-miracles .main-div .miracle-details .miracle-detail button { min-width: 10rem; } -.lethalfantasy .tab.character-miracles .miracle-details .miracle-detail .armor-hp { +.lethalfantasy .tab.character-miracles .main-div .miracle-details .miracle-detail .armor-hp { min-width: 20rem; max-width: 20rem; } -.lethalfantasy .tab.character-miracles .miracle-details .miracle-detail .armor-hp .input { +.lethalfantasy .tab.character-miracles .main-div .miracle-details .miracle-detail .armor-hp .input { min-width: 3rem; max-width: 3rem; } -.lethalfantasy .tab.character-miracles .miracles { +.lethalfantasy .tab.character-miracles .main-div .miracles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; min-width: 18rem; } -.lethalfantasy .tab.character-miracles .miracles .miracle { +.lethalfantasy .tab.character-miracles .main-div .miracles .miracle { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.character-miracles .miracles .miracle .item-img { +.lethalfantasy .tab.character-miracles .main-div .miracles .miracle .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.character-miracles .miracles .miracle .name { +.lethalfantasy .tab.character-miracles .main-div .miracles .miracle .name { min-width: 12rem; } -.lethalfantasy .tab.character-miracles prose-mirror.inactive { +.lethalfantasy .tab.character-miracles .main-div prose-mirror.inactive { min-height: 40px; } -.lethalfantasy .tab.character-miracles prose-mirror.active { +.lethalfantasy .tab.character-miracles .main-div prose-mirror.active { min-height: 150px; } .lethalfantasy .monster-content { @@ -848,6 +852,10 @@ i.lethalfantasy { text-shadow: 0 0 8px var(--color-shadow-primary); cursor: pointer; } +.lethalfantasy .monster-main .monster-characteristics .monster-characteristic span { + min-width: 2.2rem; + max-width: 2.2rem; +} .lethalfantasy .monster-main .monster-characteristics .monster-characteristic .form-group { flex: 1; padding-left: 4px; @@ -960,17 +968,17 @@ i.lethalfantasy { .lethalfantasy .monster-main .monster-characteristic-edit { min-width: 200px; } -.lethalfantasy .tab.monster-biography .biodata { +.lethalfantasy .tab.monster-biography .main-div .biodata { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } -.lethalfantasy .tab.monster-biography .biodata .biodata-elem { +.lethalfantasy .tab.monster-biography .main-div .biodata .biodata-elem { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.monster-biography .biodata .biodata-elem .name { +.lethalfantasy .tab.monster-biography .main-div .biodata .biodata-elem .name { min-width: 8rem; } .lethalfantasy .monster-biography prose-mirror.inactive { @@ -979,63 +987,63 @@ i.lethalfantasy { .lethalfantasy .monster-biography prose-mirror.active { min-height: 150px; } -.lethalfantasy .tab.monster-skills { +.lethalfantasy .tab.monster-skills .main-div { display: grid; grid-template-columns: 1fr; } -.lethalfantasy .tab.monster-skills legend a { +.lethalfantasy .tab.monster-skills .main-div legend a { font-size: calc(var(--font-size-standard) * 1); padding-left: 4px; } -.lethalfantasy .tab.monster-skills .skills { +.lethalfantasy .tab.monster-skills .main-div .skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.monster-skills .skills .skill { +.lethalfantasy .tab.monster-skills .main-div .skills .skill { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.monster-skills .skills .skill .item-img { +.lethalfantasy .tab.monster-skills .main-div .skills .skill .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.monster-skills .skills .skill .name { +.lethalfantasy .tab.monster-skills .main-div .skills .skill .name { min-width: 12rem; } -.lethalfantasy .tab.monster-skills .gifts { +.lethalfantasy .tab.monster-skills .main-div .gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.monster-skills .gifts .gift { +.lethalfantasy .tab.monster-skills .main-div .gifts .gift { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.monster-skills .gifts .gift .item-img { +.lethalfantasy .tab.monster-skills .main-div .gifts .gift .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.monster-skills .gifts .gift .name { +.lethalfantasy .tab.monster-skills .main-div .gifts .gift .name { min-width: 12rem; } -.lethalfantasy .tab.monster-skills .vulnerabilities { +.lethalfantasy .tab.monster-skills .main-div .vulnerabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } -.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability { +.lethalfantasy .tab.monster-skills .main-div .vulnerabilities .vulnerability { display: flex; align-items: center; gap: 4px; } -.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability .item-img { +.lethalfantasy .tab.monster-skills .main-div .vulnerabilities .vulnerability .item-img { width: 24px; height: 24px; } -.lethalfantasy .tab.monster-skills .vulnerabilities .vulnerability .name { +.lethalfantasy .tab.monster-skills .main-div .vulnerabilities .vulnerability .name { min-width: 12rem; } .lethalfantasy .tab.monster-equipment { diff --git a/lethal-fantasy.mjs b/lethal-fantasy.mjs index ef307de..5fd69b9 100644 --- a/lethal-fantasy.mjs +++ b/lethal-fantasy.mjs @@ -11,12 +11,12 @@ import * as models from "./module/models/_module.mjs" import * as documents from "./module/documents/_module.mjs" import * as applications from "./module/applications/_module.mjs" -import { LethalFantasyCombatTracker, LethalFantasyCombat} from "./module/applications/combat.mjs" +import { LethalFantasyCombatTracker, LethalFantasyCombat } from "./module/applications/combat.mjs" import { Macros } from "./module/macros.mjs" import { setupTextEnrichers } from "./module/enrichers.mjs" import { default as LethalFantasyUtils } from "./module/utils.mjs" -export class ClassCounter{static printHello(){console.log("Hello")}static sendJsonPostRequest(e,s){const t={method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(s)};return fetch(e,t).then((e=>{if(!e.ok)throw new Error("La requête a échoué avec le statut "+e.status);return e.json()})).catch((e=>{throw console.error("Erreur envoi de la requête:",e),e}))}static registerUsageCount(e=game.system.id,s={}){if(game.user.isGM){game.settings.register(e,"world-key",{name:"Unique world key",scope:"world",config:!1,default:"",type:String});let t=game.settings.get(e,"world-key");null!=t&&""!=t&&"NONE"!=t&&"none"!=t.toLowerCase()||(t=foundry.utils.randomID(32),game.settings.set(e,"world-key",t));let a={name:e,system:game.system.id,worldKey:t,version:game.system.version,language:game.settings.get("core","language"),remoteAddr:game.data.addresses.remote,nbInstalledModules:game.modules.size,nbActiveModules:game.modules.filter((e=>e.active)).length,nbPacks:game.world.packs.size,nbUsers:game.users.size,nbScenes:game.scenes.size,nbActors:game.actors.size,nbPlaylist:game.playlists.size,nbTables:game.tables.size,nbCards:game.cards.size,optionsData:s,foundryVersion:`${game.release.generation}.${game.release.build}`};this.sendJsonPostRequest("https://www.uberwald.me/fvtt_appcount/count_post.php",a)}}} +export class ClassCounter { static printHello() { console.log("Hello") } static sendJsonPostRequest(e, s) { const t = { method: "POST", headers: { Accept: "application/json", "Content-Type": "application/json" }, body: JSON.stringify(s) }; return fetch(e, t).then((e => { if (!e.ok) throw new Error("La requête a échoué avec le statut " + e.status); return e.json() })).catch((e => { throw console.error("Erreur envoi de la requête:", e), e })) } static registerUsageCount(e = game.system.id, s = {}) { if (game.user.isGM) { game.settings.register(e, "world-key", { name: "Unique world key", scope: "world", config: !1, default: "", type: String }); let t = game.settings.get(e, "world-key"); null != t && "" != t && "NONE" != t && "none" != t.toLowerCase() || (t = foundry.utils.randomID(32), game.settings.set(e, "world-key", t)); let a = { name: e, system: game.system.id, worldKey: t, version: game.system.version, language: game.settings.get("core", "language"), remoteAddr: game.data.addresses.remote, nbInstalledModules: game.modules.size, nbActiveModules: game.modules.filter((e => e.active)).length, nbPacks: game.world.packs.size, nbUsers: game.users.size, nbScenes: game.scenes.size, nbActors: game.actors.size, nbPlaylist: game.playlists.size, nbTables: game.tables.size, nbCards: game.cards.size, optionsData: s, foundryVersion: `${game.release.generation}.${game.release.build}` }; this.sendJsonPostRequest("https://www.uberwald.me/fvtt_appcount/count_post.php", a) } } } Hooks.once("init", function () { console.info("Lethal Fantasy RPG | Initializing System") @@ -55,20 +55,20 @@ Hooks.once("init", function () { } // Register sheet application classes - Actors.unregisterSheet("core", ActorSheet) - Actors.registerSheet("lethalFantasy", applications.LethalFantasyCharacterSheet, { types: ["character"], makeDefault: true }) - Actors.registerSheet("lethalFantasy", applications.LethalFantasyMonsterSheet, { types: ["monster"], makeDefault: true }) + foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet) + foundry.documents.collections.Actors.registerSheet("lethalFantasy", applications.LethalFantasyCharacterSheet, { types: ["character"], makeDefault: true }) + foundry.documents.collections.Actors.registerSheet("lethalFantasy", applications.LethalFantasyMonsterSheet, { types: ["monster"], makeDefault: true }) - Items.unregisterSheet("core", ItemSheet) - Items.registerSheet("lethalFantasy", applications.LethalFantasySkillSheet, { types: ["skill"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyGiftSheet, { types: ["gift"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyVulnerabilitySheet, { types: ["vulnerability"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyWeaponSheet, { types: ["weapon"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasySpellSheet, { types: ["spell"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyArmorSheet, { types: ["armor"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyShieldSheet, { types: ["shield"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyEquipmentSheet, { types: ["equipment"], makeDefault: true }) - Items.registerSheet("lethalFantasy", applications.LethalFantasyMiracleSheet, { types: ["miracle"], makeDefault: true }) + foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ActorSheet) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasySkillSheet, { types: ["skill"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyGiftSheet, { types: ["gift"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyVulnerabilitySheet, { types: ["vulnerability"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyWeaponSheet, { types: ["weapon"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasySpellSheet, { types: ["spell"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyArmorSheet, { types: ["armor"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyShieldSheet, { types: ["shield"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyEquipmentSheet, { types: ["equipment"], makeDefault: true }) + foundry.documents.collections.Items.registerSheet("lethalFantasy", applications.LethalFantasyMiracleSheet, { types: ["miracle"], makeDefault: true }) // Other Document Configuration CONFIG.ChatMessage.documentClass = documents.LethalFantasyChatMessage @@ -89,7 +89,7 @@ Hooks.once("init", function () { setupTextEnrichers() LethalFantasyUtils.registerHandlebarsHelpers() - LethalFantasyUtils.setHookListeners( ) + LethalFantasyUtils.setHookListeners() console.info("LETHAL FANTASY | System Initialized") }) @@ -105,11 +105,6 @@ function preLocalizeConfig() { } } } - - // CONFIG.Dice.rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) - - // localizeConfigObject(SYSTEM.ACTION.TAG_CATEGORIES, ["label"]) - // localizeConfigObject(CONFIG.Dice.rollModes, ["label"]) } Hooks.once("ready", function () { @@ -133,7 +128,7 @@ Hooks.once("ready", function () { // Test if version below 13 let hookName = "renderChatMessage" -if (foundry.utils.isNewerVersion(game.version, "12.0", )) { +if (foundry.utils.isNewerVersion(game.version, "12.0",)) { hookName = "renderChatMessageHTML" } Hooks.on(hookName, (message, html, data) => { diff --git a/module/applications/combat.mjs b/module/applications/combat.mjs index cc4caef..169b27f 100644 --- a/module/applications/combat.mjs +++ b/module/applications/combat.mjs @@ -1,6 +1,6 @@ /* -------------------------------------------- */ -export class LethalFantasyCombatTracker extends CombatTracker { +export class LethalFantasyCombatTracker extends foundry.applications.sidebar.tabs.CombatTracker { async getData(options) { let data = await super.getData(options); diff --git a/module/applications/sheets/armor-sheet.mjs b/module/applications/sheets/armor-sheet.mjs index 3119274..9f9c04b 100644 --- a/module/applications/sheets/armor-sheet.mjs +++ b/module/applications/sheets/armor-sheet.mjs @@ -23,7 +23,7 @@ export default class LethalFantasyArmorSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } diff --git a/module/applications/sheets/base-actor-sheet.mjs b/module/applications/sheets/base-actor-sheet.mjs index 6ae2f2f..6901594 100644 --- a/module/applications/sheets/base-actor-sheet.mjs +++ b/module/applications/sheets/base-actor-sheet.mjs @@ -67,7 +67,7 @@ export default class LethalFantasyActorSheet extends HandlebarsApplicationMixin( actor: this.document, system: this.document.system, source: this.document.toObject(), - enrichedDescription: await TextEditor.enrichHTML(this.document.system.description, { async: true }), + enrichedDescription: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }), isEditMode: this.isEditMode, isPlayMode: this.isPlayMode, isEditable: this.isEditable, @@ -100,7 +100,7 @@ export default class LethalFantasyActorSheet extends HandlebarsApplicationMixin( dragover: this._onDragOver.bind(this), drop: this._onDrop.bind(this), } - return new DragDrop(d) + return new foundry.applications.ux.DragDrop.implementation(d) }) } diff --git a/module/applications/sheets/base-item-sheet.mjs b/module/applications/sheets/base-item-sheet.mjs index 745f183..8b284da 100644 --- a/module/applications/sheets/base-item-sheet.mjs +++ b/module/applications/sheets/base-item-sheet.mjs @@ -58,22 +58,25 @@ export default class LethalFantasyItemSheet extends HandlebarsApplicationMixin(f /** @override */ async _prepareContext() { - const context = { + let context = await super._prepareContext() + const contextLocal = { fields: this.document.schema.fields, systemFields: this.document.system.schema.fields, item: this.document, system: this.document.system, source: this.document.toObject(), - enrichedDescription: await TextEditor.enrichHTML(this.document.system.description, { async: true }), + enrichedDescription: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }), isEditMode: this.isEditMode, isPlayMode: this.isPlayMode, isEditable: this.isEditable, } + context = mergeObject(context, contextLocal) return context } /** @override */ _onRender(context, options) { + super._onRender(context, options) this.#dragDrop.forEach((d) => d.bind(this.element)) } diff --git a/module/applications/sheets/character-sheet.mjs b/module/applications/sheets/character-sheet.mjs index 1ddcbf0..67f2ca3 100644 --- a/module/applications/sheets/character-sheet.mjs +++ b/module/applications/sheets/character-sheet.mjs @@ -90,9 +90,6 @@ export default class LethalFantasyCharacterSheet extends LethalFantasyActorSheet return context } - _generateTooltip(type, target) { - } - /** @override */ async _preparePartContext(partId, context) { const doc = this.document @@ -127,8 +124,8 @@ export default class LethalFantasyCharacterSheet extends LethalFantasyActorSheet break case "biography": context.tab = context.tabs.biography - context.enrichedDescription = await TextEditor.enrichHTML(doc.system.description, { async: true }) - context.enrichedNotes = await TextEditor.enrichHTML(doc.system.notes, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(doc.system.description, { async: true }) + context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(doc.system.notes, { async: true }) break } return context @@ -143,18 +140,17 @@ export default class LethalFantasyCharacterSheet extends LethalFantasyActorSheet */ async _onDrop(event) { if (!this.isEditable || !this.isEditMode) return - const data = TextEditor.getDragEventData(event) + const data = foundry.applications.ux.TextEditor.implementation.getDragEventData(event) // Handle different data types - switch (data.type) { - case "Item": - const item = await fromUuid(data.uuid) - return this._onDropItem(item) + if (data.type === "Item") { + const item = await fromUuid(data.uuid) + return this._onDropItem(item) } } static async #onRangedAttackDefense(event, target) { - const hasTarget = false + // Future use : const hasTarget = false let roll = await LethalFantasyRoll.promptRangedDefense({ actorId: this.actor.id, diff --git a/module/applications/sheets/equipment-sheet.mjs b/module/applications/sheets/equipment-sheet.mjs index dbeb156..0335cd4 100644 --- a/module/applications/sheets/equipment-sheet.mjs +++ b/module/applications/sheets/equipment-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasyEquipmentSheet extends LethalFantasyItemSheet /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } } diff --git a/module/applications/sheets/gift-sheet.mjs b/module/applications/sheets/gift-sheet.mjs index e37b986..ca723c0 100644 --- a/module/applications/sheets/gift-sheet.mjs +++ b/module/applications/sheets/gift-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasyGiftSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } } diff --git a/module/applications/sheets/miracle-sheet.mjs b/module/applications/sheets/miracle-sheet.mjs index e9b4afe..6d12c2e 100644 --- a/module/applications/sheets/miracle-sheet.mjs +++ b/module/applications/sheets/miracle-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasyMiracleSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } diff --git a/module/applications/sheets/monster-sheet.mjs b/module/applications/sheets/monster-sheet.mjs index 311756d..065afd5 100644 --- a/module/applications/sheets/monster-sheet.mjs +++ b/module/applications/sheets/monster-sheet.mjs @@ -63,9 +63,6 @@ export default class LethalFantasyMonsterSheet extends LethalFantasyActorSheet { return context } - _generateTooltip(type, target) { - } - /** @override */ async _preparePartContext(partId, context) { const doc = this.document @@ -78,8 +75,8 @@ export default class LethalFantasyMonsterSheet extends LethalFantasyActorSheet { break case "biography": context.tab = context.tabs.biography - context.enrichedDescription = await TextEditor.enrichHTML(doc.system.description, { async: true }) - context.enrichedNotes = await TextEditor.enrichHTML(doc.system.notes, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(doc.system.description, { async: true }) + context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(doc.system.notes, { async: true }) break } return context diff --git a/module/applications/sheets/shield-sheet.mjs b/module/applications/sheets/shield-sheet.mjs index 30bc6df..ff1a462 100644 --- a/module/applications/sheets/shield-sheet.mjs +++ b/module/applications/sheets/shield-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasyShieldSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } } diff --git a/module/applications/sheets/skill-sheet.mjs b/module/applications/sheets/skill-sheet.mjs index 7f37a82..84753c3 100644 --- a/module/applications/sheets/skill-sheet.mjs +++ b/module/applications/sheets/skill-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasySkillSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } } diff --git a/module/applications/sheets/spell-sheet.mjs b/module/applications/sheets/spell-sheet.mjs index de7237c..bf3c954 100644 --- a/module/applications/sheets/spell-sheet.mjs +++ b/module/applications/sheets/spell-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasySpellSheet extends LethalFantasyItemSheet { /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } diff --git a/module/applications/sheets/vulnerability-sheet.mjs b/module/applications/sheets/vulnerability-sheet.mjs index 70d386d..07588e6 100644 --- a/module/applications/sheets/vulnerability-sheet.mjs +++ b/module/applications/sheets/vulnerability-sheet.mjs @@ -22,7 +22,7 @@ export default class LethalFantasyVulnerabilitySheet extends LethalFantasyItemSh /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } } diff --git a/module/applications/sheets/weapon-sheet.mjs b/module/applications/sheets/weapon-sheet.mjs index a8f8672..bc2b683 100644 --- a/module/applications/sheets/weapon-sheet.mjs +++ b/module/applications/sheets/weapon-sheet.mjs @@ -18,11 +18,11 @@ export default class LethalFantasyWeaponSheet extends LethalFantasyItemSheet { template: "systems/fvtt-lethal-fantasy/templates/weapon.hbs", }, } - + /** @override */ async _prepareContext() { const context = await super._prepareContext() - context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) + context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true }) return context } diff --git a/module/documents/roll.mjs b/module/documents/roll.mjs index 65ea201..642692c 100644 --- a/module/documents/roll.mjs +++ b/module/documents/roll.mjs @@ -292,8 +292,7 @@ export default class LethalFantasyRoll extends Roll { hasModifier = false } - console.log("Roll mode", CONFIG.Dice.rollModes) - const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) + const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); // v12 : Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) console.log("Roll mode", rollModes) const fieldRollMode = new foundry.data.fields.StringField({ @@ -332,7 +331,7 @@ export default class LethalFantasyRoll extends Roll { favor: "none", targetName } - const content = await renderTemplate("systems/fvtt-lethal-fantasy/templates/roll-dialog.hbs", dialogContext) + const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/roll-dialog.hbs", dialogContext) let position = game.user.getFlag(SYSTEM.id, "roll-dialog-pos") || { top: -1, left: -1 } const label = game.i18n.localize("LETHALFANTASY.Roll.roll") @@ -345,7 +344,8 @@ export default class LethalFantasyRoll extends Roll { { label: label, callback: (event, button, dialog) => { - let position = $(dialog).position() + console.log("Roll context", event, button, dialog) + let position = dialog.position game.user.setFlag(SYSTEM.id, "roll-dialog-pos", foundry.utils.duplicate(position)) const output = Array.from(button.form.elements).reduce((obj, input) => { if (input.name) obj[input.name] = input.value @@ -569,7 +569,7 @@ export default class LethalFantasyRoll extends Roll { /* ***********************************************************/ static async promptInitiative(options = {}) { - const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) + const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); // v12 : Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) const fieldRollMode = new foundry.data.fields.StringField({ choices: rollModes, blank: false, @@ -592,7 +592,7 @@ export default class LethalFantasyRoll extends Roll { } console.log("CTX", dialogContext) - const content = await renderTemplate("systems/fvtt-lethal-fantasy/templates/roll-initiative-dialog.hbs", dialogContext) + const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/roll-initiative-dialog.hbs", dialogContext) const label = game.i18n.localize("LETHALFANTASY.Label.initiative") const rollContext = await foundry.applications.api.DialogV2.wait({ @@ -631,7 +631,7 @@ export default class LethalFantasyRoll extends Roll { /* ***********************************************************/ static async promptCombatAction(options = {}) { - const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) + const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); // v12 : Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) const fieldRollMode = new foundry.data.fields.StringField({ choices: rollModes, blank: false, @@ -655,7 +655,7 @@ export default class LethalFantasyRoll extends Roll { ...options } - const content = await renderTemplate("systems/fvtt-lethal-fantasy/templates/combat-action-dialog.hbs", dialogContext) + const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-lethal-fantasy/templates/combat-action-dialog.hbs", dialogContext) let buttons = [] if (currentAction) { @@ -890,7 +890,7 @@ export default class LethalFantasyRoll extends Roll { /* ***********************************************************/ static async promptRangedDefense(rollTarget) { - const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) + const rollModes = foundry.utils.duplicate(CONFIG.Dice.rollModes); // v12 : Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)])) const fieldRollMode = new foundry.data.fields.StringField({ choices: rollModes, blank: false, @@ -1053,7 +1053,7 @@ export default class LethalFantasyRoll extends Roll { async render(chatOptions = {}) { let chatData = await this._getChatCardData(chatOptions.isPrivate) console.log("ChatData", chatData) - return await renderTemplate(this.constructor.CHAT_TEMPLATE, chatData) + return await foundry.applications.handlebars.renderTemplate(this.constructor.CHAT_TEMPLATE, chatData) } /* diff --git a/module/utils.mjs b/module/utils.mjs index ae5a797..7e41065 100644 --- a/module/utils.mjs +++ b/module/utils.mjs @@ -22,28 +22,28 @@ export default class LethalFantasyUtils { static setHookListeners() { Hooks.on('renderTokenHUD', async (hud, html, token) => { - const lossHPButton = await renderTemplate('systems/fvtt-lethal-fantasy/templates/loss-hp-hud.hbs', {} ) - html.find('div.left').append(lossHPButton); - html.find('img.lethal-hp-loss-hud').click((event) => { + const lossHPButton = await foundry.applications.handlebars.renderTemplate('systems/fvtt-lethal-fantasy/templates/loss-hp-hud.hbs', {} ) + $(html).find('div.left').append(lossHPButton); + $(html).find('img.lethal-hp-loss-hud').click((event) => { event.preventDefault(); - let hpMenu = html.find('.hp-loss-wrap')[0] + let hpMenu = $(html).find('.hp-loss-wrap')[0] if (hpMenu.classList.contains("hp-loss-hud-disabled")) { - html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-disabled'); } else { - html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); } }) - html.find('.loss-hp-hud-click').click((event) => { + $(html).find('.loss-hp-hud-click').click((event) => { event.preventDefault(); let hpLoss = event.currentTarget.dataset.hpValue; if (token) { @@ -51,12 +51,12 @@ export default class LethalFantasyUtils { console.log(tokenFull, token) let actor = tokenFull.actor; actor.applyDamage(Number(hpLoss)); - html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); - html.find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); - html.find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[1].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[1].classList.add('hp-loss-hud-disabled'); + $(html).find('.hp-loss-wrap')[2].classList.remove('hp-loss-hud-active'); + $(html).find('.hp-loss-wrap')[2].classList.add('hp-loss-hud-disabled'); } }) }) diff --git a/packs-system/lf-equipment/000302.ldb b/packs-system/lf-equipment/000302.ldb deleted file mode 100644 index d0043ec..0000000 Binary files a/packs-system/lf-equipment/000302.ldb and /dev/null differ diff --git a/packs-system/lf-equipment/000323.ldb b/packs-system/lf-equipment/000323.ldb new file mode 100644 index 0000000..8095960 Binary files /dev/null and b/packs-system/lf-equipment/000323.ldb differ diff --git a/packs-system/lf-equipment/000313.log b/packs-system/lf-equipment/000338.log similarity index 100% rename from packs-system/lf-equipment/000313.log rename to packs-system/lf-equipment/000338.log diff --git a/packs-system/lf-equipment/CURRENT b/packs-system/lf-equipment/CURRENT index cd37fac..26ca7ad 100644 --- a/packs-system/lf-equipment/CURRENT +++ b/packs-system/lf-equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000311 +MANIFEST-000336 diff --git a/packs-system/lf-equipment/LOG b/packs-system/lf-equipment/LOG index 565c495..5fa2072 100644 --- a/packs-system/lf-equipment/LOG +++ b/packs-system/lf-equipment/LOG @@ -1,8 +1,8 @@ -2025/05/10-00:05:33.968698 7fc4edbfa6c0 Recovering log #309 -2025/05/10-00:05:33.979040 7fc4edbfa6c0 Delete type=3 #307 -2025/05/10-00:05:33.979178 7fc4edbfa6c0 Delete type=0 #309 -2025/05/10-00:18:03.109062 7fc4e73ff6c0 Level-0 table #314: started -2025/05/10-00:18:03.109102 7fc4e73ff6c0 Level-0 table #314: 0 bytes OK -2025/05/10-00:18:03.143055 7fc4e73ff6c0 Delete type=0 #312 -2025/05/10-00:18:03.213868 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) -2025/05/10-00:18:03.213931 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) +2025/05/14-09:18:06.447327 7f5ccd7fa6c0 Recovering log #334 +2025/05/14-09:18:06.457498 7f5ccd7fa6c0 Delete type=3 #332 +2025/05/14-09:18:06.457555 7f5ccd7fa6c0 Delete type=0 #334 +2025/05/14-10:01:12.490342 7f5ccb7ff6c0 Level-0 table #339: started +2025/05/14-10:01:12.490385 7f5ccb7ff6c0 Level-0 table #339: 0 bytes OK +2025/05/14-10:01:12.496360 7f5ccb7ff6c0 Delete type=0 #337 +2025/05/14-10:01:12.515162 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) +2025/05/14-10:01:12.515209 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/LOG.old b/packs-system/lf-equipment/LOG.old index ecb7d1d..4159263 100644 --- a/packs-system/lf-equipment/LOG.old +++ b/packs-system/lf-equipment/LOG.old @@ -1,8 +1,8 @@ -2025/05/09-22:47:41.220359 7fc4ecbf86c0 Recovering log #305 -2025/05/09-22:47:41.271727 7fc4ecbf86c0 Delete type=3 #303 -2025/05/09-22:47:41.271792 7fc4ecbf86c0 Delete type=0 #305 -2025/05/09-22:48:57.689333 7fc4e73ff6c0 Level-0 table #310: started -2025/05/09-22:48:57.689356 7fc4e73ff6c0 Level-0 table #310: 0 bytes OK -2025/05/09-22:48:57.695394 7fc4e73ff6c0 Delete type=0 #308 -2025/05/09-22:48:57.708739 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) -2025/05/09-22:48:57.708810 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) +2025/05/14-07:47:09.475124 7f5ccd7fa6c0 Recovering log #330 +2025/05/14-07:47:09.486681 7f5ccd7fa6c0 Delete type=3 #328 +2025/05/14-07:47:09.486812 7f5ccd7fa6c0 Delete type=0 #330 +2025/05/14-08:06:15.866972 7f5ccb7ff6c0 Level-0 table #335: started +2025/05/14-08:06:15.867049 7f5ccb7ff6c0 Level-0 table #335: 0 bytes OK +2025/05/14-08:06:15.873425 7f5ccb7ff6c0 Delete type=0 #333 +2025/05/14-08:06:15.893680 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) +2025/05/14-08:06:15.893803 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/MANIFEST-000311 b/packs-system/lf-equipment/MANIFEST-000311 deleted file mode 100644 index 256a5b4..0000000 Binary files a/packs-system/lf-equipment/MANIFEST-000311 and /dev/null differ diff --git a/packs-system/lf-equipment/MANIFEST-000336 b/packs-system/lf-equipment/MANIFEST-000336 new file mode 100644 index 0000000..805c895 Binary files /dev/null and b/packs-system/lf-equipment/MANIFEST-000336 differ diff --git a/packs-system/lf-gifts/000301.ldb b/packs-system/lf-gifts/000301.ldb deleted file mode 100644 index 73bd125..0000000 Binary files a/packs-system/lf-gifts/000301.ldb and /dev/null differ diff --git a/packs-system/lf-gifts/000322.ldb b/packs-system/lf-gifts/000322.ldb new file mode 100644 index 0000000..63c4192 Binary files /dev/null and b/packs-system/lf-gifts/000322.ldb differ diff --git a/packs-system/lf-gifts/000312.log b/packs-system/lf-gifts/000337.log similarity index 100% rename from packs-system/lf-gifts/000312.log rename to packs-system/lf-gifts/000337.log diff --git a/packs-system/lf-gifts/CURRENT b/packs-system/lf-gifts/CURRENT index 621932e..adf199b 100644 --- a/packs-system/lf-gifts/CURRENT +++ b/packs-system/lf-gifts/CURRENT @@ -1 +1 @@ -MANIFEST-000310 +MANIFEST-000335 diff --git a/packs-system/lf-gifts/LOG b/packs-system/lf-gifts/LOG index 368aec2..0e2d60a 100644 --- a/packs-system/lf-gifts/LOG +++ b/packs-system/lf-gifts/LOG @@ -1,8 +1,8 @@ -2025/05/10-00:05:33.984133 7fc4e7fff6c0 Recovering log #308 -2025/05/10-00:05:33.996710 7fc4e7fff6c0 Delete type=3 #306 -2025/05/10-00:05:33.996815 7fc4e7fff6c0 Delete type=0 #308 -2025/05/10-00:18:03.143238 7fc4e73ff6c0 Level-0 table #313: started -2025/05/10-00:18:03.143277 7fc4e73ff6c0 Level-0 table #313: 0 bytes OK -2025/05/10-00:18:03.183026 7fc4e73ff6c0 Delete type=0 #311 -2025/05/10-00:18:03.213885 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/05/10-00:18:03.213947 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/05/14-09:18:06.461139 7f5ccdffb6c0 Recovering log #333 +2025/05/14-09:18:06.471748 7f5ccdffb6c0 Delete type=3 #331 +2025/05/14-09:18:06.471810 7f5ccdffb6c0 Delete type=0 #333 +2025/05/14-10:01:12.509221 7f5ccb7ff6c0 Level-0 table #338: started +2025/05/14-10:01:12.509244 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK +2025/05/14-10:01:12.515073 7f5ccb7ff6c0 Delete type=0 #336 +2025/05/14-10:01:12.515202 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/05/14-10:01:12.515252 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/LOG.old b/packs-system/lf-gifts/LOG.old index 349834b..37770ea 100644 --- a/packs-system/lf-gifts/LOG.old +++ b/packs-system/lf-gifts/LOG.old @@ -1,8 +1,8 @@ -2025/05/09-22:47:41.276588 7fc4e7fff6c0 Recovering log #304 -2025/05/09-22:47:41.333577 7fc4e7fff6c0 Delete type=3 #302 -2025/05/09-22:47:41.333706 7fc4e7fff6c0 Delete type=0 #304 -2025/05/09-22:48:57.695515 7fc4e73ff6c0 Level-0 table #309: started -2025/05/09-22:48:57.695539 7fc4e73ff6c0 Level-0 table #309: 0 bytes OK -2025/05/09-22:48:57.702267 7fc4e73ff6c0 Delete type=0 #307 -2025/05/09-22:48:57.708758 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/05/09-22:48:57.708826 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/05/14-07:47:09.493325 7f5ccc7f86c0 Recovering log #329 +2025/05/14-07:47:09.503988 7f5ccc7f86c0 Delete type=3 #327 +2025/05/14-07:47:09.504090 7f5ccc7f86c0 Delete type=0 #329 +2025/05/14-08:06:15.873602 7f5ccb7ff6c0 Level-0 table #334: started +2025/05/14-08:06:15.873653 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK +2025/05/14-08:06:15.879920 7f5ccb7ff6c0 Delete type=0 #332 +2025/05/14-08:06:15.893720 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/05/14-08:06:15.893853 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-gifts/MANIFEST-000310 b/packs-system/lf-gifts/MANIFEST-000310 deleted file mode 100644 index 43c5d42..0000000 Binary files a/packs-system/lf-gifts/MANIFEST-000310 and /dev/null differ diff --git a/packs-system/lf-gifts/MANIFEST-000335 b/packs-system/lf-gifts/MANIFEST-000335 new file mode 100644 index 0000000..595590a Binary files /dev/null and b/packs-system/lf-gifts/MANIFEST-000335 differ diff --git a/packs-system/lf-skills/000301.ldb b/packs-system/lf-skills/000301.ldb deleted file mode 100644 index 3ada11a..0000000 Binary files a/packs-system/lf-skills/000301.ldb and /dev/null differ diff --git a/packs-system/lf-skills/000322.ldb b/packs-system/lf-skills/000322.ldb new file mode 100644 index 0000000..26f3c3f Binary files /dev/null and b/packs-system/lf-skills/000322.ldb differ diff --git a/packs-system/lf-skills/000312.log b/packs-system/lf-skills/000337.log similarity index 100% rename from packs-system/lf-skills/000312.log rename to packs-system/lf-skills/000337.log diff --git a/packs-system/lf-skills/CURRENT b/packs-system/lf-skills/CURRENT index 621932e..adf199b 100644 --- a/packs-system/lf-skills/CURRENT +++ b/packs-system/lf-skills/CURRENT @@ -1 +1 @@ -MANIFEST-000310 +MANIFEST-000335 diff --git a/packs-system/lf-skills/LOG b/packs-system/lf-skills/LOG index 1680ad0..dcf1656 100644 --- a/packs-system/lf-skills/LOG +++ b/packs-system/lf-skills/LOG @@ -1,8 +1,8 @@ -2025/05/10-00:05:33.955181 7fc4ed3f96c0 Recovering log #308 -2025/05/10-00:05:33.965658 7fc4ed3f96c0 Delete type=3 #306 -2025/05/10-00:05:33.965713 7fc4ed3f96c0 Delete type=0 #308 -2025/05/10-00:18:03.078194 7fc4e73ff6c0 Level-0 table #313: started -2025/05/10-00:18:03.078263 7fc4e73ff6c0 Level-0 table #313: 0 bytes OK -2025/05/10-00:18:03.108887 7fc4e73ff6c0 Delete type=0 #311 -2025/05/10-00:18:03.213845 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) -2025/05/10-00:18:03.213916 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/05/14-09:18:06.433768 7f5ccc7f86c0 Recovering log #333 +2025/05/14-09:18:06.444450 7f5ccc7f86c0 Delete type=3 #331 +2025/05/14-09:18:06.444513 7f5ccc7f86c0 Delete type=0 #333 +2025/05/14-10:01:12.502915 7f5ccb7ff6c0 Level-0 table #338: started +2025/05/14-10:01:12.502947 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK +2025/05/14-10:01:12.509102 7f5ccb7ff6c0 Delete type=0 #336 +2025/05/14-10:01:12.515190 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/05/14-10:01:12.515243 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/LOG.old b/packs-system/lf-skills/LOG.old index dd28608..91560c9 100644 --- a/packs-system/lf-skills/LOG.old +++ b/packs-system/lf-skills/LOG.old @@ -1,8 +1,8 @@ -2025/05/09-22:47:41.162789 7fc4ed3f96c0 Recovering log #304 -2025/05/09-22:47:41.216906 7fc4ed3f96c0 Delete type=3 #302 -2025/05/09-22:47:41.217026 7fc4ed3f96c0 Delete type=0 #304 -2025/05/09-22:48:57.683143 7fc4e73ff6c0 Level-0 table #309: started -2025/05/09-22:48:57.683210 7fc4e73ff6c0 Level-0 table #309: 0 bytes OK -2025/05/09-22:48:57.689209 7fc4e73ff6c0 Delete type=0 #307 -2025/05/09-22:48:57.708705 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) -2025/05/09-22:48:57.708793 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/05/14-07:47:09.459336 7f5ccdffb6c0 Recovering log #329 +2025/05/14-07:47:09.470303 7f5ccdffb6c0 Delete type=3 #327 +2025/05/14-07:47:09.470418 7f5ccdffb6c0 Delete type=0 #329 +2025/05/14-08:06:15.886675 7f5ccb7ff6c0 Level-0 table #334: started +2025/05/14-08:06:15.886731 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK +2025/05/14-08:06:15.893424 7f5ccb7ff6c0 Delete type=0 #332 +2025/05/14-08:06:15.893775 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) +2025/05/14-08:06:15.893909 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-skills/MANIFEST-000310 b/packs-system/lf-skills/MANIFEST-000310 deleted file mode 100644 index b894a22..0000000 Binary files a/packs-system/lf-skills/MANIFEST-000310 and /dev/null differ diff --git a/packs-system/lf-skills/MANIFEST-000335 b/packs-system/lf-skills/MANIFEST-000335 new file mode 100644 index 0000000..1389ec2 Binary files /dev/null and b/packs-system/lf-skills/MANIFEST-000335 differ diff --git a/packs-system/lf-spells-miracles/000005.ldb b/packs-system/lf-spells-miracles/000005.ldb deleted file mode 100644 index d0c5381..0000000 Binary files a/packs-system/lf-spells-miracles/000005.ldb and /dev/null differ diff --git a/packs-system/lf-spells-miracles/000022.ldb b/packs-system/lf-spells-miracles/000022.ldb new file mode 100644 index 0000000..44ccc7c Binary files /dev/null and b/packs-system/lf-spells-miracles/000022.ldb differ diff --git a/packs-system/lf-spells-miracles/000012.log b/packs-system/lf-spells-miracles/000037.log similarity index 100% rename from packs-system/lf-spells-miracles/000012.log rename to packs-system/lf-spells-miracles/000037.log diff --git a/packs-system/lf-spells-miracles/CURRENT b/packs-system/lf-spells-miracles/CURRENT index 3051f81..29a53d8 100644 --- a/packs-system/lf-spells-miracles/CURRENT +++ b/packs-system/lf-spells-miracles/CURRENT @@ -1 +1 @@ -MANIFEST-000010 +MANIFEST-000035 diff --git a/packs-system/lf-spells-miracles/LOG b/packs-system/lf-spells-miracles/LOG index c70e5f0..070cfa3 100644 --- a/packs-system/lf-spells-miracles/LOG +++ b/packs-system/lf-spells-miracles/LOG @@ -1,8 +1,8 @@ -2025/05/10-00:05:34.011461 7fc4ed3f96c0 Recovering log #8 -2025/05/10-00:05:34.021952 7fc4ed3f96c0 Delete type=3 #6 -2025/05/10-00:05:34.022058 7fc4ed3f96c0 Delete type=0 #8 -2025/05/10-00:18:03.332662 7fc4e73ff6c0 Level-0 table #13: started -2025/05/10-00:18:03.332695 7fc4e73ff6c0 Level-0 table #13: 0 bytes OK -2025/05/10-00:18:03.375786 7fc4e73ff6c0 Delete type=0 #11 -2025/05/10-00:18:03.442324 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) -2025/05/10-00:18:03.442380 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) +2025/05/14-09:18:06.487926 7f5ccc7f86c0 Recovering log #33 +2025/05/14-09:18:06.497838 7f5ccc7f86c0 Delete type=3 #31 +2025/05/14-09:18:06.497894 7f5ccc7f86c0 Delete type=0 #33 +2025/05/14-10:01:12.535301 7f5ccb7ff6c0 Level-0 table #38: started +2025/05/14-10:01:12.535349 7f5ccb7ff6c0 Level-0 table #38: 0 bytes OK +2025/05/14-10:01:12.541664 7f5ccb7ff6c0 Delete type=0 #36 +2025/05/14-10:01:12.541942 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) +2025/05/14-10:01:12.541971 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-spells-miracles/LOG.old b/packs-system/lf-spells-miracles/LOG.old index 2e5b4d7..37eaea0 100644 --- a/packs-system/lf-spells-miracles/LOG.old +++ b/packs-system/lf-spells-miracles/LOG.old @@ -1,8 +1,8 @@ -2025/05/09-22:47:41.385708 7fc4ed3f96c0 Recovering log #4 -2025/05/09-22:47:41.489161 7fc4ed3f96c0 Delete type=3 #2 -2025/05/09-22:47:41.489215 7fc4ed3f96c0 Delete type=0 #4 -2025/05/09-22:48:57.702401 7fc4e73ff6c0 Level-0 table #9: started -2025/05/09-22:48:57.702429 7fc4e73ff6c0 Level-0 table #9: 0 bytes OK -2025/05/09-22:48:57.708467 7fc4e73ff6c0 Delete type=0 #7 -2025/05/09-22:48:57.708776 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) -2025/05/09-22:48:57.708842 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) +2025/05/14-07:47:09.521604 7f5ccd7fa6c0 Recovering log #29 +2025/05/14-07:47:09.533204 7f5ccd7fa6c0 Delete type=3 #27 +2025/05/14-07:47:09.533353 7f5ccd7fa6c0 Delete type=0 #29 +2025/05/14-08:06:15.894136 7f5ccb7ff6c0 Level-0 table #34: started +2025/05/14-08:06:15.894209 7f5ccb7ff6c0 Level-0 table #34: 0 bytes OK +2025/05/14-08:06:15.900873 7f5ccb7ff6c0 Delete type=0 #32 +2025/05/14-08:06:15.921517 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) +2025/05/14-08:06:15.921613 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-spells-miracles/MANIFEST-000010 b/packs-system/lf-spells-miracles/MANIFEST-000010 deleted file mode 100644 index 9d5b6b9..0000000 Binary files a/packs-system/lf-spells-miracles/MANIFEST-000010 and /dev/null differ diff --git a/packs-system/lf-spells-miracles/MANIFEST-000035 b/packs-system/lf-spells-miracles/MANIFEST-000035 new file mode 100644 index 0000000..452c715 Binary files /dev/null and b/packs-system/lf-spells-miracles/MANIFEST-000035 differ diff --git a/packs-system/lf-vulnerabilities/000301.ldb b/packs-system/lf-vulnerabilities/000301.ldb deleted file mode 100644 index 0611890..0000000 Binary files a/packs-system/lf-vulnerabilities/000301.ldb and /dev/null differ diff --git a/packs-system/lf-vulnerabilities/000322.ldb b/packs-system/lf-vulnerabilities/000322.ldb new file mode 100644 index 0000000..6e4d3dd Binary files /dev/null and b/packs-system/lf-vulnerabilities/000322.ldb differ diff --git a/packs-system/lf-vulnerabilities/000312.log b/packs-system/lf-vulnerabilities/000337.log similarity index 100% rename from packs-system/lf-vulnerabilities/000312.log rename to packs-system/lf-vulnerabilities/000337.log diff --git a/packs-system/lf-vulnerabilities/CURRENT b/packs-system/lf-vulnerabilities/CURRENT index 621932e..adf199b 100644 --- a/packs-system/lf-vulnerabilities/CURRENT +++ b/packs-system/lf-vulnerabilities/CURRENT @@ -1 +1 @@ -MANIFEST-000310 +MANIFEST-000335 diff --git a/packs-system/lf-vulnerabilities/LOG b/packs-system/lf-vulnerabilities/LOG index 87dd1e8..2facba4 100644 --- a/packs-system/lf-vulnerabilities/LOG +++ b/packs-system/lf-vulnerabilities/LOG @@ -1,8 +1,8 @@ -2025/05/10-00:05:33.999360 7fc4ecbf86c0 Recovering log #308 -2025/05/10-00:05:34.009358 7fc4ecbf86c0 Delete type=3 #306 -2025/05/10-00:05:34.009416 7fc4ecbf86c0 Delete type=0 #308 -2025/05/10-00:18:03.183209 7fc4e73ff6c0 Level-0 table #313: started -2025/05/10-00:18:03.183250 7fc4e73ff6c0 Level-0 table #313: 0 bytes OK -2025/05/10-00:18:03.213647 7fc4e73ff6c0 Delete type=0 #311 -2025/05/10-00:18:03.213903 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) -2025/05/10-00:18:03.213960 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/05/14-09:18:06.475503 7f5cccff96c0 Recovering log #333 +2025/05/14-09:18:06.485731 7f5cccff96c0 Delete type=3 #331 +2025/05/14-09:18:06.485791 7f5cccff96c0 Delete type=0 #333 +2025/05/14-10:01:12.496479 7f5ccb7ff6c0 Level-0 table #338: started +2025/05/14-10:01:12.496503 7f5ccb7ff6c0 Level-0 table #338: 0 bytes OK +2025/05/14-10:01:12.502768 7f5ccb7ff6c0 Delete type=0 #336 +2025/05/14-10:01:12.515177 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/05/14-10:01:12.515216 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-vulnerabilities/LOG.old b/packs-system/lf-vulnerabilities/LOG.old index 143b16a..f77064f 100644 --- a/packs-system/lf-vulnerabilities/LOG.old +++ b/packs-system/lf-vulnerabilities/LOG.old @@ -1,8 +1,8 @@ -2025/05/09-22:47:41.336297 7fc4edbfa6c0 Recovering log #304 -2025/05/09-22:47:41.382633 7fc4edbfa6c0 Delete type=3 #302 -2025/05/09-22:47:41.382758 7fc4edbfa6c0 Delete type=0 #304 -2025/05/09-22:48:57.728106 7fc4e73ff6c0 Level-0 table #309: started -2025/05/09-22:48:57.728152 7fc4e73ff6c0 Level-0 table #309: 0 bytes OK -2025/05/09-22:48:57.734043 7fc4e73ff6c0 Delete type=0 #307 -2025/05/09-22:48:57.734162 7fc4e73ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) -2025/05/09-22:48:57.734181 7fc4e73ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/05/14-07:47:09.507023 7f5ccdffb6c0 Recovering log #329 +2025/05/14-07:47:09.517849 7f5ccdffb6c0 Delete type=3 #327 +2025/05/14-07:47:09.517975 7f5ccdffb6c0 Delete type=0 #329 +2025/05/14-08:06:15.880220 7f5ccb7ff6c0 Level-0 table #334: started +2025/05/14-08:06:15.880293 7f5ccb7ff6c0 Level-0 table #334: 0 bytes OK +2025/05/14-08:06:15.886487 7f5ccb7ff6c0 Delete type=0 #332 +2025/05/14-08:06:15.893747 7f5ccb7ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/05/14-08:06:15.893881 7f5ccb7ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-vulnerabilities/MANIFEST-000310 b/packs-system/lf-vulnerabilities/MANIFEST-000310 deleted file mode 100644 index c9edef0..0000000 Binary files a/packs-system/lf-vulnerabilities/MANIFEST-000310 and /dev/null differ diff --git a/packs-system/lf-vulnerabilities/MANIFEST-000335 b/packs-system/lf-vulnerabilities/MANIFEST-000335 new file mode 100644 index 0000000..4ae612f Binary files /dev/null and b/packs-system/lf-vulnerabilities/MANIFEST-000335 differ diff --git a/styles/character.less b/styles/character.less index 4cc6632..80f874c 100644 --- a/styles/character.less +++ b/styles/character.less @@ -93,6 +93,10 @@ .character-characteristic { display: flex; align-items: center; + span { + min-width: 2.2rem; + max-width: 2.2rem; + } .rollable:hover, .rollable:focus { text-shadow: 0 0 8px var(--color-shadow-primary); @@ -108,7 +112,7 @@ } } } - + .character-challenges { display: flex; flex-direction: column; @@ -218,7 +222,7 @@ } } -.tab.character-biography { +.tab.character-biography .main-div{ .biodata { display: grid; grid-template-columns: repeat(4, 1fr); @@ -248,7 +252,7 @@ } } -.tab.character-skills { +.tab.character-skills .main-div{ display: grid; grid-template-columns: 1fr; legend { @@ -310,7 +314,7 @@ } } -.tab.character-equipment { +.tab.character-equipment .main-div { display: grid; grid-template-columns: 1fr; legend { @@ -349,7 +353,7 @@ } } -.tab.character-combat { +.tab.character-combat .main-div { display: grid; grid-template-columns: 1fr; legend { @@ -497,7 +501,7 @@ } -.tab.character-spells { +.tab.character-spells .main-div { display: grid; grid-template-columns: 1fr; legend { @@ -558,7 +562,7 @@ } } -.tab.character-miracles { +.tab.character-miracles .main-div { display: grid; grid-template-columns: 1fr; legend { diff --git a/styles/fonts.less b/styles/fonts.less index 9508159..c6975b0 100644 --- a/styles/fonts.less +++ b/styles/fonts.less @@ -5,6 +5,5 @@ @font-face { font-family: "BaskervilleBold"; - src: url("../fonts/baskerville-bold.ttf") format("truetype"); + src: url("../assets/fonts/baskerville-bold.ttf") format("truetype"); } - diff --git a/styles/monster.less b/styles/monster.less index 9f8418c..3320188 100644 --- a/styles/monster.less +++ b/styles/monster.less @@ -19,12 +19,12 @@ border: none; } } - + .monster-pc { display: flex; gap: 10px; flex: 1; - + .monster-hp { display: flex; @@ -99,6 +99,10 @@ text-shadow: 0 0 8px var(--color-shadow-primary); cursor: pointer; } + span { + min-width: 2.2rem; + max-width: 2.2rem; + } .form-group { flex: 1; padding-left: 4px; @@ -223,7 +227,7 @@ } } -.tab.monster-biography { +.tab.monster-biography .main-div { .biodata { display: grid; grid-template-columns: repeat(4, 1fr); @@ -248,7 +252,7 @@ } } -.tab.monster-skills { +.tab.monster-skills .main-div{ display: grid; grid-template-columns: 1fr; legend { @@ -462,4 +466,3 @@ min-height: 150px; } } - diff --git a/system.json b/system.json index 75e85fa..6ad222d 100644 --- a/system.json +++ b/system.json @@ -6,7 +6,7 @@ "download": "#{DOWNLOAD}#", "url": "#{URL}#", "license": "LICENSE", - "version": "12.0.35", + "version": "13.0.0", "authors": [ { "name": "Uberwald", @@ -14,8 +14,8 @@ } ], "compatibility": { - "minimum": "12", - "verified": "12" + "minimum": "13", + "verified": "13" }, "esmodules": ["lethal-fantasy.mjs"], "styles": ["css/fvtt-lethal-fantasy.css"], diff --git a/templates/character-biography.hbs b/templates/character-biography.hbs index 8dccd76..8442b9e 100644 --- a/templates/character-biography.hbs +++ b/templates/character-biography.hbs @@ -1,4 +1,5 @@
+
{{localize "LETHALFANTASY.Label.biodata"}} @@ -92,5 +93,5 @@ {{localize "LETHALFANTASY.Label.notes"}} {{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
- +
\ No newline at end of file diff --git a/templates/character-combat.hbs b/templates/character-combat.hbs index 02d0e73..8371ff0 100644 --- a/templates/character-combat.hbs +++ b/templates/character-combat.hbs @@ -1,10 +1,11 @@ -
+
+
{{localize "LETHALFANTASY.Label.combatDetails"}}
- + @@ -155,5 +156,6 @@ {{/each}}
+
\ No newline at end of file diff --git a/templates/character-equipment.hbs b/templates/character-equipment.hbs index 20a6e76..37ce919 100644 --- a/templates/character-equipment.hbs +++ b/templates/character-equipment.hbs @@ -1,4 +1,5 @@
+
{{localize "LETHALFANTASY.Label.money"}} @@ -31,5 +32,5 @@
- +
\ No newline at end of file diff --git a/templates/character-main.hbs b/templates/character-main.hbs index da3ff31..78e88af 100644 --- a/templates/character-main.hbs +++ b/templates/character-main.hbs @@ -81,16 +81,16 @@
+ class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.contagion"}} {{formField systemFields.saves.fields.contagion.fields.value value=system.saves.contagion.value disabled=true}} - + + class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.poison"}} @@ -99,18 +99,18 @@ + class="lf-roll-small fa-solid fa-dice-d12"> {{localize "LETHALFANTASY.Label.saves.pain"}} - + + class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.pain"}} {{formField systemFields.saves.fields.pain.fields.value value=system.saves.pain.value disabled=true}} - + {{formField systemFields.hp.fields.painDamage value=system.hp.painDamage disabled=isPlayMode tooltip="Pain Damage"}} @@ -174,14 +174,14 @@
{{localize "LETHALFANTASY.Label.characteristics"}}
- {{localize "LETHALFANTASY.Label.str"}} + {{localize "LETHALFANTASY.Label.str"}} {{formField systemFields.characteristics.fields.str.fields.value value=system.characteristics.str.value disabled=isPlayMode data-char-id="str" }} {{formField systemFields.characteristics.fields.str.fields.percent value=system.characteristics.str.percent disabled=isPlayMode type="number"}}
- {{localize "LETHALFANTASY.Label.int"}} + {{localize "LETHALFANTASY.Label.int"}} {{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value disabled=isPlayMode data-char-id="int" }} @@ -189,7 +189,7 @@ disabled=isPlayMode type="number" }}
- {{localize "LETHALFANTASY.Label.wis"}} + {{localize "LETHALFANTASY.Label.wis"}} {{formField systemFields.characteristics.fields.wis.fields.value value=system.characteristics.wis.value disabled=isPlayMode data-char-id="wis" }} @@ -197,7 +197,7 @@ disabled=isPlayMode type="number"}}
- {{localize "LETHALFANTASY.Label.dex"}} + {{localize "LETHALFANTASY.Label.dex"}} {{formField systemFields.characteristics.fields.dex.fields.value value=system.characteristics.dex.value disabled=isPlayMode data-char-id="wis" }} @@ -205,7 +205,7 @@ disabled=isPlayMode type="number" }}
- {{localize "LETHALFANTASY.Label.con"}} + {{localize "LETHALFANTASY.Label.con"}} {{formField systemFields.characteristics.fields.con.fields.value value=system.characteristics.con.value disabled=isPlayMode data-char-id="con" }} @@ -213,7 +213,7 @@ disabled=isPlayMode type="number"}}
- {{localize "LETHALFANTASY.Label.cha"}} + {{localize "LETHALFANTASY.Label.cha"}} {{formField systemFields.characteristics.fields.cha.fields.value value=system.characteristics.cha.value disabled=isPlayMode data-char-id="cha" }} @@ -221,7 +221,7 @@ disabled=isPlayMode type="number"}}
- {{localize "LETHALFANTASY.Label.luc"}} + {{localize "LETHALFANTASY.Label.luc"}} {{formField systemFields.characteristics.fields.luc.fields.value value=system.characteristics.luc.value disabled=isPlayMode data-char-id="luc" }} @@ -229,7 +229,7 @@ disabled=isPlayMode type="number"}}
- {{localize "LETHALFANTASY.Label.app"}} + {{localize "LETHALFANTASY.Label.app"}} {{formField systemFields.characteristics.fields.app.fields.value value=system.characteristics.app.value disabled=isPlayMode data-char-id="app" }} diff --git a/templates/character-miracles.hbs b/templates/character-miracles.hbs index 918fc9c..80b6e77 100644 --- a/templates/character-miracles.hbs +++ b/templates/character-miracles.hbs @@ -1,4 +1,5 @@
+
{{localize "LETHALFANTASY.Label.divinityPoints"}} @@ -46,5 +47,6 @@ {{/each}}
+
\ No newline at end of file diff --git a/templates/character-skills.hbs b/templates/character-skills.hbs index ae1d6e5..d532523 100644 --- a/templates/character-skills.hbs +++ b/templates/character-skills.hbs @@ -1,4 +1,5 @@ -
+
+
{{localize @@ -68,5 +69,5 @@ {{/each}}
- +
\ No newline at end of file diff --git a/templates/character-spells.hbs b/templates/character-spells.hbs index bcb3654..3ce03fb 100644 --- a/templates/character-spells.hbs +++ b/templates/character-spells.hbs @@ -1,19 +1,21 @@
+
-
- {{localize "LETHALFANTASY.Label.aetherPoints"}} -
-
- Current - {{formField systemFields.aetherPoints.fields.value value=system.aetherPoints.value localize=true}} - - +
+ {{localize "LETHALFANTASY.Label.aetherPoints"}} +
+
+ Current + {{formField systemFields.aetherPoints.fields.value value=system.aetherPoints.value localize=true}} + + - Max - {{formField systemFields.aetherPoints.fields.max value=system.aetherPoints.max localize=true disabled=isPlayMode}} + Max + {{formField systemFields.aetherPoints.fields.max value=system.aetherPoints.max localize=true + disabled=isPlayMode}}
-
+
@@ -22,9 +24,9 @@ data-action="createSpell">{{/if}}
{{#each spells as |item|}} -
+
-
+
{{item.name}}
@@ -46,5 +48,5 @@ {{/each}}
- +
\ No newline at end of file diff --git a/templates/combat-action-dialog.hbs b/templates/combat-action-dialog.hbs index 0516daf..7b202a5 100644 --- a/templates/combat-action-dialog.hbs +++ b/templates/combat-action-dialog.hbs @@ -18,7 +18,7 @@
{{localize "LETHALFANTASY.Roll.visibility"}}
diff --git a/templates/monster-main.hbs b/templates/monster-main.hbs index d31b2eb..f20fa59 100644 --- a/templates/monster-main.hbs +++ b/templates/monster-main.hbs @@ -62,16 +62,16 @@
+ class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.contagion"}} {{formField systemFields.saves.fields.contagion.fields.value value=system.saves.contagion.value disabled=isPlayMode}} - + + class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.poison"}} @@ -80,7 +80,7 @@ + class="lf-roll-small fa-solid fa-dice-d20"> {{localize "LETHALFANTASY.Label.saves.paincourage"}} @@ -91,7 +91,7 @@
- + @@ -157,7 +157,7 @@
{{localize "LETHALFANTASY.Label.characteristics"}}
- {{localize "LETHALFANTASY.Label.int"}} + x{{localize "LETHALFANTASY.Label.int"}} {{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value disabled=isPlayMode data-char-id="int" }} @@ -165,7 +165,7 @@ disabled=isPlayMode type="number" }}
- {{localize "LETHALFANTASY.Label.dex"}} + {{localize "LETHALFANTASY.Label.dex"}} {{formField systemFields.characteristics.fields.dex.fields.value value=system.characteristics.dex.value disabled=isPlayMode data-char-id="wis" }} diff --git a/templates/opponent.hbs b/templates/opponent.hbs deleted file mode 100644 index 21854e8..0000000 --- a/templates/opponent.hbs +++ /dev/null @@ -1,79 +0,0 @@ -
- {{!log "opponent sheet" this}} -
- - {{formInput fields.name value=source.name}} - - - -
-
-
-
- {{localize "TENEBRIS.Character.Label.caracteristiques"}} - {{formField systemFields.dv value=system.dv disabled=isPlayMode}} - {{formField systemFields.pv.fields.value value=system.pv.value}} - {{formField systemFields.pv.fields.max value=system.pv.max disabled=isPlayMode}} - {{formField systemFields.armure value=system.armure disabled=isPlayMode}} - {{formField systemFields.malus value=system.malus disabled=isPlayMode}} - {{formField systemFields.actions value=system.actions disabled=isPlayMode}} -
- -
- {{localize "TENEBRIS.Character.Label.attaques"}} - {{#if isEditMode}}{{/if}} - {{#each attacks as |attack|}} -
-
- {{attack.system.degats}} - ({{attack.name}}) -
- {{#if @root.isEditMode}} -
- - -
- {{/if}} -
- {{/each}} -
- - {{#if (or isEditMode (and isPlayMode hasSpells))}} -
- {{localize "TENEBRIS.Label.spells"}}{{#if isEditMode}}{{/if}} - {{#each spells as |spell|}} -
-
- {{spell.name}} -
- {{#if @root.isEditMode}} -
- - -
- {{/if}} -
- {{/each}} -
- {{/if}} -
- -
-
- {{localize "TENEBRIS.Label.description"}} - {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true compact=true}} -
-
-
- -
\ No newline at end of file diff --git a/templates/range-defense-dialog.hbs b/templates/range-defense-dialog.hbs index 5189386..a7e6baf 100644 --- a/templates/range-defense-dialog.hbs +++ b/templates/range-defense-dialog.hbs @@ -26,7 +26,7 @@
Range : - + @@ -34,7 +34,7 @@
Aim : - + @@ -45,7 +45,7 @@
{{localize "LETHALFANTASY.Roll.visibility"}}
diff --git a/templates/roll-dialog.hbs b/templates/roll-dialog.hbs index 48a7588..15133a5 100644 --- a/templates/roll-dialog.hbs +++ b/templates/roll-dialog.hbs @@ -90,7 +90,7 @@
{{localize "LETHALFANTASY.Roll.visibility"}}
diff --git a/templates/roll-initiative-dialog.hbs b/templates/roll-initiative-dialog.hbs index 0d0123a..337e6ce 100644 --- a/templates/roll-initiative-dialog.hbs +++ b/templates/roll-initiative-dialog.hbs @@ -13,8 +13,8 @@
{{localize "LETHALFANTASY.Roll.visibility"}}
- +
\ No newline at end of file diff --git a/templates/roll-progression-dice-dialog.hbs b/templates/roll-progression-dice-dialog.hbs index 2dae45f..272d227 100644 --- a/templates/roll-progression-dice-dialog.hbs +++ b/templates/roll-progression-dice-dialog.hbs @@ -13,8 +13,8 @@
{{localize "LETHALFANTASY.Roll.visibility"}}
- +
\ No newline at end of file