diff --git a/changelog.md b/changelog.md index 9543894..265f1e1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +v11.0.20 + +- Enhance chat message output (cf #25) +- Enhance roll window +- Code simplification + v11.0.19 - Fix killing damage computation (again) diff --git a/modules/hero6-actor.js b/modules/hero6-actor.js index 8ef9c24..d4e7796 100644 --- a/modules/hero6-actor.js +++ b/modules/hero6-actor.js @@ -223,8 +223,10 @@ export class Hero6Actor extends Actor { /* -------------------------------------------- */ prepareManeuver(maneuver) { + let subMode = "normal" if (maneuver.system.maneuvertype == "mental") { - maneuver.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + maneuver.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + subMode = "omcv" if (Number(maneuver.system.omcv)) { maneuver.roll += (Number(maneuver.system.omcv) || 0) } else { @@ -232,12 +234,14 @@ export class Hero6Actor extends Actor { } } else { maneuver.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + subMode = "ocv" if (Number(maneuver.system.ocv)) { maneuver.roll += (Number(maneuver.system.ocv) || 0) } else { maneuver.noOCV = true } } + return subMode } /* -------------------------------------------- */ @@ -637,6 +641,9 @@ export class Hero6Actor extends Actor { rollData.actorImg = this.img rollData.actorId = this.id rollData.img = this.img + rollData.title = this.name + rollData.subMode = "normal" + rollData.characteristics = duplicate(this.system.characteristics) if (chKey) { rollData.charac = duplicate(this.system.characteristics[chKey]) this.prepareCharacValues(rollData.charac) @@ -669,6 +676,7 @@ export class Hero6Actor extends Actor { rollPerception() { let rollData = this.getCommonRollData("int") rollData.isPerception = true + rollData.title = "Perception roll" rollData.charac.roll = Number(rollData.charac.perceptionroll) rollData.mode = "perception" if (rollData.target) { @@ -682,6 +690,7 @@ export class Hero6Actor extends Actor { rollCharac(chKey) { let rollData = this.getCommonRollData(chKey) rollData.mode = "charac" + rollData.title = "Characteristic roll" if (rollData.target) { ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.") return @@ -693,12 +702,13 @@ export class Hero6Actor extends Actor { let item = this.items.get(itemId) let rollData = this.getCommonRollData() rollData.mode = "item" + rollData.title = Hero6Utility.upperFirst(item.type) + " - " + item.name rollData.item = duplicate(item) if (item.type == "skill") { this.prepareSkill(rollData.item) } if (item.type == "maneuver") { - this.prepareManeuver(rollData.item) + rollData.subMode = this.prepareManeuver(rollData.item) } this.startRoll(rollData) } @@ -792,9 +802,10 @@ export class Hero6Actor extends Actor { if (weapon) { weapon = duplicate(weapon) let rollData = this.getCommonRollData() - rollData.weaponRoll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(weapon.system.ocv) || 0) + rollData.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(weapon.system.ocv) || 0) + rollData.subMode = "ocv" rollData.mode = "weapon" - rollData.weapon = weapon + rollData.item = weapon rollData.img = weapon.img this.startRoll(rollData) } else { @@ -807,9 +818,9 @@ export class Hero6Actor extends Actor { if (maneuver) { maneuver = duplicate(maneuver) let rollData = this.getCommonRollData() - rollData.maneuverRoll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(maneuver.system.omcv) || 0) + rollData.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(maneuver.system.omcv) || 0) rollData.mode = "mentalmaneuver" - rollData.maneuver = maneuver + rollData.item = maneuver rollData.img = maneuver.img this.startRoll(rollData) } else { @@ -823,12 +834,14 @@ export class Hero6Actor extends Actor { power = duplicate(power) let rollData = this.getCommonRollData() if (power.system.attackvalue == "ocv") { - rollData.powerRoll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(power.system.ocv) || 0) + rollData.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(power.system.ocv) || 0) + rollData.subMode = "ocv" } else { - rollData.powerRoll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(power.system.omcv) || 0) + rollData.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(power.system.omcv) || 0) + rollData.subMode = "omcv" } rollData.mode = "powerattack" - rollData.power = power + rollData.item = power rollData.img = power.img this.startRoll(rollData) } else { diff --git a/modules/hero6-roll-dialog.js b/modules/hero6-roll-dialog.js index 457cf8f..6011fbb 100644 --- a/modules/hero6-roll-dialog.js +++ b/modules/hero6-roll-dialog.js @@ -5,7 +5,7 @@ export class Hero6RollDialog extends Dialog { /* -------------------------------------------- */ static async create(actor, rollData) { - let options = { classes: ["Hero6Dialog"], width: 460, height: 'fit-content', 'z-index': 99999 }; + let options = { classes: ["Hero6Dialog"], width: 320, height: 'fit-content', 'z-index': 99999 }; let html = await renderTemplate('systems/fvtt-hero-system-6/templates/apps/roll-dialog-generic.hbs', rollData); return new Hero6RollDialog(actor, rollData, html, options); @@ -14,7 +14,7 @@ export class Hero6RollDialog extends Dialog { /* -------------------------------------------- */ constructor(actor, rollData, html, options, close = undefined) { let conf = { - title: (rollData.mode == "skill") ? "Skill" : "Attribute", + title: "Roll window", content: html, buttons: { roll: { diff --git a/modules/hero6-utility.js b/modules/hero6-utility.js index 473fe8a..17e2ad7 100644 --- a/modules/hero6-utility.js +++ b/modules/hero6-utility.js @@ -350,15 +350,6 @@ export class Hero6Utility { let diceFormula = "3d6" let target = 10 - if(rollData.weapon) { - target = rollData.weaponRoll - } - if(rollData.maneuver) { - target = rollData.maneuverRoll - } - if(rollData.power) { - target = rollData.powerRoll - } if (rollData.charac) { target = rollData.charac.roll } diff --git a/packs/complications/000150.log b/packs/complications/000158.log similarity index 100% rename from packs/complications/000150.log rename to packs/complications/000158.log diff --git a/packs/complications/CURRENT b/packs/complications/CURRENT index 89e2564..c16f179 100644 --- a/packs/complications/CURRENT +++ b/packs/complications/CURRENT @@ -1 +1 @@ -MANIFEST-000148 +MANIFEST-000156 diff --git a/packs/complications/LOG b/packs/complications/LOG index b9c8dbe..fc5d40e 100644 --- a/packs/complications/LOG +++ b/packs/complications/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.357191 7f2deb7fe6c0 Recovering log #146 -2023/08/29-09:15:42.368292 7f2deb7fe6c0 Delete type=3 #144 -2023/08/29-09:15:42.368357 7f2deb7fe6c0 Delete type=0 #146 -2023/08/29-09:15:56.203048 7f2b69bff6c0 Level-0 table #151: started -2023/08/29-09:15:56.203075 7f2b69bff6c0 Level-0 table #151: 0 bytes OK -2023/08/29-09:15:56.210550 7f2b69bff6c0 Delete type=0 #149 -2023/08/29-09:15:56.210858 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.210888 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) +2023/08/29-16:25:42.990569 7f2deaffd6c0 Recovering log #154 +2023/08/29-16:25:43.182272 7f2deaffd6c0 Delete type=3 #152 +2023/08/29-16:25:43.182363 7f2deaffd6c0 Delete type=0 #154 +2023/08/29-16:40:28.792648 7f2b69bff6c0 Level-0 table #159: started +2023/08/29-16:40:28.792681 7f2b69bff6c0 Level-0 table #159: 0 bytes OK +2023/08/29-16:40:28.800879 7f2b69bff6c0 Delete type=0 #157 +2023/08/29-16:40:28.808756 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.808800 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) diff --git a/packs/complications/LOG.old b/packs/complications/LOG.old index 2e95675..99ed347 100644 --- a/packs/complications/LOG.old +++ b/packs/complications/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.663426 7f2deb7fe6c0 Recovering log #142 -2023/08/28-17:21:57.682985 7f2deb7fe6c0 Delete type=3 #140 -2023/08/28-17:21:57.683054 7f2deb7fe6c0 Delete type=0 #142 -2023/08/28-17:29:29.211967 7f2b69bff6c0 Level-0 table #147: started -2023/08/28-17:29:29.211992 7f2b69bff6c0 Level-0 table #147: 0 bytes OK -2023/08/28-17:29:29.220711 7f2b69bff6c0 Delete type=0 #145 -2023/08/28-17:29:29.243399 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.243448 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.520040 7f2deb7fe6c0 Recovering log #150 +2023/08/29-16:09:59.534549 7f2deb7fe6c0 Delete type=3 #148 +2023/08/29-16:09:59.534629 7f2deb7fe6c0 Delete type=0 #150 +2023/08/29-16:24:59.318786 7f2b69bff6c0 Level-0 table #155: started +2023/08/29-16:24:59.318844 7f2b69bff6c0 Level-0 table #155: 0 bytes OK +2023/08/29-16:24:59.325770 7f2b69bff6c0 Delete type=0 #153 +2023/08/29-16:24:59.342348 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.342392 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end) diff --git a/packs/complications/MANIFEST-000148 b/packs/complications/MANIFEST-000148 deleted file mode 100644 index 900443b..0000000 Binary files a/packs/complications/MANIFEST-000148 and /dev/null differ diff --git a/packs/complications/MANIFEST-000156 b/packs/complications/MANIFEST-000156 new file mode 100644 index 0000000..2368dd8 Binary files /dev/null and b/packs/complications/MANIFEST-000156 differ diff --git a/packs/equipment/000152.log b/packs/equipment/000160.log similarity index 100% rename from packs/equipment/000152.log rename to packs/equipment/000160.log diff --git a/packs/equipment/CURRENT b/packs/equipment/CURRENT index 939d9b8..9bad6d5 100644 --- a/packs/equipment/CURRENT +++ b/packs/equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000150 +MANIFEST-000158 diff --git a/packs/equipment/LOG b/packs/equipment/LOG index df826fe..b7a6664 100644 --- a/packs/equipment/LOG +++ b/packs/equipment/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.343661 7f2deaffd6c0 Recovering log #148 -2023/08/29-09:15:42.353556 7f2deaffd6c0 Delete type=3 #146 -2023/08/29-09:15:42.353624 7f2deaffd6c0 Delete type=0 #148 -2023/08/29-09:15:56.182688 7f2b69bff6c0 Level-0 table #153: started -2023/08/29-09:15:56.182720 7f2b69bff6c0 Level-0 table #153: 0 bytes OK -2023/08/29-09:15:56.188926 7f2b69bff6c0 Delete type=0 #151 -2023/08/29-09:15:56.203038 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.210844 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) +2023/08/29-16:25:42.891384 7f2deb7fe6c0 Recovering log #156 +2023/08/29-16:25:42.986762 7f2deb7fe6c0 Delete type=3 #154 +2023/08/29-16:25:42.986861 7f2deb7fe6c0 Delete type=0 #156 +2023/08/29-16:40:28.741963 7f2b69bff6c0 Level-0 table #161: started +2023/08/29-16:40:28.742013 7f2b69bff6c0 Level-0 table #161: 0 bytes OK +2023/08/29-16:40:28.749774 7f2b69bff6c0 Delete type=0 #159 +2023/08/29-16:40:28.776172 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.776271 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/LOG.old b/packs/equipment/LOG.old index 1a27c82..45b194b 100644 --- a/packs/equipment/LOG.old +++ b/packs/equipment/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.646235 7f2debfff6c0 Recovering log #144 -2023/08/28-17:21:57.657147 7f2debfff6c0 Delete type=3 #142 -2023/08/28-17:21:57.657220 7f2debfff6c0 Delete type=0 #144 -2023/08/28-17:29:29.191960 7f2b69bff6c0 Level-0 table #149: started -2023/08/28-17:29:29.191991 7f2b69bff6c0 Level-0 table #149: 0 bytes OK -2023/08/28-17:29:29.199910 7f2b69bff6c0 Delete type=0 #147 -2023/08/28-17:29:29.200069 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.211797 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.496232 7f2dea7fc6c0 Recovering log #152 +2023/08/29-16:09:59.514894 7f2dea7fc6c0 Delete type=3 #150 +2023/08/29-16:09:59.515025 7f2dea7fc6c0 Delete type=0 #152 +2023/08/29-16:24:59.281362 7f2b69bff6c0 Level-0 table #157: started +2023/08/29-16:24:59.281398 7f2b69bff6c0 Level-0 table #157: 0 bytes OK +2023/08/29-16:24:59.289117 7f2b69bff6c0 Delete type=0 #155 +2023/08/29-16:24:59.305137 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.312278 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/MANIFEST-000150 b/packs/equipment/MANIFEST-000158 similarity index 72% rename from packs/equipment/MANIFEST-000150 rename to packs/equipment/MANIFEST-000158 index f48f16b..b381c25 100644 Binary files a/packs/equipment/MANIFEST-000150 and b/packs/equipment/MANIFEST-000158 differ diff --git a/packs/skills/000152.log b/packs/maneuvers/000152.log similarity index 100% rename from packs/skills/000152.log rename to packs/maneuvers/000152.log diff --git a/packs/maneuvers/CURRENT b/packs/maneuvers/CURRENT index 48a2453..939d9b8 100644 --- a/packs/maneuvers/CURRENT +++ b/packs/maneuvers/CURRENT @@ -1 +1 @@ -MANIFEST-000142 +MANIFEST-000150 diff --git a/packs/maneuvers/LOG b/packs/maneuvers/LOG index 88b1381..f3e2dae 100644 --- a/packs/maneuvers/LOG +++ b/packs/maneuvers/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.370537 7f2debfff6c0 Recovering log #140 -2023/08/29-09:15:42.387404 7f2debfff6c0 Delete type=3 #138 -2023/08/29-09:15:42.387482 7f2debfff6c0 Delete type=0 #140 -2023/08/29-09:15:56.210998 7f2b69bff6c0 Level-0 table #145: started -2023/08/29-09:15:56.211022 7f2b69bff6c0 Level-0 table #145: 0 bytes OK -2023/08/29-09:15:56.220377 7f2b69bff6c0 Delete type=0 #143 -2023/08/29-09:15:56.246099 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.246149 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) +2023/08/29-16:25:43.164843 7f2debfff6c0 Recovering log #148 +2023/08/29-16:25:43.338845 7f2debfff6c0 Delete type=3 #146 +2023/08/29-16:25:43.338920 7f2debfff6c0 Delete type=0 #148 +2023/08/29-16:40:28.801017 7f2b69bff6c0 Level-0 table #153: started +2023/08/29-16:40:28.801061 7f2b69bff6c0 Level-0 table #153: 0 bytes OK +2023/08/29-16:40:28.808558 7f2b69bff6c0 Delete type=0 #151 +2023/08/29-16:40:28.808780 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.808811 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/LOG.old b/packs/maneuvers/LOG.old index 3e2b0bc..3424b50 100644 --- a/packs/maneuvers/LOG.old +++ b/packs/maneuvers/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.686488 7f2dea7fc6c0 Recovering log #136 -2023/08/28-17:21:57.696930 7f2dea7fc6c0 Delete type=3 #134 -2023/08/28-17:21:57.696989 7f2dea7fc6c0 Delete type=0 #136 -2023/08/28-17:29:29.236177 7f2b69bff6c0 Level-0 table #141: started -2023/08/28-17:29:29.236204 7f2b69bff6c0 Level-0 table #141: 0 bytes OK -2023/08/28-17:29:29.243295 7f2b69bff6c0 Delete type=0 #139 -2023/08/28-17:29:29.243432 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.243457 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.537488 7f2debfff6c0 Recovering log #144 +2023/08/29-16:09:59.555680 7f2debfff6c0 Delete type=3 #142 +2023/08/29-16:09:59.555787 7f2debfff6c0 Delete type=0 #144 +2023/08/29-16:24:59.334341 7f2b69bff6c0 Level-0 table #149: started +2023/08/29-16:24:59.334391 7f2b69bff6c0 Level-0 table #149: 0 bytes OK +2023/08/29-16:24:59.342219 7f2b69bff6c0 Delete type=0 #147 +2023/08/29-16:24:59.342377 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.342413 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/MANIFEST-000142 b/packs/maneuvers/MANIFEST-000150 similarity index 73% rename from packs/maneuvers/MANIFEST-000142 rename to packs/maneuvers/MANIFEST-000150 index b77ab3f..88b5922 100644 Binary files a/packs/maneuvers/MANIFEST-000142 and b/packs/maneuvers/MANIFEST-000150 differ diff --git a/packs/maneuvers/000144.log b/packs/perks/000158.log similarity index 100% rename from packs/maneuvers/000144.log rename to packs/perks/000158.log diff --git a/packs/perks/CURRENT b/packs/perks/CURRENT index 89e2564..c16f179 100644 --- a/packs/perks/CURRENT +++ b/packs/perks/CURRENT @@ -1 +1 @@ -MANIFEST-000148 +MANIFEST-000156 diff --git a/packs/perks/LOG b/packs/perks/LOG index baeafa9..568593b 100644 --- a/packs/perks/LOG +++ b/packs/perks/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.371336 7f2deb7fe6c0 Recovering log #146 -2023/08/29-09:15:42.390934 7f2deb7fe6c0 Delete type=3 #144 -2023/08/29-09:15:42.390982 7f2deb7fe6c0 Delete type=0 #146 -2023/08/29-09:15:56.220622 7f2b69bff6c0 Level-0 table #151: started -2023/08/29-09:15:56.220687 7f2b69bff6c0 Level-0 table #151: 0 bytes OK -2023/08/29-09:15:56.232894 7f2b69bff6c0 Delete type=0 #149 -2023/08/29-09:15:56.246119 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.246163 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) +2023/08/29-16:25:43.185065 7f2dea7fc6c0 Recovering log #154 +2023/08/29-16:25:43.371993 7f2dea7fc6c0 Delete type=3 #152 +2023/08/29-16:25:43.372074 7f2dea7fc6c0 Delete type=0 #154 +2023/08/29-16:40:28.785308 7f2b69bff6c0 Level-0 table #159: started +2023/08/29-16:40:28.785364 7f2b69bff6c0 Level-0 table #159: 0 bytes OK +2023/08/29-16:40:28.792517 7f2b69bff6c0 Delete type=0 #157 +2023/08/29-16:40:28.808742 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.808790 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) diff --git a/packs/perks/LOG.old b/packs/perks/LOG.old index 3259529..24a6b28 100644 --- a/packs/perks/LOG.old +++ b/packs/perks/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.686488 7f2deb7fe6c0 Recovering log #142 -2023/08/28-17:21:57.696930 7f2deb7fe6c0 Delete type=3 #140 -2023/08/28-17:21:57.696987 7f2deb7fe6c0 Delete type=0 #142 -2023/08/28-17:29:29.243529 7f2b69bff6c0 Level-0 table #147: started -2023/08/28-17:29:29.243588 7f2b69bff6c0 Level-0 table #147: 0 bytes OK -2023/08/28-17:29:29.249717 7f2b69bff6c0 Delete type=0 #145 -2023/08/28-17:29:29.256287 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.256310 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.537875 7f2dea7fc6c0 Recovering log #150 +2023/08/29-16:09:59.558667 7f2dea7fc6c0 Delete type=3 #148 +2023/08/29-16:09:59.558997 7f2dea7fc6c0 Delete type=0 #150 +2023/08/29-16:24:59.312392 7f2b69bff6c0 Level-0 table #155: started +2023/08/29-16:24:59.312430 7f2b69bff6c0 Level-0 table #155: 0 bytes OK +2023/08/29-16:24:59.318578 7f2b69bff6c0 Delete type=0 #153 +2023/08/29-16:24:59.342333 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.342384 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end) diff --git a/packs/perks/MANIFEST-000148 b/packs/perks/MANIFEST-000148 deleted file mode 100644 index 7e1cac6..0000000 Binary files a/packs/perks/MANIFEST-000148 and /dev/null differ diff --git a/packs/perks/MANIFEST-000156 b/packs/perks/MANIFEST-000156 new file mode 100644 index 0000000..b9bf14e Binary files /dev/null and b/packs/perks/MANIFEST-000156 differ diff --git a/packs/perks/000150.log b/packs/powers/000159.log similarity index 100% rename from packs/perks/000150.log rename to packs/powers/000159.log diff --git a/packs/powers/CURRENT b/packs/powers/CURRENT index 1dec270..5df89bd 100644 --- a/packs/powers/CURRENT +++ b/packs/powers/CURRENT @@ -1 +1 @@ -MANIFEST-000149 +MANIFEST-000157 diff --git a/packs/powers/LOG b/packs/powers/LOG index 5710815..962b5da 100644 --- a/packs/powers/LOG +++ b/packs/powers/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.357219 7f2dea7fc6c0 Recovering log #147 -2023/08/29-09:15:42.368318 7f2dea7fc6c0 Delete type=3 #145 -2023/08/29-09:15:42.368432 7f2dea7fc6c0 Delete type=0 #147 -2023/08/29-09:15:56.195769 7f2b69bff6c0 Level-0 table #152: started -2023/08/29-09:15:56.195793 7f2b69bff6c0 Level-0 table #152: 0 bytes OK -2023/08/29-09:15:56.202903 7f2b69bff6c0 Delete type=0 #150 -2023/08/29-09:15:56.210821 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.210877 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) +2023/08/29-16:25:42.990448 7f2deb7fe6c0 Recovering log #155 +2023/08/29-16:25:43.154128 7f2deb7fe6c0 Delete type=3 #153 +2023/08/29-16:25:43.154225 7f2deb7fe6c0 Delete type=0 #155 +2023/08/29-16:40:28.776406 7f2b69bff6c0 Level-0 table #160: started +2023/08/29-16:40:28.776459 7f2b69bff6c0 Level-0 table #160: 0 bytes OK +2023/08/29-16:40:28.785118 7f2b69bff6c0 Delete type=0 #158 +2023/08/29-16:40:28.808720 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.808771 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) diff --git a/packs/powers/LOG.old b/packs/powers/LOG.old index 78b021b..3cd4aeb 100644 --- a/packs/powers/LOG.old +++ b/packs/powers/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.662535 7f2debfff6c0 Recovering log #143 -2023/08/28-17:21:57.680123 7f2debfff6c0 Delete type=3 #141 -2023/08/28-17:21:57.680184 7f2debfff6c0 Delete type=0 #143 -2023/08/28-17:29:29.230042 7f2b69bff6c0 Level-0 table #148: started -2023/08/28-17:29:29.230073 7f2b69bff6c0 Level-0 table #148: 0 bytes OK -2023/08/28-17:29:29.236045 7f2b69bff6c0 Delete type=0 #146 -2023/08/28-17:29:29.243423 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.243467 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.520160 7f2debfff6c0 Recovering log #151 +2023/08/29-16:09:59.534547 7f2debfff6c0 Delete type=3 #149 +2023/08/29-16:09:59.534665 7f2debfff6c0 Delete type=0 #151 +2023/08/29-16:24:59.305197 7f2b69bff6c0 Level-0 table #156: started +2023/08/29-16:24:59.305251 7f2b69bff6c0 Level-0 table #156: 0 bytes OK +2023/08/29-16:24:59.312157 7f2b69bff6c0 Delete type=0 #154 +2023/08/29-16:24:59.312296 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.312312 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end) diff --git a/packs/powers/MANIFEST-000149 b/packs/powers/MANIFEST-000157 similarity index 73% rename from packs/powers/MANIFEST-000149 rename to packs/powers/MANIFEST-000157 index 658b9d9..ab8bce7 100644 Binary files a/packs/powers/MANIFEST-000149 and b/packs/powers/MANIFEST-000157 differ diff --git a/packs/powers/000151.log b/packs/skills/000160.log similarity index 100% rename from packs/powers/000151.log rename to packs/skills/000160.log diff --git a/packs/skills/CURRENT b/packs/skills/CURRENT index 939d9b8..9bad6d5 100644 --- a/packs/skills/CURRENT +++ b/packs/skills/CURRENT @@ -1 +1 @@ -MANIFEST-000150 +MANIFEST-000158 diff --git a/packs/skills/LOG b/packs/skills/LOG index 8dba2a4..7d6dfd4 100644 --- a/packs/skills/LOG +++ b/packs/skills/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.343665 7f2deb7fe6c0 Recovering log #148 -2023/08/29-09:15:42.353489 7f2deb7fe6c0 Delete type=3 #146 -2023/08/29-09:15:42.353571 7f2deb7fe6c0 Delete type=0 #148 -2023/08/29-09:15:56.189045 7f2b69bff6c0 Level-0 table #153: started -2023/08/29-09:15:56.189069 7f2b69bff6c0 Level-0 table #153: 0 bytes OK -2023/08/29-09:15:56.195646 7f2b69bff6c0 Delete type=0 #151 -2023/08/29-09:15:56.210796 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.210867 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) +2023/08/29-16:25:42.891392 7f2dea7fc6c0 Recovering log #156 +2023/08/29-16:25:42.986777 7f2dea7fc6c0 Delete type=3 #154 +2023/08/29-16:25:42.986886 7f2dea7fc6c0 Delete type=0 #156 +2023/08/29-16:40:28.763206 7f2b69bff6c0 Level-0 table #161: started +2023/08/29-16:40:28.763254 7f2b69bff6c0 Level-0 table #161: 0 bytes OK +2023/08/29-16:40:28.775955 7f2b69bff6c0 Delete type=0 #159 +2023/08/29-16:40:28.776250 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.776293 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) diff --git a/packs/skills/LOG.old b/packs/skills/LOG.old index 4afe411..e173467 100644 --- a/packs/skills/LOG.old +++ b/packs/skills/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.646376 7f2dea7fc6c0 Recovering log #144 -2023/08/28-17:21:57.660740 7f2dea7fc6c0 Delete type=3 #142 -2023/08/28-17:21:57.660805 7f2dea7fc6c0 Delete type=0 #144 -2023/08/28-17:29:29.220843 7f2b69bff6c0 Level-0 table #149: started -2023/08/28-17:29:29.220875 7f2b69bff6c0 Level-0 table #149: 0 bytes OK -2023/08/28-17:29:29.229929 7f2b69bff6c0 Delete type=0 #147 -2023/08/28-17:29:29.243414 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.243438 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.496231 7f2deb7fe6c0 Recovering log #152 +2023/08/29-16:09:59.514870 7f2deb7fe6c0 Delete type=3 #150 +2023/08/29-16:09:59.515006 7f2deb7fe6c0 Delete type=0 #152 +2023/08/29-16:24:59.297215 7f2b69bff6c0 Level-0 table #157: started +2023/08/29-16:24:59.297268 7f2b69bff6c0 Level-0 table #157: 0 bytes OK +2023/08/29-16:24:59.304916 7f2b69bff6c0 Delete type=0 #155 +2023/08/29-16:24:59.312266 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.312303 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end) diff --git a/packs/skills/MANIFEST-000150 b/packs/skills/MANIFEST-000150 deleted file mode 100644 index 1ebeec4..0000000 Binary files a/packs/skills/MANIFEST-000150 and /dev/null differ diff --git a/packs/skills/MANIFEST-000158 b/packs/skills/MANIFEST-000158 new file mode 100644 index 0000000..fe6475c Binary files /dev/null and b/packs/skills/MANIFEST-000158 differ diff --git a/packs/talents/000150.log b/packs/talents/000158.log similarity index 100% rename from packs/talents/000150.log rename to packs/talents/000158.log diff --git a/packs/talents/CURRENT b/packs/talents/CURRENT index 89e2564..c16f179 100644 --- a/packs/talents/CURRENT +++ b/packs/talents/CURRENT @@ -1 +1 @@ -MANIFEST-000148 +MANIFEST-000156 diff --git a/packs/talents/LOG b/packs/talents/LOG index 9ef13bb..807db8e 100644 --- a/packs/talents/LOG +++ b/packs/talents/LOG @@ -1,8 +1,8 @@ -2023/08/29-09:15:42.388946 7f2dea7fc6c0 Recovering log #146 -2023/08/29-09:15:42.400606 7f2dea7fc6c0 Delete type=3 #144 -2023/08/29-09:15:42.400678 7f2dea7fc6c0 Delete type=0 #146 -2023/08/29-09:15:56.233085 7f2b69bff6c0 Level-0 table #151: started -2023/08/29-09:15:56.233132 7f2b69bff6c0 Level-0 table #151: 0 bytes OK -2023/08/29-09:15:56.245913 7f2b69bff6c0 Delete type=0 #149 -2023/08/29-09:15:56.246135 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) -2023/08/29-09:15:56.246177 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) +2023/08/29-16:25:43.341031 7f2deb7fe6c0 Recovering log #154 +2023/08/29-16:25:43.476661 7f2deb7fe6c0 Delete type=3 #152 +2023/08/29-16:25:43.476735 7f2deb7fe6c0 Delete type=0 #154 +2023/08/29-16:40:28.808880 7f2b69bff6c0 Level-0 table #159: started +2023/08/29-16:40:28.808911 7f2b69bff6c0 Level-0 table #159: 0 bytes OK +2023/08/29-16:40:28.815205 7f2b69bff6c0 Delete type=0 #157 +2023/08/29-16:40:28.815419 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) +2023/08/29-16:40:28.815460 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) diff --git a/packs/talents/LOG.old b/packs/talents/LOG.old index 759779d..4ebffa5 100644 --- a/packs/talents/LOG.old +++ b/packs/talents/LOG.old @@ -1,8 +1,8 @@ -2023/08/28-17:21:57.699870 7f2deaffd6c0 Recovering log #142 -2023/08/28-17:21:57.710300 7f2deaffd6c0 Delete type=3 #140 -2023/08/28-17:21:57.710358 7f2deaffd6c0 Delete type=0 #142 -2023/08/28-17:29:29.249818 7f2b69bff6c0 Level-0 table #147: started -2023/08/28-17:29:29.249840 7f2b69bff6c0 Level-0 table #147: 0 bytes OK -2023/08/28-17:29:29.256178 7f2b69bff6c0 Delete type=0 #145 -2023/08/28-17:29:29.256297 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) -2023/08/28-17:29:29.256320 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) +2023/08/29-16:09:59.560765 7f2deaffd6c0 Recovering log #150 +2023/08/29-16:09:59.570734 7f2deaffd6c0 Delete type=3 #148 +2023/08/29-16:09:59.570804 7f2deaffd6c0 Delete type=0 #150 +2023/08/29-16:24:59.325881 7f2b69bff6c0 Level-0 table #155: started +2023/08/29-16:24:59.325905 7f2b69bff6c0 Level-0 table #155: 0 bytes OK +2023/08/29-16:24:59.334131 7f2b69bff6c0 Delete type=0 #153 +2023/08/29-16:24:59.342366 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) +2023/08/29-16:24:59.342401 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end) diff --git a/packs/talents/MANIFEST-000148 b/packs/talents/MANIFEST-000148 deleted file mode 100644 index a61cdec..0000000 Binary files a/packs/talents/MANIFEST-000148 and /dev/null differ diff --git a/packs/talents/MANIFEST-000156 b/packs/talents/MANIFEST-000156 new file mode 100644 index 0000000..c819cbe Binary files /dev/null and b/packs/talents/MANIFEST-000156 differ diff --git a/styles/simple.css b/styles/simple.css index 123fb27..96db9b3 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -821,10 +821,13 @@ ul, li { .roll-dialog-header { height: 52px; } - +.dialog-roll-title { + margin-left: 8px; +} .actor-icon { float: left; width: 48px; + max-width: 48px; height: 48px; padding: 2px 6px 2px 2px; } diff --git a/system.json b/system.json index e769add..98dc4a1 100644 --- a/system.json +++ b/system.json @@ -91,14 +91,14 @@ "styles": [ "styles/simple.css" ], - "version": "11.0.19", + "version": "11.0.20", "compatibility": { "minimum": "11", "verified": "11" }, "title": "Hero System 6E Basic (Official)", "manifest": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/raw/branch/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.19.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.20.zip", "url": "https://www.uberwald.me/public/uberwald/", "background": "systems/fvtt-hero-system-6/images/ui/hero_foundry_cover.webp", "id": "fvtt-hero-system-6" diff --git a/templates/apps/roll-dialog-generic.hbs b/templates/apps/roll-dialog-generic.hbs index 1645b01..0c644cc 100644 --- a/templates/apps/roll-dialog-generic.hbs +++ b/templates/apps/roll-dialog-generic.hbs @@ -1,9 +1,11 @@