Compare commits

..

4 Commits

59 changed files with 153 additions and 184 deletions

View File

@ -1,3 +1,8 @@
v12.0.0
- Support Foundry v11/v12
- Correction sur le niveau de jeu par défaut
v11.0.39 v11.0.39
- Modification sur la prise en compte des traits en bonus/malus - Modification sur la prise en compte des traits en bonus/malus

View File

@ -449,6 +449,7 @@ export class EcrymeActor extends Actor {
rollData.applyTranscendence = "execution" rollData.applyTranscendence = "execution"
rollData.traitsBonus = foundry.utils.duplicate(rollData.traits) rollData.traitsBonus = foundry.utils.duplicate(rollData.traits)
rollData.traitsMalus = foundry.utils.duplicate(rollData.traits) rollData.traitsMalus = foundry.utils.duplicate(rollData.traits)
console.log("ROLLDATA", rollData)
let confrontStartDialog = await EcrymeConfrontStartDialog.create(this, rollData) let confrontStartDialog = await EcrymeConfrontStartDialog.create(this, rollData)
confrontStartDialog.render(true) confrontStartDialog.render(true)
} }

View File

@ -10,14 +10,14 @@ export const ECRYME_CONFIG = {
"melee": "ECRY.ui.melee", "melee": "ECRY.ui.melee",
"ranged": "ECRY.ui.ranged" "ranged": "ECRY.ui.ranged"
}, },
traitLevel: [ traitLevel: {
{value: -3, text: "-3"}, "-3":{value: "-3", text: "-3"},
{value: -2, text: "-2"}, "-2":{value: "-2", text: "-2"},
{value: -1, text: "-1"}, "-1":{value: "-1", text: "-1"},
{value: +1, text: "+1"}, "+1":{value: "+1", text: "+1"},
{value: +2, text: "+2"}, "+2":{value: "+2", text: "+2"},
{value: +3, text: "+3"} "+3":{value: "+3", text: "+3"}
], },
impactTypes: { impactTypes: {
physical: "ECRY.ui.physical", physical: "ECRY.ui.physical",
mental: "ECRY.ui.mental", mental: "ECRY.ui.mental",
@ -30,7 +30,7 @@ export const ECRYME_CONFIG = {
major: "ECRY.ui.major" major: "ECRY.ui.major"
}, },
difficulty: { difficulty: {
"-1": {difficulty: "ECRY.ui.none", frequency: "ECRY.ui.none", value: "-"}, "-1": {difficulty: "ECRY.ui.none", frequency: "ECRY.ui.none", value: "-1"},
"8": { difficulty: "ECRY.ui.troublesome", frequency: "ECRY.ui.occasional", value: 8 }, "8": { difficulty: "ECRY.ui.troublesome", frequency: "ECRY.ui.occasional", value: 8 },
"10": { difficulty: "ECRY.ui.difficult", frequency: "ECRY.ui.uncommon", value: 10 }, "10": { difficulty: "ECRY.ui.difficult", frequency: "ECRY.ui.uncommon", value: 10 },
"12": { difficulty: "ECRY.ui.verydifficult", frequency: "ECRY.ui.rare", value: 12 }, "12": { difficulty: "ECRY.ui.verydifficult", frequency: "ECRY.ui.rare", value: 12 },
@ -60,17 +60,16 @@ export const ECRYME_CONFIG = {
}, },
transcendanceOptions: { transcendanceOptions: {
"execution": "ECRY.ui.execution", "execution": "ECRY.ui.execution",
"preservation": "EC,RY.ui.preservation" "preservation": "ECRY.ui.preservation"
}, },
bonusMalusPersoOptions: [ bonusMalusPersoOptions: {
{value: "-3", label: "-3"}, "-3": {value: "-3", label: "-3"},
{value: "-2", label: "-2"}, "-2": {value: "-2", label: "-2"},
{value: "-1", label: "-1"}, "-1": {value: "-1", label: "-1"},
{value: "0", label: "0"}, "0": {value: "0", label: "0"},
{value: "+1", label: "+1"}, "+1": {value: "1", label: "+1"},
{value: "+2", label: "+2"}, "+2": {value: "2", label: "+2"},
{value: "+3", label: "+3"} "+3": {value: "3", label: "+3"}
] }
} }

View File

