Compare commits

...

3 Commits

32 changed files with 104 additions and 71 deletions

View File

@ -1,7 +1,8 @@
{
"TYPES": {
"Actor": {
"character": "PC",
"pc": "Player Character",
"npc": "Non-Player Character",
"annency": "Annency"
},
"Item": {
@ -17,7 +18,8 @@
"cogs": "Cogs",
"cephaly": "Cephaly",
"boheme": "Boheme",
"amertume": "Amertume"
"amertume": "Amertume",
"gamelevel": "Game level"
},
"chat": {
"formula": "Formula",

View File

@ -1,7 +1,8 @@
{
"TYPES": {
"Actor":{
"character": "Personnage",
"pc": "Personnage Joueur",
"npc": "Personnage Non Joueur",
"annency": "Anence"
},
"Item": {
@ -17,7 +18,8 @@
"cogs": "Engrenages",
"cephaly": "Céphalie",
"boheme": "Bohême",
"amertume": "Amertume"
"amertume": "Amertume",
"gamelevel": "Niveau de jeu"
},
"chat": {
"formula": "Formule",
@ -35,10 +37,10 @@
},
"rule": {
"cephaly-success-12": "Durée : 1 scène - Impact : Superficiel - Bonus : 1 - Elegie : 1",
"cephaly-success-34": "Durée : 1 semaine - Impact : Léger - Bonus : 2 - Elegie : 2",
"cephaly-success-56": "Durée : 1 mois - Impact : Grave - Bonus : 3 - Elegie : 3",
"cephaly-success-78": "Durée : 1 année - Impact : Majeur - Bonus : 4 - Elegie : 4",
"cephaly-success-910": "Durée : Permanent - Impact : Mort - Bonus : 5 - Elegie : 5",
"cephaly-success-4": "Durée : 1 semaine - Impact : Léger - Bonus : 2 - Elegie : 2",
"cephaly-success-6": "Durée : 1 mois - Impact : Grave - Bonus : 3 - Elegie : 3",
"cephaly-success-8": "Durée : 1 année - Impact : Majeur - Bonus : 4 - Elegie : 4",
"cephaly-success-10": "Durée : Permanent - Impact : Mort - Bonus : 5 - Elegie : 5",
"cephaly-failure-2": "Durée : 1 scène - Impact : Superficiel - Malus : 1 - Symptôme non visible et sans gravité - Altération bégigne difficilement repérable",
"cephaly-failure-4": "Durée : 1 semaine - Impact : Léger - Malus : 2 - Symptôme visible non incapacitant - Altération repérable",
"cephaly-failure-6": "Durée : 1 mois - Impact : Grave - Malus : 3 - Symptôme incapacitant - Altération repérable et fâcheuse",

View File

@ -348,7 +348,7 @@ export class EcrymeActor extends Actor {
/* -------------------------------------------- */
modifyConfrontBonus( modifier ) {
let newBonus = this.system.internals.confrontbonus + bonus
let newBonus = this.system.internals.confrontbonus + modifier
this.update({'system.internals.confrontbonus': newBonus})
}
@ -457,6 +457,8 @@ export class EcrymeActor extends Actor {
rollData.title = game.i18n.localize("ECRY.ui.confrontation") + " : " + game.i18n.localize(rollData.skill.name)
rollData.executionTotal = rollData.skill.value
rollData.preservationTotal = rollData.skill.value
rollData.traitsBonus = duplicate(rollData.traits)
rollData.traitsMalus = duplicate(rollData.traits)
rollData.applyTranscendence = "execution"
let confrontStartDialog = await EcrymeConfrontStartDialog.create(this, rollData)
confrontStartDialog.render(true)

View File

@ -492,7 +492,7 @@ export class EcrymeUtility {
rollData.margin = rollData.total - rollData.difficulty
if (rollData.total > rollData.difficulty) {
rollData.isSuccess = true
let maxMargin = rollData.skill.value + (rollData.spec) ? 2 : 0
let maxMargin = rollData.skill.value + ((rollData.spec) ? 2 : 0)
rollData.margin = Math.min(rollData.margin, maxMargin)
}
}

View File

@ -68,7 +68,7 @@ Hooks.once("init", async function () {
EcrymeUtility.init()
console.log("Babele INIT!")
Babele.get().setSystemTranslationsDir("translated");
Babele.get().setSystemTranslationsDir("translated")
});

View File

@ -1 +1 @@
MANIFEST-000054
MANIFEST-000066

View File

@ -1,7 +1,7 @@
2023/08/08-18:04:51.701446 7f5afcdf86c0 Recovering log #52
2023/08/08-18:04:51.711602 7f5afcdf86c0 Delete type=3 #50
2023/08/08-18:04:51.711652 7f5afcdf86c0 Delete type=0 #52
2023/08/08-18:04:59.546696 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.546715 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.552809 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560028 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)
2023/08/17-08:30:06.224452 7fa0dcff96c0 Recovering log #64
2023/08/17-08:30:06.244297 7fa0dcff96c0 Delete type=3 #62
2023/08/17-08:30:06.244357 7fa0dcff96c0 Delete type=0 #64
2023/08/17-08:31:03.278842 7f9e3ffff6c0 Level-0 table #69: started
2023/08/17-08:31:03.278870 7f9e3ffff6c0 Level-0 table #69: 0 bytes OK
2023/08/17-08:31:03.285336 7f9e3ffff6c0 Delete type=0 #67
2023/08/17-08:31:03.285445 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-17:50:40.597296 7f5afd5f96c0 Recovering log #48
2023/08/08-17:50:40.655447 7f5afd5f96c0 Delete type=3 #46
2023/08/08-17:50:40.655509 7f5afd5f96c0 Delete type=0 #48
2023/08/08-18:04:06.340910 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.340947 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.347333 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361314 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)
2023/08/17-08:11:25.804724 7fa0ddffb6c0 Recovering log #60
2023/08/17-08:11:25.814678 7fa0ddffb6c0 Delete type=3 #58
2023/08/17-08:11:25.814742 7fa0ddffb6c0 Delete type=0 #60
2023/08/17-08:27:23.377433 7f9e3ffff6c0 Level-0 table #65: started
2023/08/17-08:27:23.377511 7f9e3ffff6c0 Level-0 table #65: 0 bytes OK
2023/08/17-08:27:23.561640 7f9e3ffff6c0 Delete type=0 #63
2023/08/17-08:27:23.806374 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

BIN
packs/help/000005.ldb Normal file

Binary file not shown.

1
packs/help/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000002

5
packs/help/LOG Normal file
View File

@ -0,0 +1,5 @@
2023/08/17-08:30:06.273842 7fa0dd7fa6c0 Delete type=3 #1
2023/08/17-08:31:03.298799 7f9e3ffff6c0 Level-0 table #5: started
2023/08/17-08:31:03.302135 7f9e3ffff6c0 Level-0 table #5: 2278 bytes OK
2023/08/17-08:31:03.309094 7f9e3ffff6c0 Delete type=0 #3
2023/08/17-08:31:03.309619 7f9e3ffff6c0 Manual compaction at level-0 from '!journal!N3XOO6dRLuKwQfp2' @ 72057594037927935 : 1 .. '!journal.pages!N3XOO6dRLuKwQfp2.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end)

BIN
packs/help/MANIFEST-000002 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000054
MANIFEST-000066

View File

@ -1,7 +1,7 @@
2023/08/08-18:04:51.714583 7f5afcdf86c0 Recovering log #52
2023/08/08-18:04:51.723706 7f5afcdf86c0 Delete type=3 #50
2023/08/08-18:04:51.723766 7f5afcdf86c0 Delete type=0 #52
2023/08/08-18:04:59.560163 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.560198 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.566320 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.566452 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)
2023/08/17-08:30:06.246354 7fa0de7fc6c0 Recovering log #64
2023/08/17-08:30:06.257748 7fa0de7fc6c0 Delete type=3 #62
2023/08/17-08:30:06.257814 7fa0de7fc6c0 Delete type=0 #64
2023/08/17-08:31:03.285529 7f9e3ffff6c0 Level-0 table #69: started
2023/08/17-08:31:03.285609 7f9e3ffff6c0 Level-0 table #69: 0 bytes OK
2023/08/17-08:31:03.291891 7f9e3ffff6c0 Delete type=0 #67
2023/08/17-08:31:03.309552 7f9e3ffff6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-17:50:40.659050 7f5afd5f96c0 Recovering log #48
2023/08/08-17:50:40.767128 7f5afd5f96c0 Delete type=3 #46
2023/08/08-17:50:40.767167 7f5afd5f96c0 Delete type=0 #48
2023/08/08-18:04:06.354489 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.354521 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.361236 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361331 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)
2023/08/17-08:11:25.818427 7fa0de7fc6c0 Recovering log #60
2023/08/17-08:11:25.837207 7fa0de7fc6c0 Delete type=3 #58
2023/08/17-08:11:25.837263 7fa0de7fc6c0 Delete type=0 #60
2023/08/17-08:27:24.349456 7f9e3ffff6c0 Level-0 table #65: started
2023/08/17-08:27:24.349508 7f9e3ffff6c0 Level-0 table #65: 0 bytes OK
2023/08/17-08:27:24.639947 7f9e3ffff6c0 Delete type=0 #63
2023/08/17-08:27:24.640153 7f9e3ffff6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

View File

View File

@ -1 +1 @@
MANIFEST-000054
MANIFEST-000066

View File

@ -1,7 +1,7 @@
2023/08/08-18:04:51.701446 7f5afddfa6c0 Recovering log #52
2023/08/08-18:04:51.711597 7f5afddfa6c0 Delete type=3 #50
2023/08/08-18:04:51.711643 7f5afddfa6c0 Delete type=0 #52
2023/08/08-18:04:59.539283 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.539308 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.546617 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560019 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)
2023/08/17-08:30:06.224380 7fa0dd7fa6c0 Recovering log #64
2023/08/17-08:30:06.241271 7fa0dd7fa6c0 Delete type=3 #62
2023/08/17-08:30:06.241353 7fa0dd7fa6c0 Delete type=0 #64
2023/08/17-08:31:03.262782 7f9e3ffff6c0 Level-0 table #69: started
2023/08/17-08:31:03.262832 7f9e3ffff6c0 Level-0 table #69: 0 bytes OK
2023/08/17-08:31:03.268889 7f9e3ffff6c0 Delete type=0 #67
2023/08/17-08:31:03.285415 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-17:50:40.597326 7f5afcdf86c0 Recovering log #48
2023/08/08-17:50:40.655429 7f5afcdf86c0 Delete type=3 #46
2023/08/08-17:50:40.655471 7f5afcdf86c0 Delete type=0 #48
2023/08/08-18:04:06.323953 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.324001 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.330360 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.340887 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)
2023/08/17-08:11:25.804724 7fa0de7fc6c0 Recovering log #60
2023/08/17-08:11:25.814678 7fa0de7fc6c0 Delete type=3 #58
2023/08/17-08:11:25.814740 7fa0de7fc6c0 Delete type=0 #60
2023/08/17-08:27:23.561781 7f9e3ffff6c0 Level-0 table #65: started
2023/08/17-08:27:23.561812 7f9e3ffff6c0 Level-0 table #65: 0 bytes OK
2023/08/17-08:27:23.806078 7f9e3ffff6c0 Delete type=0 #63
2023/08/17-08:27:23.998146 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

0
packs/traits/000068.log Normal file
View File

View File

@ -1 +1 @@
MANIFEST-000054
MANIFEST-000066

View File

@ -1,7 +1,7 @@
2023/08/08-18:04:51.714581 7f5afd5f96c0 Recovering log #52
2023/08/08-18:04:51.723695 7f5afd5f96c0 Delete type=3 #50
2023/08/08-18:04:51.723729 7f5afd5f96c0 Delete type=0 #52
2023/08/08-18:04:59.552915 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.552934 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.559910 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560044 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)
2023/08/17-08:30:06.243329 7fa0ddffb6c0 Recovering log #64
2023/08/17-08:30:06.257748 7fa0ddffb6c0 Delete type=3 #62
2023/08/17-08:30:06.257816 7fa0ddffb6c0 Delete type=0 #64
2023/08/17-08:31:03.292149 7f9e3ffff6c0 Level-0 table #69: started
2023/08/17-08:31:03.292214 7f9e3ffff6c0 Level-0 table #69: 0 bytes OK
2023/08/17-08:31:03.298635 7f9e3ffff6c0 Delete type=0 #67
2023/08/17-08:31:03.309589 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-17:50:40.658993 7f5afcdf86c0 Recovering log #48
2023/08/08-17:50:40.748499 7f5afcdf86c0 Delete type=3 #46
2023/08/08-17:50:40.748566 7f5afcdf86c0 Delete type=0 #48
2023/08/08-18:04:06.347462 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.347507 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.354352 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361324 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)
2023/08/17-08:11:25.818235 7fa0dd7fa6c0 Recovering log #60
2023/08/17-08:11:25.834285 7fa0dd7fa6c0 Delete type=3 #58
2023/08/17-08:11:25.834340 7fa0dd7fa6c0 Delete type=0 #60
2023/08/17-08:27:23.998178 7f9e3ffff6c0 Level-0 table #65: started
2023/08/17-08:27:23.998242 7f9e3ffff6c0 Level-0 table #65: 0 bytes OK
2023/08/17-08:27:24.319466 7f9e3ffff6c0 Delete type=0 #63
2023/08/17-08:27:24.640134 7f9e3ffff6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

View File

@ -73,6 +73,18 @@
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
},
{
"label": "Help/Aides",
"type": "JournalEntry",
"name": "help",
"path": "packs/help",
"system": "fvtt-ecryme",
"flags": {},
"ownership": {
"PLAYER": "OBSERVER",
"ASSISTANT": "OWNER"
}
}
],
"license": "LICENSE.txt",
@ -88,6 +100,15 @@
"styles": [
"styles/ecryme.css"
],
"relationships": {
"requires": [
{
"id": "babele",
"type": "module",
"compatibility": {}
}
]
},
"title": "Ecryme, le Jeu de Rôles",
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme",
"version": "11.0.19",