Fix various issues

This commit is contained in:
LeRatierBretonnien 2023-08-26 22:25:28 +02:00
parent f914b9838e
commit e5c6d3f42f
48 changed files with 178 additions and 88 deletions

View File

@ -711,11 +711,20 @@ export class Hero6Actor extends Actor {
rollData.title = item.name
rollData.diceFormula = Hero6Utility.convertRollHeroSyntax(item.system.damage)
let myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await Hero6Utility.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
//await Hero6Utility.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = myRoll
rollData.result = myRoll.total
rollData.bodyValue = Hero6Utility.computeBodyValue(myRoll)
let mult
if (item.system.damageeffect == "killing") { // As per issue #11
mult = new Roll("1d3").roll({ async: false })
rollData.killingMultiplier = mult.total
rollData.stunValue = (Number(myRoll.total) * Number(mult.total)) + (Number(item.system.stunx) || 0)
} else {
rollData.stunValue = myRoll.total
}
let msgFlavor = await renderTemplate(`systems/fvtt-hero-system-6/templates/chat/chat-damage-result.hbs`, rollData)
let msg = await rollData.roll.toMessage({
@ -723,6 +732,11 @@ export class Hero6Actor extends Actor {
rollMode: game.settings.get("core", "rollMode"),
flavor: msgFlavor
})
if (mult) {
await Hero6Utility.showDiceSoNice(mult, game.settings.get("core", "rollMode"))
}
rollData.roll = duplicate(rollData.roll) // Convert to object
msg.setFlag("world", "rolldata", rollData)
console.log("Rolldata result", rollData)

View File

@ -22,6 +22,13 @@ export const Hero6_CONFIG = {
"pre": "Presence",
"manual": "Manual",
},
damageEffect: {
"normal": "Normal",
"killing": "Killing",
"stunonly": "Stun Only",
"bodyonly": "Body Only",
"effect": "Effect"
},
skillType: {
"agility": "Agility",
"interaction": "Interaction",

View File

@ -1 +1 @@
MANIFEST-000120
MANIFEST-000128

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.792894 7f2debfff6c0 Recovering log #118
2023/08/26-20:26:06.893142 7f2debfff6c0 Delete type=3 #116
2023/08/26-20:26:06.893197 7f2debfff6c0 Delete type=0 #118
2023/08/26-22:07:58.627561 7f2deaffd6c0 Recovering log #126
2023/08/26-22:07:58.748615 7f2deaffd6c0 Delete type=3 #124
2023/08/26-22:07:58.748679 7f2deaffd6c0 Delete type=0 #126
2023/08/26-22:16:27.923271 7f2b69bff6c0 Level-0 table #131: started
2023/08/26-22:16:27.923312 7f2b69bff6c0 Level-0 table #131: 0 bytes OK
2023/08/26-22:16:27.929503 7f2b69bff6c0 Delete type=0 #129
2023/08/26-22:16:27.949795 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.949837 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.616025 7f2deaffd6c0 Recovering log #114
2023/08/26-09:36:55.641371 7f2deaffd6c0 Delete type=3 #112
2023/08/26-09:36:55.641419 7f2deaffd6c0 Delete type=0 #114
2023/08/26-09:47:17.308368 7f2b69bff6c0 Level-0 table #119: started
2023/08/26-09:47:17.308393 7f2b69bff6c0 Level-0 table #119: 0 bytes OK
2023/08/26-09:47:17.348814 7f2b69bff6c0 Delete type=0 #117
2023/08/26-09:47:17.377261 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.377290 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.738363 7f2dea7fc6c0 Recovering log #122
2023/08/26-21:35:11.748913 7f2dea7fc6c0 Delete type=3 #120
2023/08/26-21:35:11.749017 7f2dea7fc6c0 Delete type=0 #122
2023/08/26-21:46:54.280176 7f2b69bff6c0 Level-0 table #127: started
2023/08/26-21:46:54.280220 7f2b69bff6c0 Level-0 table #127: 0 bytes OK
2023/08/26-21:46:54.287757 7f2b69bff6c0 Delete type=0 #125
2023/08/26-21:46:54.294397 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.294492 7f2b69bff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000122
MANIFEST-000130

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.721589 7f2deaffd6c0 Recovering log #120
2023/08/26-20:26:06.788346 7f2deaffd6c0 Delete type=3 #118
2023/08/26-20:26:06.788465 7f2deaffd6c0 Delete type=0 #120
2023/08/26-22:07:58.520995 7f2deb7fe6c0 Recovering log #128
2023/08/26-22:07:58.608948 7f2deb7fe6c0 Delete type=3 #126
2023/08/26-22:07:58.609004 7f2deb7fe6c0 Delete type=0 #128
2023/08/26-22:16:27.903755 7f2b69bff6c0 Level-0 table #133: started
2023/08/26-22:16:27.903791 7f2b69bff6c0 Level-0 table #133: 0 bytes OK
2023/08/26-22:16:27.909699 7f2b69bff6c0 Delete type=0 #131
2023/08/26-22:16:27.916391 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.923165 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.581647 7f2dea7fc6c0 Recovering log #116
2023/08/26-09:36:55.613104 7f2dea7fc6c0 Delete type=3 #114
2023/08/26-09:36:55.613185 7f2dea7fc6c0 Delete type=0 #116
2023/08/26-09:47:17.031250 7f2b69bff6c0 Level-0 table #121: started
2023/08/26-09:47:17.031303 7f2b69bff6c0 Level-0 table #121: 0 bytes OK
2023/08/26-09:47:17.068068 7f2b69bff6c0 Delete type=0 #119
2023/08/26-09:47:17.178686 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.245324 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.724122 7f2deb7fe6c0 Recovering log #124
2023/08/26-21:35:11.735212 7f2deb7fe6c0 Delete type=3 #122
2023/08/26-21:35:11.735277 7f2deb7fe6c0 Delete type=0 #124
2023/08/26-21:46:54.246960 7f2b69bff6c0 Level-0 table #129: started
2023/08/26-21:46:54.247029 7f2b69bff6c0 Level-0 table #129: 0 bytes OK
2023/08/26-21:46:54.253553 7f2b69bff6c0 Delete type=0 #127
2023/08/26-21:46:54.253849 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.266229 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000112
MANIFEST-000121

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.895976 7f2deaffd6c0 Recovering log #110
2023/08/26-20:26:07.003837 7f2deaffd6c0 Delete type=3 #108
2023/08/26-20:26:07.003972 7f2deaffd6c0 Delete type=0 #110
2023/08/26-22:07:58.730640 7f2deb7fe6c0 Recovering log #119
2023/08/26-22:07:58.841210 7f2deb7fe6c0 Delete type=3 #117
2023/08/26-22:07:58.841288 7f2deb7fe6c0 Delete type=0 #119
2023/08/26-22:16:27.936844 7f2b69bff6c0 Level-0 table #124: started
2023/08/26-22:16:27.936868 7f2b69bff6c0 Level-0 table #124: 0 bytes OK
2023/08/26-22:16:27.942975 7f2b69bff6c0 Delete type=0 #122
2023/08/26-22:16:27.949818 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.949853 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.640615 7f2dea7fc6c0 Recovering log #106
2023/08/26-09:36:55.658513 7f2dea7fc6c0 Delete type=3 #104
2023/08/26-09:36:55.658566 7f2dea7fc6c0 Delete type=0 #106
2023/08/26-09:47:17.348939 7f2b69bff6c0 Level-0 table #111: started
2023/08/26-09:47:17.348972 7f2b69bff6c0 Level-0 table #111: 0 bytes OK
2023/08/26-09:47:17.377099 7f2b69bff6c0 Delete type=0 #109
2023/08/26-09:47:17.377272 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.377305 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.751865 7f2debfff6c0 Recovering log #114
2023/08/26-21:35:11.761906 7f2debfff6c0 Delete type=3 #112
2023/08/26-21:35:11.761967 7f2debfff6c0 Delete type=0 #114
2023/08/26-21:46:54.287966 7f2b69bff6c0 Level-0 table #120: started
2023/08/26-21:46:54.288007 7f2b69bff6c0 Level-0 table #120: 0 bytes OK
2023/08/26-21:46:54.294193 7f2b69bff6c0 Delete type=0 #118
2023/08/26-21:46:54.294471 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.294512 7f2b69bff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000120
MANIFEST-000128

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.914678 7f2dea7fc6c0 Recovering log #118
2023/08/26-20:26:07.021982 7f2dea7fc6c0 Delete type=3 #116
2023/08/26-20:26:07.022085 7f2dea7fc6c0 Delete type=0 #118
2023/08/26-22:07:58.751122 7f2dea7fc6c0 Recovering log #126
2023/08/26-22:07:58.864497 7f2dea7fc6c0 Delete type=3 #124
2023/08/26-22:07:58.864580 7f2dea7fc6c0 Delete type=0 #126
2023/08/26-22:16:27.929655 7f2b69bff6c0 Level-0 table #131: started
2023/08/26-22:16:27.929696 7f2b69bff6c0 Level-0 table #131: 0 bytes OK
2023/08/26-22:16:27.936745 7f2b69bff6c0 Delete type=0 #129
2023/08/26-22:16:27.949807 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.949861 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.643370 7f2debfff6c0 Recovering log #114
2023/08/26-09:36:55.661508 7f2debfff6c0 Delete type=3 #112
2023/08/26-09:36:55.661568 7f2debfff6c0 Delete type=0 #114
2023/08/26-09:47:17.415364 7f2b69bff6c0 Level-0 table #119: started
2023/08/26-09:47:17.415408 7f2b69bff6c0 Level-0 table #119: 0 bytes OK
2023/08/26-09:47:17.468404 7f2b69bff6c0 Delete type=0 #117
2023/08/26-09:47:17.468554 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.468570 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.751864 7f2deaffd6c0 Recovering log #122
2023/08/26-21:35:11.761866 7f2deaffd6c0 Delete type=3 #120
2023/08/26-21:35:11.761921 7f2deaffd6c0 Delete type=0 #122
2023/08/26-21:46:54.294564 7f2b69bff6c0 Level-0 table #127: started
2023/08/26-21:46:54.294620 7f2b69bff6c0 Level-0 table #127: 0 bytes OK
2023/08/26-21:46:54.302478 7f2b69bff6c0 Delete type=0 #125
2023/08/26-21:46:54.309946 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.310020 7f2b69bff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/perks/MANIFEST-000128 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000121
MANIFEST-000129

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.793023 7f2deb7fe6c0 Recovering log #119
2023/08/26-20:26:06.911684 7f2deb7fe6c0 Delete type=3 #117
2023/08/26-20:26:06.911747 7f2deb7fe6c0 Delete type=0 #119
2023/08/26-22:07:58.612145 7f2debfff6c0 Recovering log #127
2023/08/26-22:07:58.728418 7f2debfff6c0 Delete type=3 #125
2023/08/26-22:07:58.728498 7f2debfff6c0 Delete type=0 #127
2023/08/26-22:16:27.916401 7f2b69bff6c0 Level-0 table #132: started
2023/08/26-22:16:27.916423 7f2b69bff6c0 Level-0 table #132: 0 bytes OK
2023/08/26-22:16:27.923048 7f2b69bff6c0 Delete type=0 #130
2023/08/26-22:16:27.923174 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.923191 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.615731 7f2deb7fe6c0 Recovering log #115
2023/08/26-09:36:55.638127 7f2deb7fe6c0 Delete type=3 #113
2023/08/26-09:36:55.638240 7f2deb7fe6c0 Delete type=0 #115
2023/08/26-09:47:17.273897 7f2b69bff6c0 Level-0 table #120: started
2023/08/26-09:47:17.273922 7f2b69bff6c0 Level-0 table #120: 0 bytes OK
2023/08/26-09:47:17.308253 7f2b69bff6c0 Delete type=0 #118
2023/08/26-09:47:17.377250 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.377280 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.738380 7f2deaffd6c0 Recovering log #123
2023/08/26-21:35:11.748807 7f2deaffd6c0 Delete type=3 #121
2023/08/26-21:35:11.748868 7f2deaffd6c0 Delete type=0 #123
2023/08/26-21:46:54.273097 7f2b69bff6c0 Level-0 table #128: started
2023/08/26-21:46:54.273141 7f2b69bff6c0 Level-0 table #128: 0 bytes OK
2023/08/26-21:46:54.279970 7f2b69bff6c0 Delete type=0 #126
2023/08/26-21:46:54.287948 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.294448 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000120
MANIFEST-000128

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:06.721598 7f2dea7fc6c0 Recovering log #118
2023/08/26-20:26:06.788573 7f2dea7fc6c0 Delete type=3 #116
2023/08/26-20:26:06.788747 7f2dea7fc6c0 Delete type=0 #118
2023/08/26-22:07:58.521207 7f2dea7fc6c0 Recovering log #126
2023/08/26-22:07:58.625202 7f2dea7fc6c0 Delete type=3 #124
2023/08/26-22:07:58.625257 7f2dea7fc6c0 Delete type=0 #126
2023/08/26-22:16:27.909865 7f2b69bff6c0 Level-0 table #131: started
2023/08/26-22:16:27.909908 7f2b69bff6c0 Level-0 table #131: 0 bytes OK
2023/08/26-22:16:27.916292 7f2b69bff6c0 Delete type=0 #129
2023/08/26-22:16:27.923145 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.923202 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.581650 7f2deaffd6c0 Recovering log #114
2023/08/26-09:36:55.613104 7f2deaffd6c0 Delete type=3 #112
2023/08/26-09:36:55.613190 7f2deaffd6c0 Delete type=0 #114
2023/08/26-09:47:17.245521 7f2b69bff6c0 Level-0 table #119: started
2023/08/26-09:47:17.245592 7f2b69bff6c0 Level-0 table #119: 0 bytes OK
2023/08/26-09:47:17.273789 7f2b69bff6c0 Delete type=0 #117
2023/08/26-09:47:17.377230 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.377298 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.724122 7f2debfff6c0 Recovering log #122
2023/08/26-21:35:11.735216 7f2debfff6c0 Delete type=3 #120
2023/08/26-21:35:11.735320 7f2debfff6c0 Delete type=0 #122
2023/08/26-21:46:54.266256 7f2b69bff6c0 Level-0 table #127: started
2023/08/26-21:46:54.266300 7f2b69bff6c0 Level-0 table #127: 0 bytes OK
2023/08/26-21:46:54.272914 7f2b69bff6c0 Delete type=0 #125
2023/08/26-21:46:54.287925 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.294424 7f2b69bff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

0
packs/talents/000130.log Normal file
View File

View File

@ -1 +1 @@
MANIFEST-000120
MANIFEST-000128

View File

@ -1,3 +1,8 @@
2023/08/26-20:26:07.008269 7f2debfff6c0 Recovering log #118
2023/08/26-20:26:07.084332 7f2debfff6c0 Delete type=3 #116
2023/08/26-20:26:07.084432 7f2debfff6c0 Delete type=0 #118
2023/08/26-22:07:58.844046 7f2debfff6c0 Recovering log #126
2023/08/26-22:07:58.925665 7f2debfff6c0 Delete type=3 #124
2023/08/26-22:07:58.926331 7f2debfff6c0 Delete type=0 #126
2023/08/26-22:16:27.943060 7f2b69bff6c0 Level-0 table #131: started
2023/08/26-22:16:27.943083 7f2b69bff6c0 Level-0 table #131: 0 bytes OK
2023/08/26-22:16:27.949677 7f2b69bff6c0 Delete type=0 #129
2023/08/26-22:16:27.949829 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-22:16:27.949845 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2023/08/26-09:36:55.660955 7f2deb7fe6c0 Recovering log #114
2023/08/26-09:36:55.671184 7f2deb7fe6c0 Delete type=3 #112
2023/08/26-09:36:55.671335 7f2deb7fe6c0 Delete type=0 #114
2023/08/26-09:47:17.377408 7f2b69bff6c0 Level-0 table #119: started
2023/08/26-09:47:17.377442 7f2b69bff6c0 Level-0 table #119: 0 bytes OK
2023/08/26-09:47:17.415173 7f2b69bff6c0 Delete type=0 #117
2023/08/26-09:47:17.468538 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-09:47:17.468563 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-21:35:11.765241 7f2dea7fc6c0 Recovering log #122
2023/08/26-21:35:11.781642 7f2dea7fc6c0 Delete type=3 #120
2023/08/26-21:35:11.781702 7f2dea7fc6c0 Delete type=0 #122
2023/08/26-21:46:54.302747 7f2b69bff6c0 Level-0 table #127: started
2023/08/26-21:46:54.302821 7f2b69bff6c0 Level-0 table #127: 0 bytes OK
2023/08/26-21:46:54.309685 7f2b69bff6c0 Delete type=0 #125
2023/08/26-21:46:54.309987 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-21:46:54.310051 7f2b69bff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -91,14 +91,14 @@
"styles": [
"styles/simple.css"
],
"version": "11.0.16",
"version": "11.0.17",
"compatibility": {
"minimum": "11",
"verified": "11"
},
"title": "Hero System 6E Basic (Official)",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.16.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.17.zip",
"url": "https://www.uberwald.me/public/uberwald/",
"background": "systems/fvtt-hero-system-6/images/ui/hero_foundry_cover.webp",
"id": "fvtt-hero-system-6"

View File

@ -354,7 +354,9 @@
"levels": 0,
"quantity": 1,
"range": "",
"damageeffect": "normal",
"damage": "",
"stunx": 0,
"endurance": 0,
"hasroll": false,
"attackvalue": "ocv",

View File

@ -13,10 +13,24 @@
<div>
<ul>
<li>Name : {{title}}</li>
<li>Damage Effect: {{upperFirst item.system.damageeffect}}</li>
<li>Damage formula : {{diceFormula}}</li>
<li><strong>TOTAL : {{result}}</strong></li>
<li><strong>BODY : {{bodyValue}}</strong></li>
{{#if (or (eq item.system.damageeffect "killing") (eq item.system.damageeffect "normal"))}}
<li><strong>1d3 result + STUNx : {{killingMultiplier}} + {{item.system.stunx}}</strong></li>
<li><strong>STUN : {{stunValue}}</strong></li>
<li><strong>BODY : {{bodyValue}}</strong></li>
{{/if}}
{{#if (eq item.system.damageeffect "stunonly")}}
<li><strong>STUN : {{stunValue}}</strong></li>
{{/if}}
{{#if (eq item.system.damageeffect "bodyonly")}}
<li><strong>BODY : {{stunValue}}</strong></li>
{{/if}}
</ul>
</div>

View File

@ -38,9 +38,27 @@
<li class="flexrow"><label class="item-field-label-long">Range</label>
<input type="text" class="item-field-label-medium" name="system.range" value="{{system.range}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="item-field-label-long">Damage Effect</label>
<select class="item-field-label-long" type="text" name="system.damageeffect" value="{{system.damageeffect}}" data-dtype="String">
{{#select (lower system.damageeffect)}}
{{#each config.damageEffect as |name key|}}
<option value="{{key}}">{{name}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="item-field-label-long">Damage</label>
<input type="text" class="item-field-label-medium" name="system.damage" value="{{system.damage}}" data-dtype="String"/>
</li>
{{#if (eq system.damageeffect "killing")}}
<li class="flexrow"><label class="item-field-label-long">STUNx</label>
<input type="text" class="item-field-label-medium" name="system.stunx" value="{{system.stunx}}" data-dtype="Number"/>
</li>
{{/if}}
{{/if}}
<li class="flexrow"><label class="item-field-label-long">Endurance</label>