@ -216,7 +216,7 @@ export class EcrymeUtility {
confront.impactPreservation = this.getImpactFromEffect(Math.abs(confront.effectPreservation)) confront.impactPreservation = this.getImpactFromEffect(Math.abs(confront.effectPreservation))
} }
if (confront.marginPreservation > 0) { if (confront.marginPreservation > 0) {
confront.bonus1 = -confront.marginPreservation confront.bonus1 = confront.marginPreservation
} }
let msg = await this.createChatWithRollMode(this.confrontData1.alias, { let msg = await this.createChatWithRollMode(this.confrontData1.alias, {
@ -558,7 +558,7 @@ export class EcrymeUtility {
let actor = game.actors.get(rollData.actorId) let actor = game.actors.get(rollData.actorId)
// Fix difficulty // Fix difficulty
if (!rollData.difficulty || rollData.difficulty == "-") { if (!rollData.difficulty || rollData.difficulty == "-1") {
rollData.difficulty = 0 rollData.difficulty = 0
} }
rollData.difficulty = Number(rollData.difficulty) rollData.difficulty = Number(rollData.difficulty)
@ -685,14 +685,14 @@ export class EcrymeUtility {
let rollData = { let rollData = {
rollId: foundry.utils.randomID(16), rollId: foundry.utils.randomID(16),
type: "roll-data", type: "roll-data",
bonusMalusPerso: 0, bonusMalusPerso: "0",
bonusMalusSituation: 0, bonusMalusSituation: 0,
bonusMalusDef: 0, bonusMalusDef: 0,
annencyBonus: 0, annencyBonus: 0,
bonusMalusPortee: 0, bonusMalusPortee: 0,
skillTranscendence: 0, skillTranscendence: 0,
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
difficulty: "-", difficulty: "-1",
useSpleen: false, useSpleen: false,
useIdeal: false, useIdeal: false,
impactMalus: 0, impactMalus: 0,

View File

@ -163,9 +163,9 @@ export class EcrymeConfrontDialog extends Dialog {
// Apply Transcend if needed // Apply Transcend if needed
if (this.rollData.skillTranscendence > 0) { if (this.rollData.skillTranscendence > 0) {
if (this.rollData.applyTranscendence == "execution") { if (this.rollData.applyTranscendence == "execution") {
this.rollData.executionTotal += this.rollData.skillTranscendence this.rollData.executionTotal += Number(this.rollData.skillTranscendence)
} else { } else {
this.rollData.preservationTotal += this.rollData.skillTranscendence this.rollData.preservationTotal += Number(this.rollData.skillTranscendence)
} }
} }
} }
@ -212,19 +212,19 @@ export class EcrymeConfrontDialog extends Dialog {
for (let id of rollData.traitsBonusSelected) { for (let id of rollData.traitsBonusSelected) {
let trait = rollData.traitsBonus.find(t => t._id == id) let trait = rollData.traitsBonus.find(t => t._id == id)
trait.activated = true trait.activated = true
rollData.bonusMalusTraits += trait.system.level rollData.bonusMalusTraits += Number(trait.system.level)
} }
} }
if (rollData.traitsMalusSelected && rollData.traitsMalusSelected.length > 0) { if (rollData.traitsMalusSelected && rollData.traitsMalusSelected.length > 0) {
for (let id of rollData.traitsMalusSelected) { for (let id of rollData.traitsMalusSelected) {
let trait = rollData.traitsMalus.find(t => t._id == id) let trait = rollData.traitsMalus.find(t => t._id == id)
trait.activated = true trait.activated = true
rollData.bonusMalusTraits -= trait.system.level rollData.bonusMalusTraits -= Number(trait.system.level)
} }
} }
rollData.executionTotal += rollData.bonusMalusTraits + rollData.bonusMalusPerso rollData.executionTotal += Number(rollData.bonusMalusTraits) + Number(rollData.bonusMalusPerso)
rollData.preservationTotal += rollData.bonusMalusTraits + rollData.bonusMalusPerso rollData.preservationTotal += Number(rollData.bonusMalusTraits) + Number(rollData.bonusMalusPerso)
this.refreshDialog() this.refreshDialog()
} }
@ -234,7 +234,7 @@ export class EcrymeConfrontDialog extends Dialog {
super.activateListeners(html); super.activateListeners(html);
html.find('#bonusMalusPerso').change((event) => { html.find('#bonusMalusPerso').change((event) => {
this.rollData.bonusMalusPerso = Number(event.currentTarget.value) this.rollData.bonusMalusPerso = event.currentTarget.value
this.computeTotals() this.computeTotals()
}) })
html.find('#roll-specialization').change((event) => { html.find('#roll-specialization').change((event) => {

View File

@ -58,6 +58,7 @@ export class EcrymeRollDialog extends Dialog {
$(function () { onLoad(); }); $(function () { onLoad(); });
html.find('#bonusMalusPerso').change((event) => { html.find('#bonusMalusPerso').change((event) => {
console.log("DIFF", event.currentTarget.value)
this.rollData.bonusMalusPerso = Number(event.currentTarget.value) this.rollData.bonusMalusPerso = Number(event.currentTarget.value)
}) })
html.find('#roll-difficulty').change((event) => { html.find('#roll-difficulty').change((event) => {

View File

@ -98,6 +98,9 @@ async function importDefaultScene() {
/* -------------------------------------------- */ /* -------------------------------------------- */
Hooks.once("ready", function () { Hooks.once("ready", function () {
// Load trranslations
Babele.get().setSystemTranslationsDir("translated")
// User warning // User warning
if (!game.user.isGM && game.user.character == undefined) { if (!game.user.isGM && game.user.character == undefined) {
ui.notifications.info("Attention ! Aucun personnage relié au joueur !"); ui.notifications.info("Attention ! Aucun personnage relié au joueur !");

Binary file not shown.

BIN
packs/equipment/000171.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000159 MANIFEST-000176

View File

@ -1,7 +1,7 @@
2024/04/26-19:22:08.707793 7f89060006c0 Recovering log #156 2025/03/11-22:28:43.689446 7f24c57fa6c0 Recovering log #174
2024/04/26-19:22:08.718085 7f89060006c0 Delete type=3 #154 2025/03/11-22:28:43.742748 7f24c57fa6c0 Delete type=3 #172
2024/04/26-19:22:08.718160 7f89060006c0 Delete type=0 #156 2025/03/11-22:28:43.742876 7f24c57fa6c0 Delete type=0 #174
2024/04/26-19:25:18.674002 7f88ffe006c0 Level-0 table #162: started 2025/03/11-22:29:05.490854 7f24c4bff6c0 Level-0 table #179: started
2024/04/26-19:25:18.674046 7f88ffe006c0 Level-0 table #162: 0 bytes OK 2025/03/11-22:29:05.490876 7f24c4bff6c0 Level-0 table #179: 0 bytes OK
2024/04/26-19:25:18.715930 7f88ffe006c0 Delete type=0 #160 2025/03/11-22:29:05.528875 7f24c4bff6c0 Delete type=0 #177
2024/04/26-19:25:18.747436 7f88ffe006c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.604302 7f24c4bff6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

View File

@ -1,14 +1,7 @@
2024/04/26-18:42:26.253704 7f89060006c0 Recovering log #152 2025/03/11-22:17:42.207103 7f24c5ffb6c0 Recovering log #169
2024/04/26-18:42:26.264507 7f89060006c0 Delete type=3 #150 2025/03/11-22:17:42.229307 7f24c5ffb6c0 Delete type=3 #167
2024/04/26-18:42:26.264666 7f89060006c0 Delete type=0 #152 2025/03/11-22:17:42.229364 7f24c5ffb6c0 Delete type=0 #169
2024/04/26-19:22:04.326808 7f88ffe006c0 Level-0 table #157: started 2025/03/11-22:28:37.828063 7f24c4bff6c0 Level-0 table #175: started
2024/04/26-19:22:04.330698 7f88ffe006c0 Level-0 table #157: 26343 bytes OK 2025/03/11-22:28:37.828090 7f24c4bff6c0 Level-0 table #175: 0 bytes OK
2024/04/26-19:22:04.337326 7f88ffe006c0 Delete type=0 #155 2025/03/11-22:28:37.835412 7f24c4bff6c0 Delete type=0 #173
2024/04/26-19:22:04.358386 7f88ffe006c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at '!items!zs7krgXhDRndtqbl' @ 338 : 1 2025/03/11-22:28:37.855865 7f24c4bff6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.358402 7f88ffe006c0 Compacting 1@0 + 1@1 files
2024/04/26-19:22:04.362396 7f88ffe006c0 Generated table #158@0: 174 keys, 27263 bytes
2024/04/26-19:22:04.362426 7f88ffe006c0 Compacted 1@0 + 1@1 files => 27263 bytes
2024/04/26-19:22:04.368459 7f88ffe006c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/04/26-19:22:04.368664 7f88ffe006c0 Delete type=2 #9
2024/04/26-19:22:04.368919 7f88ffe006c0 Delete type=2 #157
2024/04/26-19:22:04.400712 7f88ffe006c0 Manual compaction at level-0 from '!items!zs7krgXhDRndtqbl' @ 338 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000096 MANIFEST-000113

View File

@ -1,8 +1,8 @@
2024/04/26-19:22:08.762783 7f89074006c0 Recovering log #93 2025/03/11-22:28:43.904749 7f24c6ffd6c0 Recovering log #111
2024/04/26-19:22:08.773921 7f89074006c0 Delete type=3 #91 2025/03/11-22:28:43.971386 7f24c6ffd6c0 Delete type=3 #109
2024/04/26-19:22:08.774007 7f89074006c0 Delete type=0 #93 2025/03/11-22:28:43.971494 7f24c6ffd6c0 Delete type=0 #111
2024/04/26-19:25:18.785678 7f88ffe006c0 Level-0 table #99: started 2025/03/11-22:29:05.641249 7f24c4bff6c0 Level-0 table #116: started
2024/04/26-19:25:18.785720 7f88ffe006c0 Level-0 table #99: 0 bytes OK 2025/03/11-22:29:05.641276 7f24c4bff6c0 Level-0 table #116: 0 bytes OK
2024/04/26-19:25:18.821605 7f88ffe006c0 Delete type=0 #97 2025/03/11-22:29:05.674923 7f24c4bff6c0 Delete type=0 #114
2024/04/26-19:25:18.901806 7f88ffe006c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.723243 7f24c4bff6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)
2024/04/26-19:25:18.901870 7f88ffe006c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.762798 7f24c4bff6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)

View File

@ -1,15 +1,8 @@
2024/04/26-18:42:26.318647 7f8906a006c0 Recovering log #89 2025/03/11-22:17:42.313432 7f24c57fa6c0 Recovering log #106
2024/04/26-18:42:26.329907 7f8906a006c0 Delete type=3 #87 2025/03/11-22:17:42.340002 7f24c57fa6c0 Delete type=3 #104
2024/04/26-18:42:26.329974 7f8906a006c0 Delete type=0 #89 2025/03/11-22:17:42.340070 7f24c57fa6c0 Delete type=0 #106
2024/04/26-19:22:04.427916 7f88ffe006c0 Level-0 table #94: started 2025/03/11-22:28:37.842072 7f24c4bff6c0 Level-0 table #112: started
2024/04/26-19:22:04.431410 7f88ffe006c0 Level-0 table #94: 2184 bytes OK 2025/03/11-22:28:37.842115 7f24c4bff6c0 Level-0 table #112: 0 bytes OK
2024/04/26-19:22:04.438566 7f88ffe006c0 Delete type=0 #92 2025/03/11-22:28:37.848681 7f24c4bff6c0 Delete type=0 #110
2024/04/26-19:22:04.449035 7f88ffe006c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) 2025/03/11-22:28:37.855911 7f24c4bff6c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.449082 7f88ffe006c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 14 : 1 2025/03/11-22:28:37.855943 7f24c4bff6c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.449091 7f88ffe006c0 Compacting 1@1 + 1@2 files
2024/04/26-19:22:04.452506 7f88ffe006c0 Generated table #95@1: 4 keys, 2184 bytes
2024/04/26-19:22:04.452542 7f88ffe006c0 Compacted 1@1 + 1@2 files => 2184 bytes
2024/04/26-19:22:04.458702 7f88ffe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/04/26-19:22:04.458800 7f88ffe006c0 Delete type=2 #74
2024/04/26-19:22:04.458954 7f88ffe006c0 Delete type=2 #94
2024/04/26-19:22:04.482775 7f88ffe006c0 Manual compaction at level-1 from '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 14 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/help/MANIFEST-000113 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000159 MANIFEST-000176

View File

@ -1,7 +1,7 @@
2024/04/26-19:22:08.749669 7f8906a006c0 Recovering log #156 2025/03/11-22:28:43.852356 7f24c67fc6c0 Recovering log #174
2024/04/26-19:22:08.759716 7f8906a006c0 Delete type=3 #154 2025/03/11-22:28:43.902310 7f24c67fc6c0 Delete type=3 #172
2024/04/26-19:22:08.759885 7f8906a006c0 Delete type=0 #156 2025/03/11-22:28:43.902433 7f24c67fc6c0 Delete type=0 #174
2024/04/26-19:25:18.747562 7f88ffe006c0 Level-0 table #162: started 2025/03/11-22:29:05.604411 7f24c4bff6c0 Level-0 table #179: started
2024/04/26-19:25:18.747596 7f88ffe006c0 Level-0 table #162: 0 bytes OK 2025/03/11-22:29:05.604444 7f24c4bff6c0 Level-0 table #179: 0 bytes OK
2024/04/26-19:25:18.785476 7f88ffe006c0 Delete type=0 #160 2025/03/11-22:29:05.641128 7f24c4bff6c0 Delete type=0 #177
2024/04/26-19:25:18.901779 7f88ffe006c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.723220 7f24c4bff6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

View File

@ -1,14 +1,7 @@
2024/04/26-18:42:26.305585 7f89056006c0 Recovering log #152 2025/03/11-22:17:42.287558 7f24c6ffd6c0 Recovering log #169
2024/04/26-18:42:26.316048 7f89056006c0 Delete type=3 #150 2025/03/11-22:17:42.309970 7f24c6ffd6c0 Delete type=3 #167
2024/04/26-18:42:26.316142 7f89056006c0 Delete type=0 #152 2025/03/11-22:17:42.310079 7f24c6ffd6c0 Delete type=0 #169
2024/04/26-19:22:04.400858 7f88ffe006c0 Level-0 table #157: started 2025/03/11-22:28:37.821422 7f24c4bff6c0 Level-0 table #175: started
2024/04/26-19:22:04.404082 7f88ffe006c0 Level-0 table #157: 6648 bytes OK 2025/03/11-22:28:37.821461 7f24c4bff6c0 Level-0 table #175: 0 bytes OK
2024/04/26-19:22:04.410232 7f88ffe006c0 Delete type=0 #155 2025/03/11-22:28:37.827638 7f24c4bff6c0 Delete type=0 #173
2024/04/26-19:22:04.438765 7f88ffe006c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at '!items!oSutlbe9wyBZccmf' @ 45 : 1 2025/03/11-22:28:37.827871 7f24c4bff6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.438781 7f88ffe006c0 Compacting 1@0 + 1@1 files
2024/04/26-19:22:04.442180 7f88ffe006c0 Generated table #158@0: 15 keys, 6648 bytes
2024/04/26-19:22:04.442217 7f88ffe006c0 Compacted 1@0 + 1@1 files => 6648 bytes
2024/04/26-19:22:04.448645 7f88ffe006c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/04/26-19:22:04.448777 7f88ffe006c0 Delete type=2 #9
2024/04/26-19:22:04.448921 7f88ffe006c0 Delete type=2 #157
2024/04/26-19:22:04.449050 7f88ffe006c0 Manual compaction at level-0 from '!items!oSutlbe9wyBZccmf' @ 45 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000043 MANIFEST-000060

View File

@ -1,8 +1,8 @@
2024/04/26-19:22:08.735377 7f89074006c0 Recovering log #40 2025/03/11-22:28:43.794986 7f24c6ffd6c0 Recovering log #58
2024/04/26-19:22:08.745776 7f89074006c0 Delete type=3 #38 2025/03/11-22:28:43.848806 7f24c6ffd6c0 Delete type=3 #56
2024/04/26-19:22:08.745887 7f89074006c0 Delete type=0 #40 2025/03/11-22:28:43.848927 7f24c6ffd6c0 Delete type=0 #58
2024/04/26-19:25:18.595904 7f88ffe006c0 Level-0 table #46: started 2025/03/11-22:29:05.569282 7f24c4bff6c0 Level-0 table #63: started
2024/04/26-19:25:18.595980 7f88ffe006c0 Level-0 table #46: 0 bytes OK 2025/03/11-22:29:05.569313 7f24c4bff6c0 Level-0 table #63: 0 bytes OK
2024/04/26-19:25:18.630930 7f88ffe006c0 Delete type=0 #44 2025/03/11-22:29:05.604065 7f24c4bff6c0 Delete type=0 #61
2024/04/26-19:25:18.747411 7f88ffe006c0 Manual compaction at level-0 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.604324 7f24c4bff6c0 Manual compaction at level-0 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end)
2024/04/26-19:25:18.747487 7f88ffe006c0 Manual compaction at level-1 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.675098 7f24c4bff6c0 Manual compaction at level-1 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end)

View File

@ -1,15 +1,8 @@
2024/04/26-18:42:26.291319 7f8906a006c0 Recovering log #36 2025/03/11-22:17:42.261222 7f24c57fa6c0 Recovering log #53
2024/04/26-18:42:26.301937 7f8906a006c0 Delete type=3 #34 2025/03/11-22:17:42.284333 7f24c57fa6c0 Delete type=3 #51
2024/04/26-18:42:26.302002 7f8906a006c0 Delete type=0 #36 2025/03/11-22:17:42.284459 7f24c57fa6c0 Delete type=0 #53
2024/04/26-19:22:04.316977 7f88ffe006c0 Level-0 table #41: started 2025/03/11-22:28:37.807470 7f24c4bff6c0 Level-0 table #59: started
2024/04/26-19:22:04.320512 7f88ffe006c0 Level-0 table #41: 1610 bytes OK 2025/03/11-22:28:37.807537 7f24c4bff6c0 Level-0 table #59: 0 bytes OK
2024/04/26-19:22:04.326671 7f88ffe006c0 Delete type=0 #39 2025/03/11-22:28:37.814273 7f24c4bff6c0 Delete type=0 #57
2024/04/26-19:22:04.358352 7f88ffe006c0 Manual compaction at level-0 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end) 2025/03/11-22:28:37.827846 7f24c4bff6c0 Manual compaction at level-0 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.389705 7f88ffe006c0 Manual compaction at level-1 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at '!scenes!wJJTdzEVyJpkUXaM' @ 4 : 1 2025/03/11-22:28:37.828046 7f24c4bff6c0 Manual compaction at level-1 from '!scenes!YYBr138LR7ntGFdo' @ 72057594037927935 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.389720 7f88ffe006c0 Compacting 1@1 + 1@2 files
2024/04/26-19:22:04.392996 7f88ffe006c0 Generated table #42@1: 2 keys, 1610 bytes
2024/04/26-19:22:04.393035 7f88ffe006c0 Compacted 1@1 + 1@2 files => 1610 bytes
2024/04/26-19:22:04.400428 7f88ffe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/04/26-19:22:04.400531 7f88ffe006c0 Delete type=2 #5
2024/04/26-19:22:04.400646 7f88ffe006c0 Delete type=2 #41
2024/04/26-19:22:04.400749 7f88ffe006c0 Manual compaction at level-1 from '!scenes!wJJTdzEVyJpkUXaM' @ 4 : 1 .. '!scenes!wJJTdzEVyJpkUXaM' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000159 MANIFEST-000176

View File

@ -1,7 +1,7 @@
2024/04/26-19:22:08.694940 7f89056006c0 Recovering log #156 2025/03/11-22:28:43.632057 7f24c5ffb6c0 Recovering log #174
2024/04/26-19:22:08.705096 7f89056006c0 Delete type=3 #154 2025/03/11-22:28:43.687014 7f24c5ffb6c0 Delete type=3 #172
2024/04/26-19:22:08.705158 7f89056006c0 Delete type=0 #156 2025/03/11-22:28:43.687139 7f24c5ffb6c0 Delete type=0 #174
2024/04/26-19:25:18.631092 7f88ffe006c0 Level-0 table #162: started 2025/03/11-22:29:05.529067 7f24c4bff6c0 Level-0 table #179: started
2024/04/26-19:25:18.631157 7f88ffe006c0 Level-0 table #162: 0 bytes OK 2025/03/11-22:29:05.529094 7f24c4bff6c0 Level-0 table #179: 0 bytes OK
2024/04/26-19:25:18.673806 7f88ffe006c0 Delete type=0 #160 2025/03/11-22:29:05.569107 7f24c4bff6c0 Delete type=0 #177
2024/04/26-19:25:18.747426 7f88ffe006c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.604312 7f24c4bff6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

View File

@ -1,14 +1,7 @@
2024/04/26-18:42:26.237456 7f89074006c0 Recovering log #152 2025/03/11-22:17:42.183744 7f24c67fc6c0 Recovering log #169
2024/04/26-18:42:26.248857 7f89074006c0 Delete type=3 #150 2025/03/11-22:17:42.204063 7f24c67fc6c0 Delete type=3 #167
2024/04/26-18:42:26.249007 7f89074006c0 Delete type=0 #152 2025/03/11-22:17:42.204124 7f24c67fc6c0 Delete type=0 #169
2024/04/26-19:22:04.337456 7f88ffe006c0 Level-0 table #157: started 2025/03/11-22:28:37.801121 7f24c4bff6c0 Level-0 table #175: started
2024/04/26-19:22:04.340711 7f88ffe006c0 Level-0 table #157: 14514 bytes OK 2025/03/11-22:28:37.801173 7f24c4bff6c0 Level-0 table #175: 0 bytes OK
2024/04/26-19:22:04.346950 7f88ffe006c0 Delete type=0 #155 2025/03/11-22:28:37.807280 7f24c4bff6c0 Delete type=0 #173
2024/04/26-19:22:04.369097 7f88ffe006c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at '!items!yozTUjNuc2rEGjFK' @ 208 : 1 2025/03/11-22:28:37.827819 7f24c4bff6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.369120 7f88ffe006c0 Compacting 1@0 + 1@1 files
2024/04/26-19:22:04.373318 7f88ffe006c0 Generated table #158@0: 113 keys, 16306 bytes
2024/04/26-19:22:04.373343 7f88ffe006c0 Compacted 1@0 + 1@1 files => 16306 bytes
2024/04/26-19:22:04.379990 7f88ffe006c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/04/26-19:22:04.380097 7f88ffe006c0 Delete type=2 #9
2024/04/26-19:22:04.380204 7f88ffe006c0 Delete type=2 #157
2024/04/26-19:22:04.400725 7f88ffe006c0 Manual compaction at level-0 from '!items!yozTUjNuc2rEGjFK' @ 208 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/traits/000171.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000159 MANIFEST-000176

View File

@ -1,7 +1,7 @@
2024/04/26-19:22:08.721470 7f8906a006c0 Recovering log #156 2025/03/11-22:28:43.745519 7f24c67fc6c0 Recovering log #174
2024/04/26-19:22:08.732531 7f8906a006c0 Delete type=3 #154 2025/03/11-22:28:43.792356 7f24c67fc6c0 Delete type=3 #172
2024/04/26-19:22:08.732624 7f8906a006c0 Delete type=0 #156 2025/03/11-22:28:43.792465 7f24c67fc6c0 Delete type=0 #174
2024/04/26-19:25:18.716069 7f88ffe006c0 Level-0 table #162: started 2025/03/11-22:29:05.462231 7f24c4bff6c0 Level-0 table #179: started
2024/04/26-19:25:18.716099 7f88ffe006c0 Level-0 table #162: 0 bytes OK 2025/03/11-22:29:05.462271 7f24c4bff6c0 Level-0 table #179: 0 bytes OK
2024/04/26-19:25:18.747273 7f88ffe006c0 Delete type=0 #160 2025/03/11-22:29:05.490724 7f24c4bff6c0 Delete type=0 #177
2024/04/26-19:25:18.747446 7f88ffe006c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) 2025/03/11-22:29:05.604286 7f24c4bff6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

View File

@ -1,14 +1,7 @@
2024/04/26-18:42:26.268836 7f89056006c0 Recovering log #152 2025/03/11-22:17:42.232923 7f24c6ffd6c0 Recovering log #169
2024/04/26-18:42:26.284952 7f89056006c0 Delete type=3 #150 2025/03/11-22:17:42.257730 7f24c6ffd6c0 Delete type=3 #167
2024/04/26-18:42:26.285029 7f89056006c0 Delete type=0 #152 2025/03/11-22:17:42.257832 7f24c6ffd6c0 Delete type=0 #169
2024/04/26-19:22:04.347189 7f88ffe006c0 Level-0 table #157: started 2025/03/11-22:28:37.814417 7f24c4bff6c0 Level-0 table #175: started
2024/04/26-19:22:04.350819 7f88ffe006c0 Level-0 table #157: 3577 bytes OK 2025/03/11-22:28:37.814450 7f24c4bff6c0 Level-0 table #175: 0 bytes OK
2024/04/26-19:22:04.358154 7f88ffe006c0 Delete type=0 #155 2025/03/11-22:28:37.821238 7f24c4bff6c0 Delete type=0 #173
2024/04/26-19:22:04.380268 7f88ffe006c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at '!items!zgNI2haxhBxBDBdl' @ 98 : 1 2025/03/11-22:28:37.827860 7f24c4bff6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)
2024/04/26-19:22:04.380277 7f88ffe006c0 Compacting 1@0 + 1@1 files
2024/04/26-19:22:04.383386 7f88ffe006c0 Generated table #158@0: 25 keys, 4133 bytes
2024/04/26-19:22:04.383409 7f88ffe006c0 Compacted 1@0 + 1@1 files => 4133 bytes
2024/04/26-19:22:04.389454 7f88ffe006c0 compacted to: files[ 0 1 0 0 0 0 0 ]
2024/04/26-19:22:04.389551 7f88ffe006c0 Delete type=2 #9
2024/04/26-19:22:04.389636 7f88ffe006c0 Delete type=2 #157
2024/04/26-19:22:04.400736 7f88ffe006c0 Manual compaction at level-0 from '!items!zgNI2haxhBxBDBdl' @ 98 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -3,8 +3,10 @@
"esmodules": [ "esmodules": [
"modules/ecryme-main.js" "modules/ecryme-main.js"
], ],
"gridDistance": 1, "grid": {
"gridUnits": "m", "distance": 2,
"units": "m"
},
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",
@ -102,7 +104,7 @@
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-ecryme/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-ecryme/raw/branch/master/system.json",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "12",
"verified": "12" "verified": "12"
}, },
"id": "fvtt-ecryme", "id": "fvtt-ecryme",
@ -123,7 +125,7 @@
}, },
"title": "Ecryme, le Jeu de Rôles", "title": "Ecryme, le Jeu de Rôles",
"url": "https://www.uberwald.me/gitea/public/fvtt-ecryme", "url": "https://www.uberwald.me/gitea/public/fvtt-ecryme",
"version": "12.0.0", "version": "12.0.2",
"download": "https://www.uberwald.me/gitea/public/fvtt-ecryme/archive/fvtt-ecryme-v12.0.0.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-ecryme/archive/fvtt-ecryme-v12.0.2.zip",
"background": "systems/fvtt-ecryme/images/assets/ecryme_extract_panel_01.webp" "background": "systems/fvtt-ecryme/images/assets/ecryme_extract_panel_01.webp"
} }

View File

@ -114,8 +114,8 @@
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus : </span> <span class="roll-dialog-label">Bonus/Malus : </span>
<select id="bonusMalusPerso" name="bonusMalusPerso"> <select id="bonusMalusPerso" name="bonusMalusPerso" type="text" data-dtype="String">
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso valueAttr="value" labelAttr="label"}} {{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso labelAttr="label"}}
</select> </select>
</div> </div>

View File

@ -71,8 +71,8 @@
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus : </span> <span class="roll-dialog-label">Bonus/Malus : </span>
<select id="bonusMalusPerso" name="bonusMalusPerso"> <select type="text" id="bonusMalusPerso" name="bonusMalusPerso" data-dtype="String">
{{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso valueAttr="value" labelAttr="label"}} {{selectOptions config.bonusMalusPersoOptions selected=bonusMalusPerso labelAttr="label"}}
</select> </select>
</div> </div>

View File

@ -12,8 +12,8 @@
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Difficulté : </span> <span class="roll-dialog-label">Difficulté : </span>
<select class="" type="text" id="roll-difficulty" data-dtype="Number"> <select class="" type="text" id="roll-difficulty" data-dtype="String">
{{selectOptions config.difficulty selected=difficulty localize=true valueAttr="value" labelAttr="difficulty"}} {{selectOptions config.difficulty selected=difficulty localize=true labelAttr="difficulty"}}
</select> </select>
</div> </div>

View File

@ -22,7 +22,7 @@
<li class="flexrow"> <li class="flexrow">
<label class="item-name-label-long">{{localize "ECRY.ui.skill"}}</label> <label class="item-name-label-long">{{localize "ECRY.ui.skill"}}</label>
<select class="item-field-label-medium" type="text" name="system.skillkey" value="{{system.skillkey}}" data-dtype="String"> <select class="item-field-label-medium" type="text" name="system.skillkey" value="{{system.skillkey}}" data-dtype="String">
{{selectOptions config.skills selected=system.skillkey localize=true valueAttr="key" textAttr="name"}} {{selectOptions config.skills selected=system.skillkey localize=true valueAttr="key" labelAttr="name"}}
</select> </select>
</li> </li>

View File

@ -28,8 +28,8 @@
<li class="flexrow"> <li class="flexrow">
<label class="item-name-label-long">{{localize "ECRY.ui.niveauTrait"}}</label> <label class="item-name-label-long">{{localize "ECRY.ui.niveauTrait"}}</label>
<select class="item-field-label-medium" type="text" name="system.level" value="{{system.level}}" data-dtype="Number"> <select class="item-field-label-medium" type="text" name="system.level" value="{{system.level}}" data-dtype="String">
{{selectOptions config.traitLevel selected=system.level valueAttr="value" textAttr="text"}} {{selectOptions config.traitLevel selected=system.level labelAttr="text"}}
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -8,7 +8,7 @@
<label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label> <label class="item-field-label-long">{{localize "ECRY.ui.cost"}}</label>
<input type="text" class="item-field-label-short" name="system.cost" value="{{system.cost}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.cost" value="{{system.cost}}" data-dtype="Number" />
<select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="String"> <select class="item-field-label-medium" type="text" name="system.costunit" value="{{system.costunit}}" data-dtype="String">
{{selectOptions config.costUnits selected=system.costunit localize=true}} {{selectOptions config.costUnits selected=system.costunit localize=true labelAttr="name"}}
</select> </select>
</li> </li>