Fix starship agility
All checks were successful
Release Creation / build (release) Successful in 51s

This commit is contained in:
2025-11-16 13:49:33 +01:00
parent 6aa0b3a58d
commit 21dca4446f
11 changed files with 35 additions and 32 deletions

View File

@@ -199,7 +199,10 @@ export default class FTLNomadRoll extends Roll {
label: label,
callback: (event, button, dialog) => {
const output = Array.from(button.form.elements).reduce((obj, input) => {
if (input.name) obj[input.name] = input.value
if (input.name) {
// For checkboxes, use checked property instead of value
obj[input.name] = input.type === 'checkbox' ? input.checked : input.value
}
return obj
}, {})
return output
@@ -271,7 +274,7 @@ export default class FTLNomadRoll extends Roll {
options.skillModifier = Number(rollData.skillModifier) || 0
options.rangeModifier = Number(rollData.rangeModifier) || 0
options.numericModifierSelect = Number(rollData.numericModifierSelect) || 0
options.useVehicleBonus = rollData.useVehicleBonus !== "off" && rollData.useVehicleBonus !== false
options.useVehicleBonus = rollData.useVehicleBonus === true
options.finalModifier = options.numericModifier + options.skillModifier + options.rangeModifier
let mod = options.rollItem?.value || 0
mod += options.numericModifierSelect

View File

@@ -1 +1 @@
MANIFEST-000136
MANIFEST-000140

View File

@@ -1,7 +1,7 @@
2025/11/15-21:57:15.481581 7f4781ffb6c0 Recovering log #134
2025/11/15-21:57:15.491519 7f4781ffb6c0 Delete type=3 #132
2025/11/15-21:57:15.491588 7f4781ffb6c0 Delete type=0 #134
2025/11/15-21:59:21.237179 7f4780bff6c0 Level-0 table #139: started
2025/11/15-21:59:21.237222 7f4780bff6c0 Level-0 table #139: 0 bytes OK
2025/11/15-21:59:21.302054 7f4780bff6c0 Delete type=0 #137
2025/11/15-21:59:21.450579 7f4780bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
2025/11/16-13:42:15.516505 7f47817fa6c0 Recovering log #138
2025/11/16-13:42:15.531915 7f47817fa6c0 Delete type=3 #136
2025/11/16-13:42:15.531986 7f47817fa6c0 Delete type=0 #138
2025/11/16-13:48:27.487704 7f4780bff6c0 Level-0 table #143: started
2025/11/16-13:48:27.487749 7f4780bff6c0 Level-0 table #143: 0 bytes OK
2025/11/16-13:48:27.494893 7f4780bff6c0 Delete type=0 #141
2025/11/16-13:48:27.501327 7f4780bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/11/11-09:55:29.500472 7f0922ffd6c0 Recovering log #130
2025/11/11-09:55:29.510925 7f0922ffd6c0 Delete type=3 #128
2025/11/11-09:55:29.511008 7f0922ffd6c0 Delete type=0 #130
2025/11/11-12:13:09.876661 7f0920bff6c0 Level-0 table #135: started
2025/11/11-12:13:09.876709 7f0920bff6c0 Level-0 table #135: 0 bytes OK
2025/11/11-12:13:09.882679 7f0920bff6c0 Delete type=0 #133
2025/11/11-12:13:09.882804 7f0920bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
2025/11/15-21:57:15.481581 7f4781ffb6c0 Recovering log #134
2025/11/15-21:57:15.491519 7f4781ffb6c0 Delete type=3 #132
2025/11/15-21:57:15.491588 7f4781ffb6c0 Delete type=0 #134
2025/11/15-21:59:21.237179 7f4780bff6c0 Level-0 table #139: started
2025/11/15-21:59:21.237222 7f4780bff6c0 Level-0 table #139: 0 bytes OK
2025/11/15-21:59:21.302054 7f4780bff6c0 Delete type=0 #137
2025/11/15-21:59:21.450579 7f4780bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)

View File

@@ -1 +1 @@
MANIFEST-000114
MANIFEST-000118

View File

@@ -1,7 +1,7 @@
2025/11/15-21:57:15.495359 7f47817fa6c0 Recovering log #112
2025/11/15-21:57:15.505936 7f47817fa6c0 Delete type=3 #110
2025/11/15-21:57:15.505987 7f47817fa6c0 Delete type=0 #112
2025/11/15-21:59:21.388865 7f4780bff6c0 Level-0 table #117: started
2025/11/15-21:59:21.388934 7f4780bff6c0 Level-0 table #117: 0 bytes OK
2025/11/15-21:59:21.450426 7f4780bff6c0 Delete type=0 #115
2025/11/15-21:59:21.450606 7f4780bff6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end)
2025/11/16-13:42:15.536081 7f4781ffb6c0 Recovering log #116
2025/11/16-13:42:15.550548 7f4781ffb6c0 Delete type=3 #114
2025/11/16-13:42:15.550621 7f4781ffb6c0 Delete type=0 #116
2025/11/16-13:48:27.494999 7f4780bff6c0 Level-0 table #121: started
2025/11/16-13:48:27.495027 7f4780bff6c0 Level-0 table #121: 0 bytes OK
2025/11/16-13:48:27.501164 7f4780bff6c0 Delete type=0 #119
2025/11/16-13:48:27.501339 7f4780bff6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2025/11/11-09:55:29.516089 7f0921ffb6c0 Recovering log #108
2025/11/11-09:55:29.525977 7f0921ffb6c0 Delete type=3 #106
2025/11/11-09:55:29.526050 7f0921ffb6c0 Delete type=0 #108
2025/11/11-12:13:09.863976 7f0920bff6c0 Level-0 table #113: started
2025/11/11-12:13:09.864017 7f0920bff6c0 Level-0 table #113: 0 bytes OK
2025/11/11-12:13:09.870509 7f0920bff6c0 Delete type=0 #111
2025/11/11-12:13:09.882783 7f0920bff6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end)
2025/11/15-21:57:15.495359 7f47817fa6c0 Recovering log #112
2025/11/15-21:57:15.505936 7f47817fa6c0 Delete type=3 #110
2025/11/15-21:57:15.505987 7f47817fa6c0 Delete type=0 #112
2025/11/15-21:59:21.388865 7f4780bff6c0 Level-0 table #117: started
2025/11/15-21:59:21.388934 7f4780bff6c0 Level-0 table #117: 0 bytes OK
2025/11/15-21:59:21.450426 7f4780bff6c0 Delete type=0 #115
2025/11/15-21:59:21.450606 7f4780bff6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end)