CSS rework et autres améliorations

This commit is contained in:
2026-02-12 23:05:22 +01:00
parent 39da08d4cb
commit f26130d208
63 changed files with 3280 additions and 1023 deletions

View File

@@ -1,25 +1,17 @@
var gulp = require('gulp');
var less = require('gulp-less');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnext = require('postcss-preset-env');
var precss = require('precss');
gulp.task('css', function () {
var processors = [
autoprefixer,
cssnext,
precss
];
return gulp.src('./postcss/*.css')
.pipe(postcss(processors))
return gulp.src('./less/*.less')
.pipe(less())
.pipe(postcss([autoprefixer]))
.pipe(gulp.dest('./styles'));
});
gulp.task('watch', function () {
gulp.watch('./less/*.less', gulp.series('css'));
});
function watchUpdates() {
gulp.watch('./postcss/*.css', css);
}
gulp.task('default', gulp.series('css'));

2071
less/tedeum.less Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -713,7 +713,7 @@ export class TeDeumActor extends Actor {
async rollDegatsArme(armeId) {
let weapon = this.items.get(armeId)
if (weapon) {
let bDegats = 0
let bDegats = { value: 0 }
if (weapon.system.typeArme == "melee") {
bDegats = this.getBonusDegats()
}
@@ -728,7 +728,7 @@ export class TeDeumActor extends Actor {
rollData.degats = degatsRoll.total
let msg = await TeDeumUtility.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-te-deum/templates/chat/chat-degats-result.hbs`, rollData)
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-te-deum/templates/chat/chat-degats-result.hbs`, rollData)
})
await msg.setFlag("world", "te-deum-rolldata", rollData)
console.log("Rolldata result", rollData)

View File

@@ -567,6 +567,7 @@ export class TeDeumUtility {
await critiqueRoll.evaluate()
await this.showDiceSoNice(critiqueRoll, game.settings.get("core", "rollMode"))
rollData.critiqueRoll = foundry.utils.duplicate(critiqueRoll)
rollData.critiqueTotal = critiqueRoll.total
if (critiqueRoll.total > rollData.competence.system.score) {
rollData.isEchecCritique = true
}

View File

@@ -6,7 +6,7 @@ export class TeDeumRollDialog extends Dialog {
static async create(actor, rollData) {
let options = { classes: ["tedeum-roll-dialog"], width: 540, height: 'fit-content', 'z-index': 99999 }
let html = await renderTemplate('systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs', rollData);
let html = await foundry.applications.handlebars.renderTemplate('systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs', rollData);
return new TeDeumRollDialog(actor, rollData, html, options);
}
@@ -43,7 +43,7 @@ export class TeDeumRollDialog extends Dialog {
/* -------------------------------------------- */
async refreshDialog() {
const content = await renderTemplate("systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs", this.rollData)
const content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-te-deum/templates/dialogs/roll-dialog-generic.hbs", this.rollData)
this.data.content = content
this.render(true)
}

View File

@@ -91,7 +91,7 @@ export class TeDeumItemSheet extends foundry.appv1.sheets.ItemSheet {
payload: chatData,
});
renderTemplate('systems/fvtt-te-deum/templates/post-item.html', chatData).then(html => {
foundry.applications.handlebars.renderTemplate('systems/fvtt-te-deum/templates/post-item.html', chatData).then(html => {
let chatOptions = TeDeumUtility.chatDataSetup(html);
ChatMessage.create(chatOptions)
});

21
package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "fvtt-te-deum",
"version": "1.0.0",
"description": "Système Te Deum pour FoundryVTT",
"private": true,
"scripts": {
"build:css": "gulp css",
"watch:css": "gulp watch"
},
"devDependencies": {
"gulp": "^4.0.2",
"gulp-less": "^5.0.0",
"less": "^4.2.0",
"autoprefixer": "^10.4.20",
"gulp-postcss": "^9.0.1",
"postcss": "^8.4.49"
},
"keywords": ["foundry-vtt", "te-deum"],
"author": "",
"license": "ISC"
}

View File

View File

@@ -1 +1 @@
MANIFEST-000206
MANIFEST-000214

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.681921 7fee83fff6c0 Recovering log #204
2025/10/31-17:48:52.736841 7fee83fff6c0 Delete type=3 #202
2025/10/31-17:48:52.736911 7fee83fff6c0 Delete type=0 #204
2025/10/31-17:59:45.975679 7fee837fe6c0 Level-0 table #209: started
2025/10/31-17:59:45.975710 7fee837fe6c0 Level-0 table #209: 0 bytes OK
2025/10/31-17:59:45.982864 7fee837fe6c0 Delete type=0 #207
2025/10/31-17:59:46.002009 7fee837fe6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.933804 7f93eb7fe6c0 Recovering log #212
2026/01/04-21:26:37.943801 7f93eb7fe6c0 Delete type=3 #210
2026/01/04-21:26:37.943854 7f93eb7fe6c0 Delete type=0 #212
2026/01/04-21:27:02.505234 7f93e9ffb6c0 Level-0 table #217: started
2026/01/04-21:27:02.505262 7f93e9ffb6c0 Level-0 table #217: 0 bytes OK
2026/01/04-21:27:02.512734 7f93e9ffb6c0 Delete type=0 #215
2026/01/04-21:27:02.512909 7f93e9ffb6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.389060 7fee897f96c0 Recovering log #200
2025/10/31-17:15:35.399430 7fee897f96c0 Delete type=3 #198
2025/10/31-17:15:35.399559 7fee897f96c0 Delete type=0 #200
2025/10/31-17:25:23.732693 7fee837fe6c0 Level-0 table #205: started
2025/10/31-17:25:23.732722 7fee837fe6c0 Level-0 table #205: 0 bytes OK
2025/10/31-17:25:23.738770 7fee837fe6c0 Delete type=0 #203
2025/10/31-17:25:23.739037 7fee837fe6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.443928 7f244d1ff6c0 Recovering log #208
2025/12/20-18:12:56.494058 7f244d1ff6c0 Delete type=3 #206
2025/12/20-18:12:56.494134 7f244d1ff6c0 Delete type=0 #208
2025/12/20-18:36:44.261828 7f2436ffd6c0 Level-0 table #213: started
2025/12/20-18:36:44.261865 7f2436ffd6c0 Level-0 table #213: 0 bytes OK
2025/12/20-18:36:44.320648 7f2436ffd6c0 Delete type=0 #211
2025/12/20-18:36:44.320833 7f2436ffd6c0 Manual compaction at level-0 from '!journal!uNwJgi4kXBCiZmAH' @ 72057594037927935 : 1 .. '!journal.pages!uNwJgi4kXBCiZmAH.onhNU0mXhOpdNZJF' @ 0 : 0; will stop at (end)

View File

View File

@@ -1 +1 @@
MANIFEST-000309
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.259705 7fee83fff6c0 Recovering log #307
2025/10/31-17:48:52.315229 7fee83fff6c0 Delete type=3 #305
2025/10/31-17:48:52.315320 7fee83fff6c0 Delete type=0 #307
2025/10/31-17:59:45.932597 7fee837fe6c0 Level-0 table #312: started
2025/10/31-17:59:45.932657 7fee837fe6c0 Level-0 table #312: 0 bytes OK
2025/10/31-17:59:45.938987 7fee837fe6c0 Delete type=0 #310
2025/10/31-17:59:45.939267 7fee837fe6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.828637 7f93eb7fe6c0 Recovering log #315
2026/01/04-21:26:37.839103 7f93eb7fe6c0 Delete type=3 #313
2026/01/04-21:26:37.839200 7f93eb7fe6c0 Delete type=0 #315
2026/01/04-21:27:02.452079 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.452098 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.458511 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.458741 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.274824 7fee83fff6c0 Recovering log #303
2025/10/31-17:15:35.286812 7fee83fff6c0 Delete type=3 #301
2025/10/31-17:15:35.286947 7fee83fff6c0 Delete type=0 #303
2025/10/31-17:25:23.706544 7fee837fe6c0 Level-0 table #308: started
2025/10/31-17:25:23.706576 7fee837fe6c0 Level-0 table #308: 0 bytes OK
2025/10/31-17:25:23.712497 7fee837fe6c0 Delete type=0 #306
2025/10/31-17:25:23.712659 7fee837fe6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.039187 7f244d1ff6c0 Recovering log #311
2025/12/20-18:12:56.089963 7f244d1ff6c0 Delete type=3 #309
2025/12/20-18:12:56.090033 7f244d1ff6c0 Delete type=0 #311
2025/12/20-18:36:43.701277 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.701303 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.756264 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:43.812180 7f2436ffd6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000309
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.318228 7fee89ffa6c0 Recovering log #307
2025/10/31-17:48:52.372058 7fee89ffa6c0 Delete type=3 #305
2025/10/31-17:48:52.372200 7fee89ffa6c0 Delete type=0 #307
2025/10/31-17:59:45.924808 7fee837fe6c0 Level-0 table #312: started
2025/10/31-17:59:45.924856 7fee837fe6c0 Level-0 table #312: 0 bytes OK
2025/10/31-17:59:45.932291 7fee837fe6c0 Delete type=0 #310
2025/10/31-17:59:45.939248 7fee837fe6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.843261 7f93ea7fc6c0 Recovering log #315
2026/01/04-21:26:37.853735 7f93ea7fc6c0 Delete type=3 #313
2026/01/04-21:26:37.853805 7f93ea7fc6c0 Delete type=0 #315
2026/01/04-21:27:02.446245 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.446262 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.452006 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.458726 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.290241 7fee88ff86c0 Recovering log #302
2025/10/31-17:15:35.310453 7fee88ff86c0 Delete type=3 #300
2025/10/31-17:15:35.310600 7fee88ff86c0 Delete type=0 #302
2025/10/31-17:25:23.685832 7fee837fe6c0 Level-0 table #308: started
2025/10/31-17:25:23.685916 7fee837fe6c0 Level-0 table #308: 0 bytes OK
2025/10/31-17:25:23.692224 7fee837fe6c0 Delete type=0 #306
2025/10/31-17:25:23.712593 7fee837fe6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.095054 7f24377fe6c0 Recovering log #311
2025/12/20-18:12:56.148579 7f24377fe6c0 Delete type=3 #309
2025/12/20-18:12:56.148653 7f24377fe6c0 Delete type=0 #311
2025/12/20-18:36:43.637340 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.637367 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.701178 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:43.812170 7f2436ffd6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000307
MANIFEST-000315

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.208153 7fee88ff86c0 Recovering log #305
2025/10/31-17:48:52.255275 7fee88ff86c0 Delete type=3 #303
2025/10/31-17:48:52.255396 7fee88ff86c0 Delete type=0 #305
2025/10/31-17:59:45.917100 7fee837fe6c0 Level-0 table #310: started
2025/10/31-17:59:45.917151 7fee837fe6c0 Level-0 table #310: 0 bytes OK
2025/10/31-17:59:45.924617 7fee837fe6c0 Delete type=0 #308
2025/10/31-17:59:45.939227 7fee837fe6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.813752 7f93eaffd6c0 Recovering log #313
2026/01/04-21:26:37.823461 7f93eaffd6c0 Delete type=3 #311
2026/01/04-21:26:37.823509 7f93eaffd6c0 Delete type=0 #313
2026/01/04-21:27:02.440062 7f93e9ffb6c0 Level-0 table #318: started
2026/01/04-21:27:02.440091 7f93e9ffb6c0 Level-0 table #318: 0 bytes OK
2026/01/04-21:27:02.446167 7f93e9ffb6c0 Delete type=0 #316
2026/01/04-21:27:02.458712 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.260634 7fee88ff86c0 Recovering log #301
2025/10/31-17:15:35.271676 7fee88ff86c0 Delete type=3 #299
2025/10/31-17:15:35.271742 7fee88ff86c0 Delete type=0 #301
2025/10/31-17:25:23.699680 7fee837fe6c0 Level-0 table #306: started
2025/10/31-17:25:23.699730 7fee837fe6c0 Level-0 table #306: 0 bytes OK
2025/10/31-17:25:23.706400 7fee837fe6c0 Delete type=0 #304
2025/10/31-17:25:23.712639 7fee837fe6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
2025/12/20-18:12:55.979585 7f244c9fe6c0 Recovering log #309
2025/12/20-18:12:56.031769 7f244c9fe6c0 Delete type=3 #307
2025/12/20-18:12:56.031837 7f244c9fe6c0 Delete type=0 #309
2025/12/20-18:36:43.574310 7f2436ffd6c0 Level-0 table #314: started
2025/12/20-18:36:43.574360 7f2436ffd6c0 Level-0 table #314: 0 bytes OK
2025/12/20-18:36:43.637222 7f2436ffd6c0 Delete type=0 #312
2025/12/20-18:36:43.812158 7f2436ffd6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000319
MANIFEST-000327

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.375411 7fee88ff86c0 Recovering log #317
2025/10/31-17:48:52.427809 7fee88ff86c0 Delete type=3 #315
2025/10/31-17:48:52.427933 7fee88ff86c0 Delete type=0 #317
2025/10/31-17:59:45.909866 7fee837fe6c0 Level-0 table #322: started
2025/10/31-17:59:45.909914 7fee837fe6c0 Level-0 table #322: 0 bytes OK
2025/10/31-17:59:45.916884 7fee837fe6c0 Delete type=0 #320
2025/10/31-17:59:45.939203 7fee837fe6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.858384 7f93eaffd6c0 Recovering log #325
2026/01/04-21:26:37.868673 7f93eaffd6c0 Delete type=3 #323
2026/01/04-21:26:37.868726 7f93eaffd6c0 Delete type=0 #325
2026/01/04-21:27:02.458878 7f93e9ffb6c0 Level-0 table #330: started
2026/01/04-21:27:02.458920 7f93e9ffb6c0 Level-0 table #330: 0 bytes OK
2026/01/04-21:27:02.465606 7f93e9ffb6c0 Delete type=0 #328
2026/01/04-21:27:02.485393 7f93e9ffb6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.313871 7fee89ffa6c0 Recovering log #312
2025/10/31-17:15:35.325411 7fee89ffa6c0 Delete type=3 #310
2025/10/31-17:15:35.325482 7fee89ffa6c0 Delete type=0 #312
2025/10/31-17:25:23.692359 7fee837fe6c0 Level-0 table #318: started
2025/10/31-17:25:23.692392 7fee837fe6c0 Level-0 table #318: 0 bytes OK
2025/10/31-17:25:23.699504 7fee837fe6c0 Delete type=0 #316
2025/10/31-17:25:23.712618 7fee837fe6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.154781 7f244c9fe6c0 Recovering log #321
2025/12/20-18:12:56.203650 7f244c9fe6c0 Delete type=3 #319
2025/12/20-18:12:56.206209 7f244c9fe6c0 Delete type=0 #321
2025/12/20-18:36:43.812286 7f2436ffd6c0 Level-0 table #326: started
2025/12/20-18:36:43.812329 7f2436ffd6c0 Level-0 table #326: 0 bytes OK
2025/12/20-18:36:43.867818 7f2436ffd6c0 Delete type=0 #324
2025/12/20-18:36:44.048015 7f2436ffd6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000308
MANIFEST-000316

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.436510 7fee897f96c0 Recovering log #306
2025/10/31-17:48:52.495484 7fee897f96c0 Delete type=3 #304
2025/10/31-17:48:52.495642 7fee897f96c0 Delete type=0 #306
2025/10/31-17:59:45.939360 7fee837fe6c0 Level-0 table #311: started
2025/10/31-17:59:45.939510 7fee837fe6c0 Level-0 table #311: 0 bytes OK
2025/10/31-17:59:45.947243 7fee837fe6c0 Delete type=0 #309
2025/10/31-17:59:45.969270 7fee837fe6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.873703 7f93ebfff6c0 Recovering log #314
2026/01/04-21:26:37.885324 7f93ebfff6c0 Delete type=3 #312
2026/01/04-21:26:37.885427 7f93ebfff6c0 Delete type=0 #314
2026/01/04-21:27:02.433342 7f93e9ffb6c0 Level-0 table #319: started
2026/01/04-21:27:02.433382 7f93e9ffb6c0 Level-0 table #319: 0 bytes OK
2026/01/04-21:27:02.439918 7f93e9ffb6c0 Delete type=0 #317
2026/01/04-21:27:02.458692 7f93e9ffb6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.330543 7fee83fff6c0 Recovering log #302
2025/10/31-17:15:35.341320 7fee83fff6c0 Delete type=3 #300
2025/10/31-17:15:35.341393 7fee83fff6c0 Delete type=0 #302
2025/10/31-17:25:23.726570 7fee837fe6c0 Level-0 table #307: started
2025/10/31-17:25:23.726600 7fee837fe6c0 Level-0 table #307: 0 bytes OK
2025/10/31-17:25:23.732601 7fee837fe6c0 Delete type=0 #305
2025/10/31-17:25:23.739016 7fee837fe6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.214726 7f2437fff6c0 Recovering log #310
2025/12/20-18:12:56.267981 7f2437fff6c0 Delete type=3 #308
2025/12/20-18:12:56.268051 7f2437fff6c0 Delete type=0 #310
2025/12/20-18:36:43.756462 7f2436ffd6c0 Level-0 table #315: started
2025/12/20-18:36:43.756507 7f2436ffd6c0 Level-0 table #315: 0 bytes OK
2025/12/20-18:36:43.812023 7f2436ffd6c0 Delete type=0 #313
2025/12/20-18:36:43.812190 7f2436ffd6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000308
MANIFEST-000316

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.498674 7fee83fff6c0 Recovering log #306
2025/10/31-17:48:52.552038 7fee83fff6c0 Delete type=3 #304
2025/10/31-17:48:52.552201 7fee83fff6c0 Delete type=0 #306
2025/10/31-17:59:45.947486 7fee837fe6c0 Level-0 table #311: started
2025/10/31-17:59:45.947539 7fee837fe6c0 Level-0 table #311: 0 bytes OK
2025/10/31-17:59:45.954305 7fee837fe6c0 Delete type=0 #309
2025/10/31-17:59:45.969283 7fee837fe6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.889654 7f93ea7fc6c0 Recovering log #314
2026/01/04-21:26:37.899518 7f93ea7fc6c0 Delete type=3 #312
2026/01/04-21:26:37.899583 7f93ea7fc6c0 Delete type=0 #314
2026/01/04-21:27:02.472063 7f93e9ffb6c0 Level-0 table #319: started
2026/01/04-21:27:02.472086 7f93e9ffb6c0 Level-0 table #319: 0 bytes OK
2026/01/04-21:27:02.478114 7f93e9ffb6c0 Delete type=0 #317
2026/01/04-21:27:02.485430 7f93e9ffb6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.344437 7fee88ff86c0 Recovering log #302
2025/10/31-17:15:35.355082 7fee88ff86c0 Delete type=3 #300
2025/10/31-17:15:35.355226 7fee88ff86c0 Delete type=0 #302
2025/10/31-17:25:23.719225 7fee837fe6c0 Level-0 table #307: started
2025/10/31-17:25:23.719276 7fee837fe6c0 Level-0 table #307: 0 bytes OK
2025/10/31-17:25:23.726439 7fee837fe6c0 Delete type=0 #305
2025/10/31-17:25:23.738995 7fee837fe6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.274845 7f24377fe6c0 Recovering log #310
2025/12/20-18:12:56.318675 7f24377fe6c0 Delete type=3 #308
2025/12/20-18:12:56.318757 7f24377fe6c0 Delete type=0 #310
2025/12/20-18:36:43.935645 7f2436ffd6c0 Level-0 table #315: started
2025/12/20-18:36:43.935673 7f2436ffd6c0 Level-0 table #315: 0 bytes OK
2025/12/20-18:36:43.994623 7f2436ffd6c0 Delete type=0 #313
2025/12/20-18:36:44.048051 7f2436ffd6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000245
MANIFEST-000253

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.618472 7fee897f96c0 Recovering log #243
2025/10/31-17:48:52.677972 7fee897f96c0 Delete type=3 #241
2025/10/31-17:48:52.678044 7fee897f96c0 Delete type=0 #243
2025/10/31-17:59:45.961816 7fee837fe6c0 Level-0 table #248: started
2025/10/31-17:59:45.961879 7fee837fe6c0 Level-0 table #248: 0 bytes OK
2025/10/31-17:59:45.969132 7fee837fe6c0 Delete type=0 #246
2025/10/31-17:59:45.969306 7fee837fe6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.919630 7f93ebfff6c0 Recovering log #251
2026/01/04-21:26:37.930006 7f93ebfff6c0 Delete type=3 #249
2026/01/04-21:26:37.930066 7f93ebfff6c0 Delete type=0 #251
2026/01/04-21:27:02.478265 7f93e9ffb6c0 Level-0 table #256: started
2026/01/04-21:27:02.478296 7f93e9ffb6c0 Level-0 table #256: 0 bytes OK
2026/01/04-21:27:02.485146 7f93e9ffb6c0 Delete type=0 #254
2026/01/04-21:27:02.485444 7f93e9ffb6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.373372 7fee83fff6c0 Recovering log #239
2025/10/31-17:15:35.383973 7fee83fff6c0 Delete type=3 #237
2025/10/31-17:15:35.384156 7fee83fff6c0 Delete type=0 #239
2025/10/31-17:25:23.757415 7fee837fe6c0 Level-0 table #244: started
2025/10/31-17:25:23.757450 7fee837fe6c0 Level-0 table #244: 0 bytes OK
2025/10/31-17:25:23.763740 7fee837fe6c0 Delete type=0 #242
2025/10/31-17:25:23.771542 7fee837fe6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.387036 7f2437fff6c0 Recovering log #247
2025/12/20-18:12:56.440877 7f2437fff6c0 Delete type=3 #245
2025/12/20-18:12:56.440965 7f2437fff6c0 Delete type=0 #247
2025/12/20-18:36:43.994753 7f2436ffd6c0 Level-0 table #252: started
2025/12/20-18:36:43.994783 7f2436ffd6c0 Level-0 table #252: 0 bytes OK
2025/12/20-18:36:44.047877 7f2436ffd6c0 Delete type=0 #250
2025/12/20-18:36:44.048061 7f2436ffd6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000309
MANIFEST-000317

View File

@@ -1,7 +1,7 @@
2025/10/31-17:48:52.555551 7fee89ffa6c0 Recovering log #307
2025/10/31-17:48:52.614628 7fee89ffa6c0 Delete type=3 #305
2025/10/31-17:48:52.614769 7fee89ffa6c0 Delete type=0 #307
2025/10/31-17:59:45.954529 7fee837fe6c0 Level-0 table #312: started
2025/10/31-17:59:45.954583 7fee837fe6c0 Level-0 table #312: 0 bytes OK
2025/10/31-17:59:45.961618 7fee837fe6c0 Delete type=0 #310
2025/10/31-17:59:45.969295 7fee837fe6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)
2026/01/04-21:26:37.904069 7f93eaffd6c0 Recovering log #315
2026/01/04-21:26:37.914574 7f93eaffd6c0 Delete type=3 #313
2026/01/04-21:26:37.914647 7f93eaffd6c0 Delete type=0 #315
2026/01/04-21:27:02.465731 7f93e9ffb6c0 Level-0 table #320: started
2026/01/04-21:27:02.465755 7f93e9ffb6c0 Level-0 table #320: 0 bytes OK
2026/01/04-21:27:02.471938 7f93e9ffb6c0 Delete type=0 #318
2026/01/04-21:27:02.485413 7f93e9ffb6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/10/31-17:15:35.357938 7fee89ffa6c0 Recovering log #303
2025/10/31-17:15:35.368821 7fee89ffa6c0 Delete type=3 #301
2025/10/31-17:15:35.368890 7fee89ffa6c0 Delete type=0 #303
2025/10/31-17:25:23.712793 7fee837fe6c0 Level-0 table #308: started
2025/10/31-17:25:23.712885 7fee837fe6c0 Level-0 table #308: 0 bytes OK
2025/10/31-17:25:23.719052 7fee837fe6c0 Delete type=0 #306
2025/10/31-17:25:23.738967 7fee837fe6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)
2025/12/20-18:12:56.325650 7f244c9fe6c0 Recovering log #311
2025/12/20-18:12:56.379165 7f244c9fe6c0 Delete type=3 #309
2025/12/20-18:12:56.379237 7f244c9fe6c0 Delete type=0 #311
2025/12/20-18:36:43.867925 7f2436ffd6c0 Level-0 table #316: started
2025/12/20-18:36:43.867945 7f2436ffd6c0 Level-0 table #316: 0 bytes OK
2025/12/20-18:36:43.935523 7f2436ffd6c0 Delete type=0 #314
2025/12/20-18:36:44.048037 7f2436ffd6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

File diff suppressed because it is too large Load Diff

View File

@@ -5,27 +5,33 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
<div class="chat-roll-details" style="margin-top: 0.3rem;">
{{#if img}}
<div>
<div style="text-align: center; margin-bottom: 0.3rem;">
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
<div class="chat-info-badge" style="margin-bottom: 0.4rem;">
<strong>{{alias}}</strong>
attaque
<strong>{{defenderName}}</strong>
</div>
<div>
<ul>
<li><strong>{{alias}}</strong> attaque <strong>{{defenderName}}</strong></li>
<ul style="margin: 0; padding-left: 0.5rem;">
{{#if arme}}
<li><label class="chat-weapon-name">Dégats {{arme.name}} : {{degats}} ({{degatsFormula}})</label></li>
<li style="margin: 0.2rem 0;"><span class="chat-info-badge">Dégâts
{{arme.name}}
:
{{degats}}
({{degatsFormula}})</span></li>
{{/if}}
{{#if loc}}
<li>Localisation : {{loc.label}}</li>
<li>Touché : {{touche}}</li>
<li style="margin: 0.2rem 0;"><span
class="chat-difficulty-badge"
>Localisation : {{loc.label}}</span></li>
<li style="margin: 0.2rem 0;">Touché : {{touche}}</li>
{{/if}}
{{#if gantelet}}
@@ -40,60 +46,65 @@
{{/if}}
{{#if isReussiteCritique}}
<li><strong class="chat-result-success">Réussite critique : La blessure a été augmentée d'un niveau</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">🎯
Réussite critique : La blessure a été augmentée d'un niveau</span></li>
{{/if}}
{{#if blessure}}
<li><strong>{{defenderName}} a subi une blessure!</strong></li>
<li>Gravité : {{blessure.name}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-warning-badge">⚔️
{{defenderName}}
a subi une blessure!</span></li>
<li style="margin: 0.2rem 0;"><strong>Gravité :
{{blessure.name}}</strong></li>
{{#if (eq loc.categorie "tete")}}
{{#if (gt blessure.system.value 0)}}
<li><strong class="chat-result-warning">{{defenderName}} doit réussir un test d'Endurance de difficulté 7 ou être
assommé</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
doit réussir un test d'Endurance de difficulté 7 ou être assommé</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "bras")}}
{{#if (gt blessure.system.value 2)}}
<li><strong class="chat-result-warning">{{defenderName}} lache l'objet tenu par son bras. Il doit faire un test
d'endurance
pour l'utiliser désormais.</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
lâche l'objet tenu par son bras. Il doit faire un test d'endurance
pour l'utiliser désormais.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "jambe")}}
{{#if (gt blessure.system.value 2)}}
<li><strong class="chat-result-warning">{{defenderName}} tombe au sol. Pour se relever et marcher, il doit réussir
un test
d'Endurance à chaque tour.
</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
tombe au sol. Pour se relever et marcher, il doit réussir un test
d'Endurance à chaque tour.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "main")}}
{{#if (gt blessure.system.value 1)}}
<li><strong class="chat-result-warning">{{defenderName}} lache l'objet tenu par sa main. Il doit faire un test
d'endurance
pour l'utiliser désormais.</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
lâche l'objet tenu par sa main. Il doit faire un test d'endurance
pour l'utiliser désormais.</span></li>
{{/if}}
{{/if}}
{{#if (eq loc.categorie "pied")}}
{{#if (gt blessure.system.value 1)}}
<li><strong class="chat-result-warning">{{defenderName}} tombe au sol. Pour se relever et marcher, il doit réussir
un test
d'Endurance à chaque tour.
</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-failure">💥
{{defenderName}}
tombe au sol. Pour se relever et marcher, il doit réussir un test
d'Endurance à chaque tour.</span></li>
{{/if}}
{{/if}}
{{else}}
<li>Aucune blessure subie par {{defenderName}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">✓ Aucune
blessure subie par
{{defenderName}}</span></li>
{{/if}}
</ul>
</div>
</div>

View File

@@ -5,34 +5,40 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
<div class="chat-roll-details" style="margin-top: 0.3rem;">
{{#if img}}
<div>
<div style="text-align: center; margin-bottom: 0.3rem;">
<img class="chat-icon" src="{{arme.img}}" alt="{{name}}" />
</div>
{{/if}}
<div>
<ul>
<li>Dégats de {{arme.name}}: {{formula}} </li>
<ul style="margin: 0; padding-left: 0.5rem;">
<li style="margin: 0.2rem 0;"><span class="chat-info-badge">Dégâts de
{{arme.name}}:
{{formula}}</span></li>
{{#if gantelet}}
<li>Poing avec gantelet: +1 dégat</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🥊 Poing
avec gantelet: +1 dégât</span></li>
{{/if}}
{{#if isChargeAPied}}
<li>Charge à pied (+Course)</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🏃
Charge à pied (+Course)</span></li>
{{/if}}
{{#if isChargeACheval}}
<li>Charge à cheval (+Equitation)</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🐴
Charge à cheval (+Équitation)</span></li>
{{/if}}
<li>Dégats infligés : {{degats}}</li>
<li style="margin: 0.3rem 0;"><span class="chat-warning-badge">⚔️ Dégâts
infligés :
{{degats}}</span></li>
{{#if loc}}
<li>Localisation : {{loc.label}}</li>
<li style="margin: 0.2rem 0;"><span class="chat-difficulty-badge">🎯
Localisation :
{{loc.label}}</span></li>
{{/if}}
{{#if isReussiteCritique}}
<li><strong class="chat-result-success">Réussite critique : La blessure sera augmentée d'un niveau</strong></li>
<li style="margin: 0.3rem 0;"><span class="chat-result-success">🎯
Réussite critique : La blessure sera augmentée d'un niveau</span></li>
{{/if}}
</ul>
</div>
</div>

View File

@@ -5,107 +5,113 @@
<h4 class="chat-actor-name">{{alias}}</h4>
</div>
<hr>
{{#if img}}
<div>
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
<div style="text-align: center; padding: 0.25rem;">
<img class="chat-icon" src="{{img}}" alt="{{name}}" style="border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.15);" />
</div>
{{/if}}
<div class="flexcol">
</div>
<div>
<div class="chat-roll-details">
<ul>
{{#if carac}}
<li>{{carac.name}}: {{carac.qualite}} ({{carac.dice}}) </li>
<li><strong>{{carac.name}}:</strong> {{carac.qualite}} <span class="chat-dice-formula">{{carac.dice}}</span></li>
{{/if}}
{{#if competence}}
<li>{{competence.name}}: {{compScore}} </li>
<li><strong>{{competence.name}}:</strong> {{compScore}}</li>
{{/if}}
{{#if bonusMalus}}
<li>Bonus/Malus: {{bonusMalus}} </li>
<li class="chat-info-badge"><strong>Bonus/Malus:</strong> {{bonusMalus}}</li>
{{/if}}
{{#if santeModifier}}
<li>Santé: {{santeModifier}} niveaux</li>
<li class="chat-warning-badge"><strong>Santé:</strong> {{santeModifier}} niveaux</li>
{{/if}}
{{#if enableProvidence}}
<li>Un niveau de Providence a été utilisé !</li>
<li class="chat-info-badge" style="background: rgba(255, 215, 0, 0.2); border-left-color: goldenrod;">⭐ Un niveau de Providence a été utilisé !</li>
{{/if}}
{{#if hasActions}}
<li data-tooltip="Nombre d'actions restantes, avec MG = Main Gauche">Actions restantes: {{remainingActions}}
(MG:{{remainingActionsMainGauche}})</li>
<li class="chat-info-badge" data-tooltip="Nombre d'actions restantes, avec MG = Main Gauche">
<strong>Actions restantes:</strong> {{remainingActions}} (MG:{{remainingActionsMainGauche}})
</li>
{{/if}}
{{#if arme}}
{{#if isViser}}
<li>Bonus de visée (+1 niveau)</li>
<li class="chat-info-badge">✓ Bonus de visée (+1 niveau)</li>
{{/if}}
{{#if isMouvement}}
<li>Malus de cible petite ou en mouvement (-1 niveau)</li>
<li class="chat-warning-badge">⚠ Malus de cible petite ou en mouvement (-1 niveau)</li>
{{/if}}
{{#if attaqueCiblee}}
<li>Attaque ciblée, -1 niveau</li>
<li class="chat-warning-badge">⚠ Attaque ciblée, -1 niveau</li>
{{/if}}
{{#if allongeMalus}}
<li>Malus d'allonge: {{allongeMalus}} niveau</li>
<li class="chat-warning-badge">⚠ Malus d'allonge: {{allongeMalus}} niveau</li>
{{/if}}
{{/if}}
<li>Dés: {{diceFormula}} </li>
<li><strong>Formule:</strong> <span class="chat-dice-formula">{{diceFormula}}</span></li>
{{#if isTir}}
<li>Portée: {{porteeLabel}} ( {{difficulty}} )</li>
<li><strong>Portée:</strong> {{porteeLabel}} <span class="chat-difficulty-badge">Difficulté: {{difficulty}}</span></li>
{{else}}
<li>Difficulté: {{difficulty}} </li>
<li><strong>Difficulté:</strong> <span class="chat-difficulty-badge">{{difficulty}}</span></li>
{{/if}}
</ul>
</div>
<div class="flexrow">
<ul class="chat-result-column">
<li><strong>Résultat: {{total}}</strong> </li>
<div class="chat-roll-result-section">
<div class="chat-total-result">Résultat: {{total}}</div>
<div style="text-align: center;">
{{#if isSuccess}}
<li><strong class="chat-result-success">Succès !</strong> </li>
<div class="chat-result-success">Succès !</div>
{{#if isReussiteCritique}}
<li data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP gagné en {{carac.name}}">
<strong class="chat-result-success">Réussite critique (XP potentiel) !</strong>
</li>
<div class="chat-result-success" data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP en {{carac.name}}" style="margin-top: 0.3rem;">
🌟 Réussite critique (XP potentiel) !
</div>
{{/if}}
{{#if arme}}
<li><strong class="">Attaque réussie ! Faites une opposition avec la défense de la cible ou appliquez directement
les dégats.</strong> </li>
<div class="chat-info-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; font-size: 0.9em;">
⚔️ <strong>Attaque réussie !</strong> Faites une opposition avec la défense de la cible ou appliquez directement les dégâts.
</div>
{{/if}}
{{else}}
<li><strong class="chat-result-failure">Echec !</strong> </li>
<div class="chat-result-failure">Échec !</div>
{{#if critiqueTotal}}
<div class="chat-negative-dice" style="margin-top: 0.3rem;">
Dé négatif: {{critiqueTotal}}
</div>
{{/if}}
{{#if isEchecCritique}}
<li data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP gagné en {{carac.name}}">
<strong class="chat-result-failure">Echec critique (XP potentiel) !</strong>
</li>
<div class="chat-result-failure" data-tooltip="Si le jet n'est pas opposé, cliquez sur le bouton pour gagner 1 XP en {{carac.name}}" style="margin-top: 0.3rem;">
💀 Échec critique (XP potentiel) !
</div>
{{/if}}
{{/if}}
{{#if nbEsquives}}
<li>Rappel : vous devez réussir {{nbEsquives}} tests d'esquive pour arriver au contact (règle d'allonge des armes).
</li>
<div class="chat-warning-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem;">
⚠️ Rappel : vous devez réussir {{nbEsquives}} tests d'esquive pour arriver au contact (règle d'allonge des armes).
</div>
{{/if}}
{{#if loc}}
<li><strong>Attaque réussie !!</strong> </li>
<li>Localisation: {{loc.label}} </li>
<div class="chat-info-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; background: rgba(255, 215, 0, 0.15); border-left-color: goldenrod;">
🎯 <strong>Localisation:</strong> {{loc.label}}
</div>
{{/if}}
{{#if degats}}
<li>Dégats: {{degats}} {{#if isReussiteCritique}}(Augmentez la gravité de la blessure d'un niveau){{/if}}</li>
<div class="chat-warning-badge" style="display: block; margin-top: 0.4rem; padding: 0.3rem; font-size: 0.95em; background: rgba(255, 100, 100, 0.15); border-left-color: #a82020;">
⚔️ <strong>Dégâts:</strong> {{degats}} {{#if isReussiteCritique}}<em>(Augmentez la gravité de la blessure d'un niveau)</em>{{/if}}
</div>
{{/if}}
</div>
</div>
</ul>
<div>
<div class="chat-actions-bar">
{{#if (or isEchecCritique isReussiteCritique)}}
<a class="chat-command-gain-xp">
<img class="chat-command-img" data-tooltip="Cliquez ici pour +1 XP en {{carac.name}} si pas d'opposition"
@@ -121,13 +127,11 @@
{{#if arme}}
{{#if isSuccess}}
<a class="chat-command-appliquer-degats">
<img class="chat-command-img" data-tooltip="Appliquer les dégats directement sans opposition"
<img class="chat-command-img" data-tooltip="Appliquer les dégâts directement sans opposition"
src="systems/fvtt-te-deum/images/icons/appliquer-degats.webp">
</a>
{{/if}}
{{/if}}
</div>
</div>

View File

@@ -8,43 +8,69 @@
<div class="flexcol">
<div class="flexrow">
<span class="roll-dialog-label">Caracteristique </span>
<span class="roll-dialog-label">{{carac.name}} : {{carac.qualite}} ({{carac.dice}})</span>
<span class="roll-dialog-label">Caractéristique </span>
<span class="roll-dialog-label">{{carac.name}}
:
{{carac.qualite}}
({{carac.dice}})</span>
</div>
{{#if competence}}
<div class="flexrow">
<span class="roll-dialog-label">Compétence </span>
<span class="roll-dialog-label">{{competence.name}} ({{compScore}})</span>
<span class="roll-dialog-label">🎯 Compétence </span>
<span class="roll-dialog-label">{{competence.name}}
({{compScore}})</span>
</div>
{{/if}}
{{#if santeModifier}}
<div class="flexrow">
<span class="roll-dialog-label">Malus Blessures </span>
<span class="roll-dialog-label">💔 Malus Blessures </span>
<span class="roll-dialog-label">{{santeModifier}} niveaux</span>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus : </span>
<select class="" type="text" id="roll-bonus-malus" value="{{bonusMalus}}" data-dtype="Number">
{{selectOptions config.bonusMalus selected=bonusMalus labelAttr="label" valueAttr="value" nameAttr="value"}}
<span class="roll-dialog-label"> Bonus/Malus : </span>
<select
class=""
type="text"
id="roll-bonus-malus"
value="{{bonusMalus}}"
data-dtype="Number"
>
{{selectOptions
config.bonusMalus
selected=bonusMalus
labelAttr="label"
valueAttr="value"
nameAttr="value"
}}
</select>
</div>
{{#if providence.value}}
<div class="flexrow">
<span class="roll-dialog-label">Utiliser la Providence ({{providence.dice}})</span>
<input type="checkbox" id="roll-enable-providence" {{checked enableProvidence}} />
<span class="roll-dialog-label">Utiliser la Providence ({{providence.dice}})</span>
<input
type="checkbox"
id="roll-enable-providence"
{{checked enableProvidence}}
/>
</div>
{{/if}}
{{#if arme}}
{{#if isTir}}
<div class="flexrow">
<span class="roll-dialog-label">Portée : </span>
<select class="" type="text" id="roll-portee-tir" value="{{porteeTir}}" data-dtype="String">
<span class="roll-dialog-label">🏹 Portée : </span>
<select
class=""
type="text"
id="roll-portee-tir"
value="{{porteeTir}}"
data-dtype="String"
>
{{#select porteeTir}}
{{#each config.ARME_PORTEES as |portee key|}}
<option value="{{key}}">{{portee.label}}</option>
@@ -53,23 +79,36 @@
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Viser : </span>
<span class="roll-dialog-label">👁️ Viser : </span>
<input type="checkbox" id="roll-tir-viser" {{checked isViser}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible petite/en mouvement : </span>
<input type="checkbox" id="roll-tir-mouvement" {{checked isMouvement}} />
<span class="roll-dialog-label">🏃 Cible petite/en mouvement : </span>
<input
type="checkbox"
id="roll-tir-mouvement"
{{checked isMouvement}}
/>
</div>
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Allonge {{allongeLabel}} : Indiquez l'allonge de votre adversaire
ci-dessous.</span>
<span class="roll-dialog-label">⚔️ Allonge
{{allongeLabel}}
: Indiquez l'allonge de votre adversaire ci-dessous.</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label"
data-tooltip="Modification d'allonge selon votre arme et celle de votre adversaire">Allonge arme adversaire :
<span
class="roll-dialog-label"
data-tooltip="Modification d'allonge selon votre arme et celle de votre adversaire"
>🗡️ Allonge arme adversaire :
</span>
<select class="" type="text" id="roll-allonge" value="{{allongeId}}" data-dtype="String">
<select
class=""
type="text"
id="roll-allonge"
value="{{allongeId}}"
data-dtype="String"
>
{{#select allongeId}}
{{#each allonges as |allonge key|}}
<option value="{{key}}">{{allonge.label}}</option>
@@ -78,21 +117,35 @@
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Charge à pied ?</span>
<input type="checkbox" id="roll-charge-a-pied" {{checked isChargeAPied}} />
<span class="roll-dialog-label">🏃 Charge à pied ?</span>
<input
type="checkbox"
id="roll-charge-a-pied"
{{checked isChargeAPied}}
/>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Charge à cheval ?</span>
<input type="checkbox" id="roll-charge-a-cheval" {{checked isChargeACheval}} />
<span class="roll-dialog-label">🐴 Charge à cheval ?</span>
<input
type="checkbox"
id="roll-charge-a-cheval"
{{checked isChargeACheval}}
/>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Main gauche ?</span>
<span class="roll-dialog-label">Main gauche ?</span>
<input type="checkbox" id="roll-main-gauche" {{checked isMainGauche}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Attaque ciblée (-1 Niveau): </span>
<select class="" type="text" id="roll-attaque-ciblee" value="{{attaqueCiblee}}" data-dtype="String">
<span class="roll-dialog-label">🎯 Attaque ciblée (-1 Niveau): </span>
<select
class=""
type="text"
id="roll-attaque-ciblee"
value="{{attaqueCiblee}}"
data-dtype="String"
>
{{#select attaqueCiblee}}
{{#each config.ATTAQUE_CIBLEES as |attaque key|}}
<option value="{{key}}">{{attaque.label}}</option>
@@ -102,9 +155,20 @@
</div>
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Difficulté : </span>
<select class="" type="text" id="roll-difficulty" value="{{difficulty}}" data-dtype="String">
{{selectOptions config.difficulte selected=difficulty valueAttr="key" labelAttr="label"}}
<span class="roll-dialog-label">📊 Difficulté : </span>
<select
class=""
type="text"
id="roll-difficulty"
value="{{difficulty}}"
data-dtype="String"
>
{{selectOptions
config.difficulte
selected=difficulty
valueAttr="key"
labelAttr="label"
}}
</select>
</div>
{{/if}}

View File

@@ -38,22 +38,22 @@
</select>
</li>
<h3>Spécificités</h3>
<h3>⚔️ Spécificités</h3>
<li class="flexrow">
<label class="item-name-label-long">Dégâts</label>
<label class="item-name-label-long">💥 Dégâts</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.degats" value="{{system.degats}}" data-dtype="String" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Valeur d'echec critique (ie 1 par défaut)</label>
<label class="item-name-label-long">⚠️ Valeur d'échec critique (ie 1 par défaut)</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.valeurEchecCritique" value="{{system.valeurEchecCritique}}" data-dtype="Numeric" />
</li>
{{#if (eq system.typeArme "melee")}}
<li class="flexrow">
<label class="item-name-label-long">Allonge</label>
<label class="item-name-label-long">🗡️ Allonge</label>
<select name="system.allonge">
{{selectOptions config.armeAllonges selected=system.allonge labelAttr="label"}}
</select>
@@ -62,12 +62,12 @@
{{#if (eq system.typeArme "tir")}}
<li class="flexrow">
<label class="item-name-label-long">Temps de recharge</label>
<label class="item-name-label-long">⏱️ Temps de recharge</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.tempsRecharge" value="{{system.tempsRecharge}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Compétence de recharge</label>
<label class="item-name-label-long">🔄 Compétence de recharge</label>
<select name="system.competenceRecharge">
{{selectOptions config.competencesRecharge selected=system.competenceRecharge labelAttr="label"}}
</select>
@@ -90,7 +90,7 @@
{{/each}}
{{#if (eq system.typeArme "tir")}}
<h3>Portées</h3>
<h3>🎯 Portées</h3>
{{#each system.portees as |portee porteeId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "ARME_PORTEES" porteeId}}</label>
@@ -100,7 +100,7 @@
{{/each}}
{{/if}}
<h3>Degats sur armures</h3>
<h3>🛡️ Degats sur armures</h3>
{{#each system.degatsArmure as |degat degtId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "degatsArmure" degtId}}</label>
@@ -109,21 +109,21 @@
</li>
{{/each}}
<h3>Autres</h3>
<h3>📝 Autres</h3>
<li class="flexrow">
<label class="item-name-label-long">Equipé?</label>
<label class="item-name-label-long">Equipé?</label>
<input type="checkbox" name="system.equipe" {{checked system.equipe}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Bonus d'Initiative</label>
<label class="item-name-label-long">Bonus d'Initiative</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.initiativeBonus" value="{{system.initiativeBonus}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -33,13 +33,13 @@
{{/each}}
<li class="flexrow">
<label class="item-name-label-long">Protection</label>
<label class="item-name-label-long">🛡️ Protection</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.protection" value="{{system.protection}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Cout en pièces d'Armure Lourde</label>
<label class="item-name-label-long">⚖️ Cout en pièces d'Armure Lourde</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.coutArmureLourde" value="{{system.coutArmureLourde}}" data-dtype="Number" />
</li>
@@ -57,12 +57,12 @@
</li>
<li class="flexrow">
<label class="item-name-label-long">Equipé?</label>
<label class="item-name-label-long">Equipé?</label>
<input type="checkbox" name="system.equipe" {{checked system.equipe}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -18,13 +18,13 @@
<ul>
<li class="flexrow">
<label class="item-name-label-long">Type de Blessure</label>
<label class="item-name-label-long">🩸 Type de Blessure</label>
<select name="system.typeBlessure">
{{selectOptions config.blessures selected=system.typeBlessure valueAttr="key" nameAttr="key" labelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Localisation</label>
<label class="item-name-label-long">🎯 Localisation</label>
<select name="system.localisation">
{{selectOptions config.LOCALISATION selected=system.localisation valueAttr="id" nameAttr="id" labelAttr="label"}}
</select>

View File

@@ -19,19 +19,19 @@
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-name-label-long">Caractéristique</label>
<label class="item-name-label-long">Caractéristique</label>
<select name="system.caracteristique">
{{selectOptions config.caracteristiques selected=system.caracteristique labelAttr="label" blank=""}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Compétence de base</label>
<label class="item-name-label-long">🎯 Compétence de base</label>
<input type="checkbox" name="system.isBase" {{checked system.isBase}} />
</li>
<li class="flexrow">
<label class="item-name-label-long">Score</label>
<label class="item-name-label-long">📊 Score</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.score" value="{{system.score}}" data-dtype="Number" {{#if system.isBase}}disabled{{/if}}/>
</li>

View File

@@ -21,7 +21,7 @@
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<label class="item-name-label-long">💰 Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">

View File

@@ -25,25 +25,25 @@
<div class="tab details" data-group="primary" data-tab="details">
<h4 class="item-name-label-long">Vertus médicinales</h4>
<h4 class="item-name-label-long">🌿 Vertus médicinales</h4>
<textarea name="system.vertus" rows="6" data-dtype="String">
{{{system.vertus}}}
</textarea>
<h4 class="item-name-label-long">Toxicité</h4>
<h4 class="item-name-label-long">☠️ Toxicité</h4>
<textarea name="system.toxicite" rows="6" data-dtype="String">
{{{system.toxicite}}}
</textarea>
<ul>
<li class="flexrow">
<label class="item-name-label-long">Difficulté au test d'Endurance</label>
<label class="item-name-label-long">💪 Difficulté au test d'Endurance</label>
<select class="" type="text" name="system.difficulteEndurance" data-dtype="String">
{{selectOptions config.difficulte selected=system.difficulteEndurance abelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Virulence</label>
<label class="item-name-label-long">🔥 Virulence</label>
<select name="system.virulence">
{{selectOptions config.virulencePoison selected=system.virulence labelAttr="label"}}
</select>