From f00a69e9b42699dc169611d164e58fe9ca228481 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Wed, 22 Jan 2025 08:59:31 +0100 Subject: [PATCH] Minot fixes --- css/fvtt-lethal-fantasy.css | 16 ++++---- module/applications/sheets/monster-sheet.mjs | 2 +- module/config/system.mjs | 2 +- module/documents/roll.mjs | 38 ++++++++++-------- .../lf-equipment/{000100.log => 000104.log} | 0 packs-system/lf-equipment/CURRENT | 2 +- packs-system/lf-equipment/LOG | 16 ++++---- packs-system/lf-equipment/LOG.old | 16 ++++---- packs-system/lf-equipment/MANIFEST-000098 | Bin 137 -> 0 bytes packs-system/lf-equipment/MANIFEST-000102 | Bin 0 -> 137 bytes .../lf-gifts/{000100.log => 000104.log} | 0 packs-system/lf-gifts/CURRENT | 2 +- packs-system/lf-gifts/LOG | 16 ++++---- packs-system/lf-gifts/LOG.old | 16 ++++---- packs-system/lf-gifts/MANIFEST-000098 | Bin 136 -> 0 bytes packs-system/lf-gifts/MANIFEST-000102 | Bin 0 -> 136 bytes .../lf-skills/{000100.log => 000104.log} | 0 packs-system/lf-skills/CURRENT | 2 +- packs-system/lf-skills/LOG | 16 ++++---- packs-system/lf-skills/LOG.old | 16 ++++---- packs-system/lf-skills/MANIFEST-000098 | Bin 137 -> 0 bytes packs-system/lf-skills/MANIFEST-000102 | Bin 0 -> 137 bytes .../{000100.log => 000104.log} | 0 packs-system/lf-vulnerabilities/CURRENT | 2 +- packs-system/lf-vulnerabilities/LOG | 16 ++++---- packs-system/lf-vulnerabilities/LOG.old | 16 ++++---- .../{MANIFEST-000098 => MANIFEST-000102} | Bin 137 -> 137 bytes styles/monster.less | 4 +- system.json | 2 +- templates/character-equipment.hbs | 2 +- templates/character-main.hbs | 2 +- templates/monster-main.hbs | 17 ++++---- 32 files changed, 112 insertions(+), 109 deletions(-) rename packs-system/lf-equipment/{000100.log => 000104.log} (100%) delete mode 100644 packs-system/lf-equipment/MANIFEST-000098 create mode 100644 packs-system/lf-equipment/MANIFEST-000102 rename packs-system/lf-gifts/{000100.log => 000104.log} (100%) delete mode 100644 packs-system/lf-gifts/MANIFEST-000098 create mode 100644 packs-system/lf-gifts/MANIFEST-000102 rename packs-system/lf-skills/{000100.log => 000104.log} (100%) delete mode 100644 packs-system/lf-skills/MANIFEST-000098 create mode 100644 packs-system/lf-skills/MANIFEST-000102 rename packs-system/lf-vulnerabilities/{000100.log => 000104.log} (100%) rename packs-system/lf-vulnerabilities/{MANIFEST-000098 => MANIFEST-000102} (73%) diff --git a/css/fvtt-lethal-fantasy.css b/css/fvtt-lethal-fantasy.css index 0d8f2a6..28e3b2c 100644 --- a/css/fvtt-lethal-fantasy.css +++ b/css/fvtt-lethal-fantasy.css @@ -853,36 +853,36 @@ i.lethalfantasy { flex: none; width: 3rem; } -.lethalfantasy .monster-main .monster-resists { +.lethalfantasy .monster-main .monster-skills { display: flex; flex-direction: column; gap: 4px; flex: 1; } -.lethalfantasy .monster-main .monster-resists .monster-resist { +.lethalfantasy .monster-main .monster-skills .monster-skill { display: flex; align-items: center; margin-right: 0.5rem; } -.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:hover, -.lethalfantasy .monster-main .monster-resists .monster-resist .rollable:focus { +.lethalfantasy .monster-main .monster-skills .monster-skill .rollable:hover, +.lethalfantasy .monster-main .monster-skills .monster-skill .rollable:focus { text-shadow: 0 0 8px var(--color-shadow-primary); cursor: pointer; } -.lethalfantasy .monster-main .monster-resists .monster-resist input { +.lethalfantasy .monster-main .monster-skills .monster-skill input { min-width: 2.2rem; max-width: 2.5rem; } -.lethalfantasy .monster-main .monster-resists .monster-resist .name { +.lethalfantasy .monster-main .monster-skills .monster-skill .name { flex: 1; min-width: 3.2rem; margin-left: 4px; } -.lethalfantasy .monster-main .monster-resists .monster-resist .form-group { +.lethalfantasy .monster-main .monster-skills .monster-skill .form-group { flex: 1; padding-left: 4px; } -.lethalfantasy .monster-main .monster-resists .monster-resist .form-group .form-fields { +.lethalfantasy .monster-main .monster-skills .monster-skill .form-group .form-fields { flex: none; width: 2.5rem; } diff --git a/module/applications/sheets/monster-sheet.mjs b/module/applications/sheets/monster-sheet.mjs index ff324fb..b14dea4 100644 --- a/module/applications/sheets/monster-sheet.mjs +++ b/module/applications/sheets/monster-sheet.mjs @@ -175,7 +175,7 @@ export default class LethalFantasyMonsterSheet extends LethalFantasyActorSheet { rollTarget = foundry.utils.duplicate(this.document.system.attacks[rollKey]) rollTarget.rollKey = rollKey break - case "resist": + case "monster-skill": rollTarget = foundry.utils.duplicate(this.document.system.resists[rollKey]) rollTarget.rollKey = rollKey break diff --git a/module/config/system.mjs b/module/config/system.mjs index 793012b..6ac0005 100644 --- a/module/config/system.mjs +++ b/module/config/system.mjs @@ -116,7 +116,7 @@ export const INITIATIVE_DICE_CHOICES_PER_CLASS = { { "name": "Aware and know exactly where the enemy is (1D3)", "value": "1D3"} ], "cleric": [ - { "name": "Asleep or totally distracted (1D2)", "value": "1D12" }, + { "name": "Asleep or totally distracted (1D12)", "value": "1D12" }, { "name": "Awake but unsuspecting (1D10)", "value": "1D10" }, { "name": "Declared Ready on Alert (1D8)", "value": "1D8" }, { "name": "Aware of the enemy, can hear them but not see (1D6)", "value": "1D6" }, diff --git a/module/documents/roll.mjs b/module/documents/roll.mjs index af0a717..3b93faa 100644 --- a/module/documents/roll.mjs +++ b/module/documents/roll.mjs @@ -122,11 +122,11 @@ export default class LethalFantasyRoll extends Roll { let hasChangeDice = false let hasD30 = false let hasFavor = false - let hasMaxValue = true - let hasGrantedDice = false + let hasMaxValue = true + let hasGrantedDice = false if (options.rollType === "challenge" || options.rollType === "save") { - options.rollName = game.i18n.localize( `LETHALFANTASY.Label.${options.rollTarget.rollKey}` ) + options.rollName = game.i18n.localize(`LETHALFANTASY.Label.${options.rollTarget.rollKey}`) hasD30 = options.rollType === "save" if (options.rollTarget.rollKey === "dying") { dice = options.rollTarget.value @@ -168,11 +168,14 @@ export default class LethalFantasyRoll extends Roll { options.rollTarget.charModifier = 0 } - } else if (options.rollType === "resist") { - dice = "1D20" - maxValue = 20 + } else if (options.rollType === "monster-skill") { + options.rollName = game.i18n.localize(`LETHALFANTASY.Label.${options.rollTarget.rollKey}`) + dice = "1D100" + baseFormula = "D100" + maxValue = 100 + hasModifier = true hasFavor = true - options.rollName = options.rollTarget.rollKey + hasChangeDice = false } else if (options.rollType === "skill") { options.rollName = options.rollTarget.name @@ -336,7 +339,7 @@ export default class LethalFantasyRoll extends Roll { if (fullModifier === 0) { modifierFormula = "0" } else { - if (options.rollType === "skill") { + if (options.rollType === "skill" || options.rollType === "monster-skill") { modifierFormula = `${fullModifier}` } else { let modAbs = Math.abs(fullModifier) @@ -452,7 +455,7 @@ export default class LethalFantasyRoll extends Roll { let r = await new Roll(baseFormula).evaluate() if (game?.dice3d) { await game.dice3d.showForRoll(r, game.user, true) - } + } diceResult = r.dice[0].results[0].result diceResults.push({ dice: `${singleDice}-1`, value: diceResult - 1 }) diceSum += (diceResult - 1) @@ -461,14 +464,14 @@ export default class LethalFantasyRoll extends Roll { } } - if ( hasGrantedDice) { - let grantedRoll = new Roll(options.rollTarget.grantedDice) - await grantedRoll.evaluate() - if (game?.dice3d) { - await game.dice3d.showForRoll(grantedRoll, game.user, true) - } - diceResults.push({ dice: `${options.rollTarget.grantedDice}`, value: grantedRoll.total }) - rollTotal += grantedRoll.total + if (hasGrantedDice) { + let grantedRoll = new Roll(options.rollTarget.grantedDice) + await grantedRoll.evaluate() + if (game?.dice3d) { + await game.dice3d.showForRoll(grantedRoll, game.user, true) + } + diceResults.push({ dice: `${options.rollTarget.grantedDice}`, value: grantedRoll.total }) + rollTotal += grantedRoll.total } if (fullModifier !== 0) { @@ -787,6 +790,7 @@ export default class LethalFantasyRoll extends Roll { return `${game.i18n.localize("LETHALFANTASY.Label.titleChallenge")}` case "save": return `${game.i18n.localize("LETHALFANTASY.Label.titleSave")}` + case "monster-skill": case "skill": return `${game.i18n.localize("LETHALFANTASY.Label.titleSkill")}` case "weapon-attack": diff --git a/packs-system/lf-equipment/000100.log b/packs-system/lf-equipment/000104.log similarity index 100% rename from packs-system/lf-equipment/000100.log rename to packs-system/lf-equipment/000104.log diff --git a/packs-system/lf-equipment/CURRENT b/packs-system/lf-equipment/CURRENT index 95395b2..e333c89 100644 --- a/packs-system/lf-equipment/CURRENT +++ b/packs-system/lf-equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000098 +MANIFEST-000102 diff --git a/packs-system/lf-equipment/LOG b/packs-system/lf-equipment/LOG index 2cdfd1c..a365a2c 100644 --- a/packs-system/lf-equipment/LOG +++ b/packs-system/lf-equipment/LOG @@ -1,8 +1,8 @@ -2025/01/21-08:05:19.262536 7f6e75ffb6c0 Recovering log #96 -2025/01/21-08:05:19.272917 7f6e75ffb6c0 Delete type=3 #94 -2025/01/21-08:05:19.273013 7f6e75ffb6c0 Delete type=0 #96 -2025/01/21-08:09:47.062020 7f6e753ff6c0 Level-0 table #101: started -2025/01/21-08:09:47.062050 7f6e753ff6c0 Level-0 table #101: 0 bytes OK -2025/01/21-08:09:47.068775 7f6e753ff6c0 Delete type=0 #99 -2025/01/21-08:09:47.081051 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) -2025/01/21-08:09:47.081085 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) +2025/01/22-08:50:47.531510 7f6e76ffd6c0 Recovering log #100 +2025/01/22-08:50:47.542333 7f6e76ffd6c0 Delete type=3 #98 +2025/01/22-08:50:47.542398 7f6e76ffd6c0 Delete type=0 #100 +2025/01/22-08:58:23.847420 7f6e753ff6c0 Level-0 table #105: started +2025/01/22-08:58:23.847465 7f6e753ff6c0 Level-0 table #105: 0 bytes OK +2025/01/22-08:58:23.854185 7f6e753ff6c0 Delete type=0 #103 +2025/01/22-08:58:23.873021 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) +2025/01/22-08:58:23.873071 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/LOG.old b/packs-system/lf-equipment/LOG.old index b9fd83e..2cdfd1c 100644 --- a/packs-system/lf-equipment/LOG.old +++ b/packs-system/lf-equipment/LOG.old @@ -1,8 +1,8 @@ -2025/01/20-18:34:52.996209 7f6e76ffd6c0 Recovering log #92 -2025/01/20-18:34:53.044133 7f6e76ffd6c0 Delete type=3 #90 -2025/01/20-18:34:53.044195 7f6e76ffd6c0 Delete type=0 #92 -2025/01/20-18:52:31.113580 7f6e753ff6c0 Level-0 table #97: started -2025/01/20-18:52:31.113605 7f6e753ff6c0 Level-0 table #97: 0 bytes OK -2025/01/20-18:52:31.119961 7f6e753ff6c0 Delete type=0 #95 -2025/01/20-18:52:31.120109 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) -2025/01/20-18:52:31.120139 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) +2025/01/21-08:05:19.262536 7f6e75ffb6c0 Recovering log #96 +2025/01/21-08:05:19.272917 7f6e75ffb6c0 Delete type=3 #94 +2025/01/21-08:05:19.273013 7f6e75ffb6c0 Delete type=0 #96 +2025/01/21-08:09:47.062020 7f6e753ff6c0 Level-0 table #101: started +2025/01/21-08:09:47.062050 7f6e753ff6c0 Level-0 table #101: 0 bytes OK +2025/01/21-08:09:47.068775 7f6e753ff6c0 Delete type=0 #99 +2025/01/21-08:09:47.081051 7f6e753ff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) +2025/01/21-08:09:47.081085 7f6e753ff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zFrygJ2TnrxchBai' @ 0 : 0; will stop at (end) diff --git a/packs-system/lf-equipment/MANIFEST-000098 b/packs-system/lf-equipment/MANIFEST-000098 deleted file mode 100644 index 27cd9be19f504184bbca0ea2a2772f8fb96a69bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 137 zcmaEU;D&1o10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAei1v9>GB7Rii&CZIVq_{ z#fpw0MV94J8R@2_Az>le#lDPU3}7Iym|2pVTdY{+R#chpWfYQERFRzFl$gn=36Ym> eyFZzOfsrYhlYu#f#Z^!9`ZW+Y1;|ZfaRmS}Pba+q diff --git a/packs-system/lf-equipment/MANIFEST-000102 b/packs-system/lf-equipment/MANIFEST-000102 new file mode 100644 index 0000000000000000000000000000000000000000..200369a90c2bf1bb4041774fe5bf0c9b918034a0 GIT binary patch literal 137 zcmaEU;D&1o10$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAei1v9>GB7Rii&CZIVq_{ z#fpw0MV94J8R@2_Az>le#lDPU3}7Iym|2pVTdY{+R#chpWfYQERFRzFl$gn=36U@D eIQ)@=fsrYllYu#d#dURmp)iP>0pw<}xB>t}OeiG) literal 0 HcmV?d00001 diff --git a/packs-system/lf-gifts/000100.log b/packs-system/lf-gifts/000104.log similarity index 100% rename from packs-system/lf-gifts/000100.log rename to packs-system/lf-gifts/000104.log diff --git a/packs-system/lf-gifts/CURRENT b/packs-system/lf-gifts/CURRENT index 95395b2..e333c89 100644 --- a/packs-system/lf-gifts/CURRENT +++ b/packs-system/lf-gifts/CURRENT @@ -1 +1 @@ -MANIFEST-000098 +MANIFEST-000102 diff --git a/packs-system/lf-gifts/LOG b/packs-system/lf-gifts/LOG index 7a2bb74..0f3db75 100644 --- a/packs-system/lf-gifts/LOG +++ b/packs-system/lf-gifts/LOG @@ -1,8 +1,8 @@ -2025/01/21-08:05:19.275701 7f6e777fe6c0 Recovering log #96 -2025/01/21-08:05:19.285578 7f6e777fe6c0 Delete type=3 #94 -2025/01/21-08:05:19.285635 7f6e777fe6c0 Delete type=0 #96 -2025/01/21-08:09:47.055817 7f6e753ff6c0 Level-0 table #101: started -2025/01/21-08:09:47.055868 7f6e753ff6c0 Level-0 table #101: 0 bytes OK -2025/01/21-08:09:47.061904 7f6e753ff6c0 Delete type=0 #99 -2025/01/21-08:09:47.081038 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/01/21-08:09:47.081078 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/01/22-08:50:47.546037 7f6e767fc6c0 Recovering log #100 +2025/01/22-08:50:47.555474 7f6e767fc6c0 Delete type=3 #98 +2025/01/22-08:50:47.555529 7f6e767fc6c0 Delete type=0 #100 +2025/01/22-08:58:23.860632 7f6e753ff6c0 Level-0 table #105: started +2025/01/22-08:58:23.860663 7f6e753ff6c0 Level-0 table #105: 0 bytes OK +2025/01/22-08:58:23.866752 7f6e753ff6c0 Delete type=0 #103 +2025/01/22-08:58:23.873055 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/01/22-08:58:23.873089 7f6e753ff6c0 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 4151ccd..7a2bb74 100644 --- a/packs-system/lf-gifts/LOG.old +++ b/packs-system/lf-gifts/LOG.old @@ -1,8 +1,8 @@ -2025/01/20-18:34:53.050237 7f6e777fe6c0 Recovering log #92 -2025/01/20-18:34:53.090154 7f6e777fe6c0 Delete type=3 #90 -2025/01/20-18:34:53.090233 7f6e777fe6c0 Delete type=0 #92 -2025/01/20-18:52:31.100235 7f6e753ff6c0 Level-0 table #97: started -2025/01/20-18:52:31.100273 7f6e753ff6c0 Level-0 table #97: 0 bytes OK -2025/01/20-18:52:31.106232 7f6e753ff6c0 Delete type=0 #95 -2025/01/20-18:52:31.120084 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) -2025/01/20-18:52:31.120132 7f6e753ff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/01/21-08:05:19.275701 7f6e777fe6c0 Recovering log #96 +2025/01/21-08:05:19.285578 7f6e777fe6c0 Delete type=3 #94 +2025/01/21-08:05:19.285635 7f6e777fe6c0 Delete type=0 #96 +2025/01/21-08:09:47.055817 7f6e753ff6c0 Level-0 table #101: started +2025/01/21-08:09:47.055868 7f6e753ff6c0 Level-0 table #101: 0 bytes OK +2025/01/21-08:09:47.061904 7f6e753ff6c0 Delete type=0 #99 +2025/01/21-08:09:47.081038 7f6e753ff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end) +2025/01/21-08:09:47.081078 7f6e753ff6c0 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-000098 b/packs-system/lf-gifts/MANIFEST-000098 deleted file mode 100644 index f5adb9fccad93a3604c81e7cf47b734768594db3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 136 zcmZQ=x?Pvdz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&PL2x}i)_F)cqQCAFwn zu`(dsy{y8+E6K&rBP=*Cl2L&H4CECvOHy--6|1t!+;g&ue6mf0i!+=pT^Ly)@+@-7 ci#Qk`pgoS$2eSd>_jU&PL2x}i)_F)cqQCAFwn zu`(dsy{y8+E6K&rBP=*Cl2L&H4CECvOHy--6|1t!+;g&ue6mf0i!+=pT^Ly)@~0H+ cpKvfRGNp4eFlVqRO!+=V0mRJ!aWMEEVNp_Rn-2vjJ0J&)_$pE>MCMy5{ diff --git a/packs-system/lf-skills/MANIFEST-000102 b/packs-system/lf-skills/MANIFEST-000102 new file mode 100644 index 0000000000000000000000000000000000000000..0b915f17c1df291912074062355841da29945fd9 GIT binary patch literal 137 zcmYdufBGqffss)vC$%g!CnZVGsj?)sJhM2}IX|}`u_&=5zlfd5@L?mnqGDQpPD*M~ zv7&jFg@?IIQm#{yWoT8RQ3PW$0~p9FW|pMp7AsbjSQML^nwg{)82TidLI&j!0J&K#$pEoyCC>l= literal 0 HcmV?d00001 diff --git a/packs-system/lf-vulnerabilities/000100.log b/packs-system/lf-vulnerabilities/000104.log similarity index 100% rename from packs-system/lf-vulnerabilities/000100.log rename to packs-system/lf-vulnerabilities/000104.log diff --git a/packs-system/lf-vulnerabilities/CURRENT b/packs-system/lf-vulnerabilities/CURRENT index 95395b2..e333c89 100644 --- a/packs-system/lf-vulnerabilities/CURRENT +++ b/packs-system/lf-vulnerabilities/CURRENT @@ -1 +1 @@ -MANIFEST-000098 +MANIFEST-000102 diff --git a/packs-system/lf-vulnerabilities/LOG b/packs-system/lf-vulnerabilities/LOG index d2186d0..fdaff22 100644 --- a/packs-system/lf-vulnerabilities/LOG +++ b/packs-system/lf-vulnerabilities/LOG @@ -1,8 +1,8 @@ -2025/01/21-08:05:19.288005 7f6e76ffd6c0 Recovering log #96 -2025/01/21-08:05:19.298022 7f6e76ffd6c0 Delete type=3 #94 -2025/01/21-08:05:19.298088 7f6e76ffd6c0 Delete type=0 #96 -2025/01/21-08:09:47.074914 7f6e753ff6c0 Level-0 table #101: started -2025/01/21-08:09:47.074948 7f6e753ff6c0 Level-0 table #101: 0 bytes OK -2025/01/21-08:09:47.080933 7f6e753ff6c0 Delete type=0 #99 -2025/01/21-08:09:47.081071 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) -2025/01/21-08:09:47.081093 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/01/22-08:50:47.558438 7f6e75ffb6c0 Recovering log #100 +2025/01/22-08:50:47.568545 7f6e75ffb6c0 Delete type=3 #98 +2025/01/22-08:50:47.568612 7f6e75ffb6c0 Delete type=0 #100 +2025/01/22-08:58:23.854343 7f6e753ff6c0 Level-0 table #105: started +2025/01/22-08:58:23.854385 7f6e753ff6c0 Level-0 table #105: 0 bytes OK +2025/01/22-08:58:23.860490 7f6e753ff6c0 Delete type=0 #103 +2025/01/22-08:58:23.873043 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/01/22-08:58:23.873080 7f6e753ff6c0 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 beacb59..d2186d0 100644 --- a/packs-system/lf-vulnerabilities/LOG.old +++ b/packs-system/lf-vulnerabilities/LOG.old @@ -1,8 +1,8 @@ -2025/01/20-18:34:53.094862 7f6e75ffb6c0 Recovering log #92 -2025/01/20-18:34:53.142930 7f6e75ffb6c0 Delete type=3 #90 -2025/01/20-18:34:53.142986 7f6e75ffb6c0 Delete type=0 #92 -2025/01/20-18:52:31.106363 7f6e753ff6c0 Level-0 table #97: started -2025/01/20-18:52:31.106394 7f6e753ff6c0 Level-0 table #97: 0 bytes OK -2025/01/20-18:52:31.113466 7f6e753ff6c0 Delete type=0 #95 -2025/01/20-18:52:31.120098 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) -2025/01/20-18:52:31.120124 7f6e753ff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/01/21-08:05:19.288005 7f6e76ffd6c0 Recovering log #96 +2025/01/21-08:05:19.298022 7f6e76ffd6c0 Delete type=3 #94 +2025/01/21-08:05:19.298088 7f6e76ffd6c0 Delete type=0 #96 +2025/01/21-08:09:47.074914 7f6e753ff6c0 Level-0 table #101: started +2025/01/21-08:09:47.074948 7f6e753ff6c0 Level-0 table #101: 0 bytes OK +2025/01/21-08:09:47.080933 7f6e753ff6c0 Delete type=0 #99 +2025/01/21-08:09:47.081071 7f6e753ff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end) +2025/01/21-08:09:47.081093 7f6e753ff6c0 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-000098 b/packs-system/lf-vulnerabilities/MANIFEST-000102 similarity index 73% rename from packs-system/lf-vulnerabilities/MANIFEST-000098 rename to packs-system/lf-vulnerabilities/MANIFEST-000102 index b43c8f50e15eafed62c565dfdc54311d25cf2f38..ce3ba3c40388584779af2024935bda6cd4bdb806 100644 GIT binary patch delta 37 pcmeBV>|~sfE!Vx1@dF0~BU3sj19Jw8%+*K1q9AStkekIK0|3Bb2$28) delta 37 pcmeBV>|~sfE$6!V=~NB|My6y=2IdqNnShA5H$dDJAUBOg1^~yc2@C)L diff --git a/styles/monster.less b/styles/monster.less index 2f03282..9f8418c 100644 --- a/styles/monster.less +++ b/styles/monster.less @@ -110,13 +110,13 @@ } } - .monster-resists { + .monster-skills { display: flex; flex-direction: column; gap: 4px; flex: 1; - .monster-resist { + .monster-skill { display: flex; align-items: center; margin-right: 0.5rem; diff --git a/system.json b/system.json index 7a410c4..f00df9b 100644 --- a/system.json +++ b/system.json @@ -6,7 +6,7 @@ "download": "#{DOWNLOAD}#", "url": "#{URL}#", "license": "LICENSE", - "version": "12.0.25", + "version": "12.0.26", "authors": [ { "name": "Uberwald", diff --git a/templates/character-equipment.hbs b/templates/character-equipment.hbs index 94b0866..20a6e76 100644 --- a/templates/character-equipment.hbs +++ b/templates/character-equipment.hbs @@ -3,7 +3,7 @@
{{localize "LETHALFANTASY.Label.money"}}
- {{formField systemFields.moneys.fields.tinbit.fields.value value=system.moneys.tinbin.value localize=true}} + {{formField systemFields.moneys.fields.tinbit.fields.value value=system.moneys.tinbit.value localize=true}} {{formField systemFields.moneys.fields.copper.fields.value value=system.moneys.copper.value localize=true}} {{formField systemFields.moneys.fields.silver.fields.value value=system.moneys.silver.value localize=true}} {{formField systemFields.moneys.fields.gold.fields.value value=system.moneys.gold.value localize=true}} diff --git a/templates/character-main.hbs b/templates/character-main.hbs index 2b92b85..da3ff31 100644 --- a/templates/character-main.hbs +++ b/templates/character-main.hbs @@ -150,7 +150,7 @@ {{localize "LETHALFANTASY.Label.movement.walk"}} {{formField systemFields.movement.fields.walk value=system.movement.walk disabled=isPlayMode}} {{localize "LETHALFANTASY.Label.movement.jog"}} - {{formField systemFields.movement.fields.jog value=system.challenges.movement.jog disabled=isPlayMode}} + {{formField systemFields.movement.fields.jog value=system.movement.jog disabled=isPlayMode}} {{localize "LETHALFANTASY.Label.movement.run"}} {{formField systemFields.movement.fields.run value=system.movement.run disabled=isPlayMode}} {{localize "LETHALFANTASY.Label.movement.sprint"}} diff --git a/templates/monster-main.hbs b/templates/monster-main.hbs index 53d5d25..d31b2eb 100644 --- a/templates/monster-main.hbs +++ b/templates/monster-main.hbs @@ -96,35 +96,34 @@
- {{localize "LETHALFANTASY.Label.Resist"}} -
-
- {{localize "LETHALFANTASY.Label.skills"}} +
+
+ {{localize "LETHALFANTASY.Label.resistTorture"}} {{formField systemFields.resists.fields.resistTorture.fields.value value=system.resists.resistTorture.value disabled=isPlayMode }} - {{localize "LETHALFANTASY.Label.resistPerformance"}} {{formField systemFields.resists.fields.resistPerformance.fields.value value=system.resists.resistPerformance.value disabled=isPlayMode }} - {{localize "LETHALFANTASY.Label.resistIntimidation"}} {{formField systemFields.resists.fields.resistIntimidation.fields.value value=system.resists.resistIntimidation.value disabled=isPlayMode }} - {{localize "LETHALFANTASY.Label.perception"}} {{formField systemFields.resists.fields.perception.fields.value value=system.resists.perception.value disabled=isPlayMode }} - - {{localize "LETHALFANTASY.Label.stealth"}} {{formField systemFields.resists.fields.stealth.fields.value value=system.resists.stealth.value