Various fixes

This commit is contained in:
2025-09-16 23:49:02 +02:00
parent 59a39850ce
commit 76a99fe33f
33 changed files with 148 additions and 128 deletions

View File

@@ -140,7 +140,7 @@ export default class LethalFantasyActorSheet extends HandlebarsApplicationMixin(
if ("link" in event.target.dataset) return
const el = event.currentTarget.closest('[data-drag="true"]')
const dragType = el.dataset.dragType
const dragType = el?.dataset?.dragType
let dragData = {}

View File

@@ -136,7 +136,7 @@ export const INITIATIVE_DICE_CHOICES_PER_CLASS = {
"cleric": [
{ "name": "Asleep or totally distracted (1D12)", "value": "1D12" },
{ "name": "Awake but unsuspecting (1D10)", "value": "1D10" },
{ "name": "Declared Ready on Alert (1D)", "value": "1D" },
{ "name": "Declared Ready on Alert (1)", "value": "1" },
/*{ "name": "Aware of the enemy, can hear them but not see (1D6)", "value": "1D6" },
{ "name": "Aware and know exactly where the enemy is (1D4)", "value": "1D4" }*/
],

View File

@@ -442,6 +442,8 @@ export default class LethalFantasyRoll extends Roll {
// Specific pain/poison/contagion case
if (options.rollType === "save" && (options.rollTarget.rollKey === "pain" || options.rollTarget.rollKey === "paincourage" || options.rollTarget.rollKey === "poison" || options.rollTarget.rollKey === "contagion")) {
hasD30 = false
hasStaticModifier = true
modifierFormula = ` + ${Math.abs(fullModifier)}`
}
if (letItFly) {
@@ -979,7 +981,7 @@ export default class LethalFantasyRoll extends Roll {
if (rollContext.range === "beyondskill") {
rollContext.movement = rollContext.movement.replace("kh", "")
rollContext.movement = rollContext.movement.replace("kl", "")
rollContext.movement += "kh" // Add the kl to the movement (disfavor for point blank range)
rollContext.movement += "kh" // Add the kl to the movement (favor for point blank range)
rollContext.range = "+11"
}
@@ -987,8 +989,8 @@ export default class LethalFantasyRoll extends Roll {
let fullModifier = Number(rollContext.moveDirection) +
Number(rollContext.size) +
Number(rollContext.range) +
Number(rollContext.attackerAim)
console.log("Modifier", fullModifier)
Number(rollContext?.attackerAim || 0)
console.log("Modifier", fullModifier, rollContext)
let modifierFormula
if (fullModifier === 0) {
@@ -1009,6 +1011,12 @@ export default class LethalFantasyRoll extends Roll {
let rollD30 = await new Roll("1D30").evaluate()
options.D30result = rollD30.total
if (rollContext.movement.includes("kh")) {
rollData.favor = "favor"
}
if (rollContext.movement.includes("kl")) {
rollData.favor = "disfavor"
}
let dice = rollContext.movement
let maxValue = 20 // As per latest changes (was : Number(dice.match(/\d+$/)[0])
@@ -1043,7 +1051,7 @@ export default class LethalFantasyRoll extends Roll {
rollBase.options.titleFormula = `${dice}E + ${modifierFormula}`
rollBase.options.D30result = options.D30result
rollBase.options.rollName = "Ranged Defense"
rollBase.options.rollData = foundry.utils.duplicate(rollData)
/**
* A hook event that fires after the roll has been made.
* @function

View File

@@ -1 +1 @@
MANIFEST-000408
MANIFEST-000412

View File

@@ -1,8 +1,8 @@
2025/09/09-20:04:59.829367 7f811affd6c0 Recovering log #406
2025/09/09-20:04:59.839654 7f811affd6c0 Delete type=3 #404
2025/09/09-20:04:59.839707 7f811affd6c0 Delete type=0 #406
2025/09/09-20:14:01.132105 7f811a7fc6c0 Level-0 table #411: started
2025/09/09-20:14:01.132136 7f811a7fc6c0 Level-0 table #411: 0 bytes OK
2025/09/09-20:14:01.139097 7f811a7fc6c0 Delete type=0 #409
2025/09/09-20:14:01.170651 7f811a7fc6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.170691 7f811a7fc6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/16-23:16:29.221312 7f307affd6c0 Recovering log #410
2025/09/16-23:16:29.232289 7f307affd6c0 Delete type=3 #408
2025/09/16-23:16:29.232343 7f307affd6c0 Delete type=0 #410
2025/09/16-23:47:50.382735 7f307a7fc6c0 Level-0 table #415: started
2025/09/16-23:47:50.383046 7f307a7fc6c0 Level-0 table #415: 0 bytes OK
2025/09/16-23:47:50.390243 7f307a7fc6c0 Delete type=0 #413
2025/09/16-23:47:50.410779 7f307a7fc6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/16-23:47:50.410810 7f307a7fc6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2025/09/09-20:04:40.803409 7f8120dfa6c0 Recovering log #402
2025/09/09-20:04:40.813179 7f8120dfa6c0 Delete type=3 #400
2025/09/09-20:04:40.813231 7f8120dfa6c0 Delete type=0 #402
2025/09/09-20:04:50.082984 7f811a7fc6c0 Level-0 table #407: started
2025/09/09-20:04:50.083011 7f811a7fc6c0 Level-0 table #407: 0 bytes OK
2025/09/09-20:04:50.088948 7f811a7fc6c0 Delete type=0 #405
2025/09/09-20:04:50.102813 7f811a7fc6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/09-20:04:50.102846 7f811a7fc6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/09-20:04:59.829367 7f811affd6c0 Recovering log #406
2025/09/09-20:04:59.839654 7f811affd6c0 Delete type=3 #404
2025/09/09-20:04:59.839707 7f811affd6c0 Delete type=0 #406
2025/09/09-20:14:01.132105 7f811a7fc6c0 Level-0 table #411: started
2025/09/09-20:14:01.132136 7f811a7fc6c0 Level-0 table #411: 0 bytes OK
2025/09/09-20:14:01.139097 7f811a7fc6c0 Delete type=0 #409
2025/09/09-20:14:01.170651 7f811a7fc6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.170691 7f811a7fc6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!zw9RQocTdz3HRjZK' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000407
MANIFEST-000412

View File

@@ -1,15 +1,8 @@
2025/09/09-20:04:59.843330 7f811bfff6c0 Recovering log #405
2025/09/09-20:04:59.853031 7f811bfff6c0 Delete type=3 #403
2025/09/09-20:04:59.853123 7f811bfff6c0 Delete type=0 #405
2025/09/09-20:14:01.039360 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.042968 7f811a7fc6c0 Level-0 table #410: 15906 bytes OK
2025/09/09-20:14:01.050037 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083045 7f811a7fc6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.083115 7f811a7fc6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at '!items!zjvGljrLk5SshC9D' @ 152 : 0
2025/09/09-20:14:01.083123 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.086586 7f811a7fc6c0 Generated table #411@1: 32 keys, 15258 bytes
2025/09/09-20:14:01.086603 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 15258 bytes
2025/09/09-20:14:01.094593 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.094890 7f811a7fc6c0 Delete type=2 #322
2025/09/09-20:14:01.095210 7f811a7fc6c0 Delete type=2 #410
2025/09/09-20:14:01.122172 7f811a7fc6c0 Manual compaction at level-1 from '!items!zjvGljrLk5SshC9D' @ 152 : 0 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/16-23:16:29.238114 7f3080dfa6c0 Recovering log #409
2025/09/16-23:16:29.248900 7f3080dfa6c0 Delete type=3 #407
2025/09/16-23:16:29.248979 7f3080dfa6c0 Delete type=0 #409
2025/09/16-23:47:50.397435 7f307a7fc6c0 Level-0 table #415: started
2025/09/16-23:47:50.397478 7f307a7fc6c0 Level-0 table #415: 0 bytes OK
2025/09/16-23:47:50.404058 7f307a7fc6c0 Delete type=0 #413
2025/09/16-23:47:50.410801 7f307a7fc6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/16-23:47:50.410854 7f307a7fc6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,15 @@
2025/09/09-20:04:40.816586 7f811affd6c0 Recovering log #401
2025/09/09-20:04:40.826708 7f811affd6c0 Delete type=3 #399
2025/09/09-20:04:40.826778 7f811affd6c0 Delete type=0 #401
2025/09/09-20:04:50.089056 7f811a7fc6c0 Level-0 table #406: started
2025/09/09-20:04:50.089094 7f811a7fc6c0 Level-0 table #406: 0 bytes OK
2025/09/09-20:04:50.095242 7f811a7fc6c0 Delete type=0 #404
2025/09/09-20:04:50.102822 7f811a7fc6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/09-20:04:50.102852 7f811a7fc6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/09-20:04:59.843330 7f811bfff6c0 Recovering log #405
2025/09/09-20:04:59.853031 7f811bfff6c0 Delete type=3 #403
2025/09/09-20:04:59.853123 7f811bfff6c0 Delete type=0 #405
2025/09/09-20:14:01.039360 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.042968 7f811a7fc6c0 Level-0 table #410: 15906 bytes OK
2025/09/09-20:14:01.050037 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083045 7f811a7fc6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.083115 7f811a7fc6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at '!items!zjvGljrLk5SshC9D' @ 152 : 0
2025/09/09-20:14:01.083123 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.086586 7f811a7fc6c0 Generated table #411@1: 32 keys, 15258 bytes
2025/09/09-20:14:01.086603 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 15258 bytes
2025/09/09-20:14:01.094593 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.094890 7f811a7fc6c0 Delete type=2 #322
2025/09/09-20:14:01.095210 7f811a7fc6c0 Delete type=2 #410
2025/09/09-20:14:01.122172 7f811a7fc6c0 Manual compaction at level-1 from '!items!zjvGljrLk5SshC9D' @ 152 : 0 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000407
MANIFEST-000412

View File

@@ -1,15 +1,8 @@
2025/09/09-20:04:59.816534 7f8120dfa6c0 Recovering log #405
2025/09/09-20:04:59.826062 7f8120dfa6c0 Delete type=3 #403
2025/09/09-20:04:59.826148 7f8120dfa6c0 Delete type=0 #405
2025/09/09-20:14:01.064807 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.070719 7f811a7fc6c0 Level-0 table #410: 149145 bytes OK
2025/09/09-20:14:01.076657 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083085 7f811a7fc6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.111093 7f811a7fc6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at '!items!zt8s7564ep1La4XQ' @ 612 : 0
2025/09/09-20:14:01.111103 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.115854 7f811a7fc6c0 Generated table #411@1: 88 keys, 116881 bytes
2025/09/09-20:14:01.115886 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 116881 bytes
2025/09/09-20:14:01.121744 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.121874 7f811a7fc6c0 Delete type=2 #322
2025/09/09-20:14:01.122036 7f811a7fc6c0 Delete type=2 #410
2025/09/09-20:14:01.122196 7f811a7fc6c0 Manual compaction at level-1 from '!items!zt8s7564ep1La4XQ' @ 612 : 0 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/16-23:16:29.207343 7f307bfff6c0 Recovering log #409
2025/09/16-23:16:29.216984 7f307bfff6c0 Delete type=3 #407
2025/09/16-23:16:29.217040 7f307bfff6c0 Delete type=0 #409
2025/09/16-23:47:50.390364 7f307a7fc6c0 Level-0 table #415: started
2025/09/16-23:47:50.390390 7f307a7fc6c0 Level-0 table #415: 0 bytes OK
2025/09/16-23:47:50.397293 7f307a7fc6c0 Delete type=0 #413
2025/09/16-23:47:50.410791 7f307a7fc6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/16-23:47:50.410840 7f307a7fc6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,15 @@
2025/09/09-20:04:40.790103 7f811b7fe6c0 Recovering log #401
2025/09/09-20:04:40.799986 7f811b7fe6c0 Delete type=3 #399
2025/09/09-20:04:40.800061 7f811b7fe6c0 Delete type=0 #401
2025/09/09-20:04:50.076859 7f811a7fc6c0 Level-0 table #406: started
2025/09/09-20:04:50.076908 7f811a7fc6c0 Level-0 table #406: 0 bytes OK
2025/09/09-20:04:50.082849 7f811a7fc6c0 Delete type=0 #404
2025/09/09-20:04:50.102802 7f811a7fc6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/09-20:04:50.102835 7f811a7fc6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/09-20:04:59.816534 7f8120dfa6c0 Recovering log #405
2025/09/09-20:04:59.826062 7f8120dfa6c0 Delete type=3 #403
2025/09/09-20:04:59.826148 7f8120dfa6c0 Delete type=0 #405
2025/09/09-20:14:01.064807 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.070719 7f811a7fc6c0 Level-0 table #410: 149145 bytes OK
2025/09/09-20:14:01.076657 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083085 7f811a7fc6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.111093 7f811a7fc6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at '!items!zt8s7564ep1La4XQ' @ 612 : 0
2025/09/09-20:14:01.111103 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.115854 7f811a7fc6c0 Generated table #411@1: 88 keys, 116881 bytes
2025/09/09-20:14:01.115886 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 116881 bytes
2025/09/09-20:14:01.121744 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.121874 7f811a7fc6c0 Delete type=2 #322
2025/09/09-20:14:01.122036 7f811a7fc6c0 Delete type=2 #410
2025/09/09-20:14:01.122196 7f811a7fc6c0 Manual compaction at level-1 from '!items!zt8s7564ep1La4XQ' @ 612 : 0 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000107
MANIFEST-000112

View File

@@ -1,15 +1,8 @@
2025/09/09-20:04:59.867080 7f811b7fe6c0 Recovering log #105
2025/09/09-20:04:59.877643 7f811b7fe6c0 Delete type=3 #103
2025/09/09-20:04:59.877696 7f811b7fe6c0 Delete type=0 #105
2025/09/09-20:14:01.050289 7f811a7fc6c0 Level-0 table #110: started
2025/09/09-20:14:01.058207 7f811a7fc6c0 Level-0 table #110: 430019 bytes OK
2025/09/09-20:14:01.064385 7f811a7fc6c0 Delete type=0 #108
2025/09/09-20:14:01.083065 7f811a7fc6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.095323 7f811a7fc6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at '!items!zKOpU34oLziGJW6y' @ 639 : 0
2025/09/09-20:14:01.095336 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.103834 7f811a7fc6c0 Generated table #111@1: 260 keys, 421724 bytes
2025/09/09-20:14:01.103860 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 421724 bytes
2025/09/09-20:14:01.110575 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.110756 7f811a7fc6c0 Delete type=2 #22
2025/09/09-20:14:01.110964 7f811a7fc6c0 Delete type=2 #110
2025/09/09-20:14:01.122184 7f811a7fc6c0 Manual compaction at level-1 from '!items!zKOpU34oLziGJW6y' @ 639 : 0 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/16-23:16:29.263902 7f307affd6c0 Recovering log #109
2025/09/16-23:16:29.274398 7f307affd6c0 Delete type=3 #107
2025/09/16-23:16:29.274490 7f307affd6c0 Delete type=0 #109
2025/09/16-23:47:50.437467 7f307a7fc6c0 Level-0 table #115: started
2025/09/16-23:47:50.437529 7f307a7fc6c0 Level-0 table #115: 0 bytes OK
2025/09/16-23:47:50.443898 7f307a7fc6c0 Delete type=0 #113
2025/09/16-23:47:50.474392 7f307a7fc6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/16-23:47:50.474456 7f307a7fc6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,15 @@
2025/09/09-20:04:40.841664 7f8120dfa6c0 Recovering log #101
2025/09/09-20:04:40.852508 7f8120dfa6c0 Delete type=3 #99
2025/09/09-20:04:40.852585 7f8120dfa6c0 Delete type=0 #101
2025/09/09-20:04:50.121356 7f811a7fc6c0 Level-0 table #106: started
2025/09/09-20:04:50.121387 7f811a7fc6c0 Level-0 table #106: 0 bytes OK
2025/09/09-20:04:50.127905 7f811a7fc6c0 Delete type=0 #104
2025/09/09-20:04:50.128027 7f811a7fc6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/09-20:04:50.128057 7f811a7fc6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/09-20:04:59.867080 7f811b7fe6c0 Recovering log #105
2025/09/09-20:04:59.877643 7f811b7fe6c0 Delete type=3 #103
2025/09/09-20:04:59.877696 7f811b7fe6c0 Delete type=0 #105
2025/09/09-20:14:01.050289 7f811a7fc6c0 Level-0 table #110: started
2025/09/09-20:14:01.058207 7f811a7fc6c0 Level-0 table #110: 430019 bytes OK
2025/09/09-20:14:01.064385 7f811a7fc6c0 Delete type=0 #108
2025/09/09-20:14:01.083065 7f811a7fc6c0 Manual compaction at level-0 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.095323 7f811a7fc6c0 Manual compaction at level-1 from '!folders!37mu4dxsSuftlnmP' @ 72057594037927935 : 1 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at '!items!zKOpU34oLziGJW6y' @ 639 : 0
2025/09/09-20:14:01.095336 7f811a7fc6c0 Compacting 1@1 + 1@2 files
2025/09/09-20:14:01.103834 7f811a7fc6c0 Generated table #111@1: 260 keys, 421724 bytes
2025/09/09-20:14:01.103860 7f811a7fc6c0 Compacted 1@1 + 1@2 files => 421724 bytes
2025/09/09-20:14:01.110575 7f811a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/09/09-20:14:01.110756 7f811a7fc6c0 Delete type=2 #22
2025/09/09-20:14:01.110964 7f811a7fc6c0 Delete type=2 #110
2025/09/09-20:14:01.122184 7f811a7fc6c0 Manual compaction at level-1 from '!items!zKOpU34oLziGJW6y' @ 639 : 0 .. '!items!zKOpU34oLziGJW6y' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000407
MANIFEST-000411

View File

@@ -1,8 +1,8 @@
2025/09/09-20:04:59.855289 7f8120dfa6c0 Recovering log #405
2025/09/09-20:04:59.864565 7f8120dfa6c0 Delete type=3 #403
2025/09/09-20:04:59.864636 7f8120dfa6c0 Delete type=0 #405
2025/09/09-20:14:01.076905 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.076943 7f811a7fc6c0 Level-0 table #410: 0 bytes OK
2025/09/09-20:14:01.082931 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083098 7f811a7fc6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.122157 7f811a7fc6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/16-23:16:29.250993 7f307bfff6c0 Recovering log #409
2025/09/16-23:16:29.261540 7f307bfff6c0 Delete type=3 #407
2025/09/16-23:16:29.261614 7f307bfff6c0 Delete type=0 #409
2025/09/16-23:47:50.404206 7f307a7fc6c0 Level-0 table #414: started
2025/09/16-23:47:50.404257 7f307a7fc6c0 Level-0 table #414: 0 bytes OK
2025/09/16-23:47:50.410667 7f307a7fc6c0 Delete type=0 #412
2025/09/16-23:47:50.410817 7f307a7fc6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/16-23:47:50.410847 7f307a7fc6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2025/09/09-20:04:40.829012 7f811b7fe6c0 Recovering log #401
2025/09/09-20:04:40.838454 7f811b7fe6c0 Delete type=3 #399
2025/09/09-20:04:40.838506 7f811b7fe6c0 Delete type=0 #401
2025/09/09-20:04:50.095335 7f811a7fc6c0 Level-0 table #406: started
2025/09/09-20:04:50.095357 7f811a7fc6c0 Level-0 table #406: 0 bytes OK
2025/09/09-20:04:50.102580 7f811a7fc6c0 Delete type=0 #404
2025/09/09-20:04:50.102829 7f811a7fc6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/09-20:04:50.102841 7f811a7fc6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/09-20:04:59.855289 7f8120dfa6c0 Recovering log #405
2025/09/09-20:04:59.864565 7f8120dfa6c0 Delete type=3 #403
2025/09/09-20:04:59.864636 7f8120dfa6c0 Delete type=0 #405
2025/09/09-20:14:01.076905 7f811a7fc6c0 Level-0 table #410: started
2025/09/09-20:14:01.076943 7f811a7fc6c0 Level-0 table #410: 0 bytes OK
2025/09/09-20:14:01.082931 7f811a7fc6c0 Delete type=0 #408
2025/09/09-20:14:01.083098 7f811a7fc6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
2025/09/09-20:14:01.122157 7f811a7fc6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)

View File

@@ -32,6 +32,12 @@
{{#if rollData.beyondSkill}}
<span>Beyond Skill Range Attack !</span>
{{/if}}
{{#if (eq rollData.favor "favor")}}
<span>Favor roll</span>
{{/if}}
{{#if (eq rollData.favor "disfavor")}}
<span>Disfavor roll</span>
{{/if}}
<span>Formula : {{titleFormula}}</span>

View File

@@ -13,13 +13,15 @@
<fieldset class="monster-characteristics monster-characteristics-{{ifThen isPlayMode 'play' 'edit'}}">
<div class="flexrow monster-hp">
<span class="name">{{localize "LETHALFANTASY.Label.HP"}}</span>
{{formInput systemFields.hp.fields.value value=system.hp.value disabled=isPlayMode classes="monster-hp-value"}}
{{formInput systemFields.hp.fields.value value=system.hp.value disabled=isPlayMode
classes="monster-hp-value"}}
&nbsp;/&nbsp;
{{formInput systemFields.hp.fields.max value=system.hp.max disabled=isPlayMode classes="monster-hp-value"}}
</div>
<div class="flexrow monster-hp">
<span class="damage-resistance">{{localize "LETHALFANTASY.Label.damageResistance"}}</span>
{{formInput systemFields.hp.fields.damageResistance value=system.hp.damageResistance disabled=isPlayMode classes="monster-hp-value"}}
{{formInput systemFields.hp.fields.damageResistance value=system.hp.damageResistance disabled=isPlayMode
classes="monster-hp-value"}}
</div>
</fieldset>
@@ -41,7 +43,8 @@
class="lf-roll-small fa-solid fa-dice-d20"></i>
{{localize "LETHALFANTASY.Label.saves.will"}}
</a></span>
{{formField systemFields.saves.fields.will.fields.value value=system.saves.will.value disabled=isPlayMode }}
{{formField systemFields.saves.fields.will.fields.value value=system.saves.will.value disabled=isPlayMode
}}
<span class="name">
<a class="rollable" data-roll-type="save" data-roll-key="dodge"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>
@@ -65,20 +68,20 @@
class="lf-roll-small fa-solid fa-dice-d20"></i>
{{localize "LETHALFANTASY.Label.saves.contagion"}}
</a>
</span>
</span>
{{formField systemFields.saves.fields.contagion.fields.value value=system.saves.contagion.value
disabled=isPlayMode}}
<span class="name">
<a class="rollable" data-roll-type="save" data-roll-key="poison"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>
{{localize "LETHALFANTASY.Label.saves.poison"}}
{{localize "LETHALFANTASY.Label.saves.poison"}}
</a>
</span>
{{formField systemFields.saves.fields.poison.fields.value value=system.saves.poison.value
</span>
{{formField systemFields.saves.fields.poison.fields.value value=system.saves.poison.value
disabled=isPlayMode }}
<span class="name">
<!-- <span class="name">
<a class="rollable" data-roll-type="save" data-roll-key="paincourage" data-roll-dice="D20" data-tooltip="Pain/Courage check on wound of..."><i
class="lf-roll-small fa-solid fa-dice-d20"></i>
{{localize "LETHALFANTASY.Label.saves.paincourage"}}
@@ -88,7 +91,7 @@
<span data-tooltip="Pain save if wound exceeds">
{{formField systemFields.hp.fields.painDamage value=system.hp.painDamage disabled=isPlayMode tooltip="Pain Damage"}}
</span>
</span>-->
</div>
@@ -102,19 +105,22 @@
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistTorture"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistTorture"}}</a></span>
{{formField systemFields.resists.fields.resistTorture.fields.value value=system.resists.resistTorture.value
{{formField systemFields.resists.fields.resistTorture.fields.value
value=system.resists.resistTorture.value
disabled=isPlayMode
}}
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistPerformance"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistPerformance"}}</a></span>
{{formField systemFields.resists.fields.resistPerformance.fields.value value=system.resists.resistPerformance.value
disabled=isPlayMode
{{formField systemFields.resists.fields.resistPerformance.fields.value
value=system.resists.resistPerformance.value
disabled=isPlayMode
}}
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="resistIntimidation"><i
class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
<span class="name"><a class="rollable" data-roll-type="monster-skill"
data-roll-key="resistIntimidation"><i class="lf-roll-small fa-solid fa-dice-d20"></i>{{localize
"LETHALFANTASY.Label.resistIntimidation"}}</a></span>
{{formField systemFields.resists.fields.resistIntimidation.fields.value value=system.resists.resistIntimidation.value
{{formField systemFields.resists.fields.resistIntimidation.fields.value
value=system.resists.resistIntimidation.value
disabled=isPlayMode }}
<span class="name"><a class="rollable" data-roll-type="monster-skill" data-roll-key="perception"><i
@@ -157,7 +163,7 @@
<fieldset class="monster-characteristics monster-characteristics-{{ifThen isPlayMode 'play' 'edit'}}">
<legend>{{localize "LETHALFANTASY.Label.characteristics"}}</legend>
<div class="monster-characteristic">
<span>x{{localize "LETHALFANTASY.Label.int"}}</span>
<span>{{localize "LETHALFANTASY.Label.int"}}</span>
{{formField systemFields.characteristics.fields.int.fields.value value=system.characteristics.int.value
disabled=isPlayMode data-char-id="int" }}