Compare commits

..

12 Commits

75 changed files with 227 additions and 172 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
packs/* filter=lfs diff=lfs merge=lfs -text

View File

@ -1,3 +1,22 @@
v11.0.21
- Fix grid default distance in system.json
- Fix powers roll again (#29)
v11.0.20
- Enhance chat message output (cf #25)
- Enhance roll window
- Code simplification
v11.0.19
- Fix killing damage computation (again)
v11.0.18
- Fix killing damage computation
v11.0.17
- Fix tickets 1, 2, 3, 7, 8, 9, 10

View File

@ -223,8 +223,10 @@ export class Hero6Actor extends Actor {
/* -------------------------------------------- */
prepareManeuver(maneuver) {
let subMode = "normal"
if (maneuver.system.maneuvertype == "mental") {
maneuver.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0)
maneuver.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0)
subMode = "omcv"
if (Number(maneuver.system.omcv)) {
maneuver.roll += (Number(maneuver.system.omcv) || 0)
} else {
@ -232,12 +234,14 @@ export class Hero6Actor extends Actor {
}
} else {
maneuver.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0)
subMode = "ocv"
if (Number(maneuver.system.ocv)) {
maneuver.roll += (Number(maneuver.system.ocv) || 0)
} else {
maneuver.noOCV = true
}
}
return subMode
}
/* -------------------------------------------- */
@ -637,6 +641,9 @@ export class Hero6Actor extends Actor {
rollData.actorImg = this.img
rollData.actorId = this.id
rollData.img = this.img
rollData.title = this.name
rollData.subMode = "normal"
rollData.characteristics = duplicate(this.system.characteristics)
if (chKey) {
rollData.charac = duplicate(this.system.characteristics[chKey])
this.prepareCharacValues(rollData.charac)
@ -669,6 +676,7 @@ export class Hero6Actor extends Actor {
rollPerception() {
let rollData = this.getCommonRollData("int")
rollData.isPerception = true
rollData.title = "Perception roll"
rollData.charac.roll = Number(rollData.charac.perceptionroll)
rollData.mode = "perception"
if (rollData.target) {
@ -682,6 +690,7 @@ export class Hero6Actor extends Actor {
rollCharac(chKey) {
let rollData = this.getCommonRollData(chKey)
rollData.mode = "charac"
rollData.title = "Characteristic roll"
if (rollData.target) {
ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.")
return
@ -693,12 +702,13 @@ export class Hero6Actor extends Actor {
let item = this.items.get(itemId)
let rollData = this.getCommonRollData()
rollData.mode = "item"
rollData.title = Hero6Utility.upperFirst(item.type) + " - " + item.name
rollData.item = duplicate(item)
if (item.type == "skill") {
this.prepareSkill(rollData.item)
}
if (item.type == "maneuver") {
this.prepareManeuver(rollData.item)
rollData.subMode = this.prepareManeuver(rollData.item)
}
this.startRoll(rollData)
}
@ -721,7 +731,7 @@ export class Hero6Actor extends Actor {
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)
rollData.stunValue = Number(myRoll.total) * (Number(mult.total) + (Number(item.system.stunx) || 0))
} else {
rollData.stunValue = myRoll.total
}
@ -792,9 +802,10 @@ export class Hero6Actor extends Actor {
if (weapon) {
weapon = duplicate(weapon)
let rollData = this.getCommonRollData()
rollData.weaponRoll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(weapon.system.ocv) || 0)
rollData.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(weapon.system.ocv) || 0)
rollData.subMode = "ocv"
rollData.mode = "weapon"
rollData.weapon = weapon
rollData.item = weapon
rollData.img = weapon.img
this.startRoll(rollData)
} else {
@ -807,9 +818,9 @@ export class Hero6Actor extends Actor {
if (maneuver) {
maneuver = duplicate(maneuver)
let rollData = this.getCommonRollData()
rollData.maneuverRoll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(maneuver.system.omcv) || 0)
rollData.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(maneuver.system.omcv) || 0)
rollData.mode = "mentalmaneuver"
rollData.maneuver = maneuver
rollData.item = maneuver
rollData.img = maneuver.img
this.startRoll(rollData)
} else {
@ -820,16 +831,19 @@ export class Hero6Actor extends Actor {
rollPowerAttack(powerId ) {
let power = this.items.get(powerId)
if (power) {
power = duplicate(power)
power = duplicate(power)
let rollData = this.getCommonRollData()
if (power.system.attackvalue == "ocv") {
rollData.powerRoll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(power.system.ocv) || 0)
} else {
rollData.powerRoll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(power.system.omcv) || 0)
}
rollData.mode = "powerattack"
rollData.power = power
rollData.item = power
rollData.img = power.img
if (power.system.attackvalue == "ocv") {
rollData.item.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(power.system.ocv) || 0)
rollData.subMode = "ocv"
} else {
rollData.item.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(power.system.omcv) || 0)
rollData.subMode = "omcv"
}
this.startRoll(rollData)
} else {
ui.notifications.warn("Unable to find power " + power.name)

View File

@ -5,7 +5,7 @@ export class Hero6RollDialog extends Dialog {
/* -------------------------------------------- */
static async create(actor, rollData) {
let options = { classes: ["Hero6Dialog"], width: 460, height: 'fit-content', 'z-index': 99999 };
let options = { classes: ["Hero6Dialog"], width: 320, height: 'fit-content', 'z-index': 99999 };
let html = await renderTemplate('systems/fvtt-hero-system-6/templates/apps/roll-dialog-generic.hbs', rollData);
return new Hero6RollDialog(actor, rollData, html, options);
@ -14,7 +14,7 @@ export class Hero6RollDialog extends Dialog {
/* -------------------------------------------- */
constructor(actor, rollData, html, options, close = undefined) {
let conf = {
title: (rollData.mode == "skill") ? "Skill" : "Attribute",
title: "Roll window",
content: html,
buttons: {
roll: {

View File

@ -43,6 +43,9 @@ export class Hero6Utility {
Handlebars.registerHelper('mul', function (a, b) {
return Number(a) * Number(b);
})
Handlebars.registerHelper('add', function (a, b) {
return (Number(a) || 0) + (Number(b) || 0);
})
Handlebars.registerHelper('locationLabel', function (key) {
return __locationNames[key]
})
@ -347,15 +350,6 @@ export class Hero6Utility {
let diceFormula = "3d6"
let target = 10
if(rollData.weapon) {
target = rollData.weaponRoll
}
if(rollData.maneuver) {
target = rollData.maneuverRoll
}
if(rollData.power) {
target = rollData.powerRoll
}
if (rollData.charac) {
target = rollData.charac.roll
}
@ -365,7 +359,7 @@ export class Hero6Utility {
target += rollData.bonusMalus
// Performs roll
console.log("Roll formula", diceFormula)
//console.log("Roll formula", diceFormula)
let myRoll = rollData.roll
if (!myRoll) { // New rolls only of no rerolls
myRoll = new Roll(diceFormula).roll({ async: false })
@ -380,6 +374,7 @@ export class Hero6Utility {
if (rollData.result <= target) {
rollData.isSuccess = true
}
//console.log("Roll result", rollData)
if (myRoll.terms[0].total == 3) { // Always a success
rollData.isSuccess = true
}

View File

@ -1 +1 @@
MANIFEST-000128
MANIFEST-000164

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:47.117841 7fa55e7fc6c0 Recovering log #162
2023/08/30-20:10:47.323059 7fa55e7fc6c0 Delete type=3 #160
2023/08/30-20:10:47.323156 7fa55e7fc6c0 Delete type=0 #162
2023/08/30-20:19:02.780276 7fa55d3ff6c0 Level-0 table #167: started
2023/08/30-20:19:02.780299 7fa55d3ff6c0 Level-0 table #167: 0 bytes OK
2023/08/30-20:19:02.786823 7fa55d3ff6c0 Delete type=0 #165
2023/08/30-20:19:02.807165 7fa55d3ff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.807232 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.658402 7fa55e7fc6c0 Recovering log #158
2023/08/30-17:17:42.678153 7fa55e7fc6c0 Delete type=3 #156
2023/08/30-17:17:42.678218 7fa55e7fc6c0 Delete type=0 #158
2023/08/30-17:20:34.680709 7fa55d3ff6c0 Level-0 table #163: started
2023/08/30-17:20:34.680731 7fa55d3ff6c0 Level-0 table #163: 0 bytes OK
2023/08/30-17:20:34.687119 7fa55d3ff6c0 Delete type=0 #161
2023/08/30-17:20:34.693978 7fa55d3ff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.706140 7fa55d3ff6c0 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-000130
MANIFEST-000166

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:46.913567 7fa55effd6c0 Recovering log #164
2023/08/30-20:10:47.085816 7fa55effd6c0 Delete type=3 #162
2023/08/30-20:10:47.085887 7fa55effd6c0 Delete type=0 #164
2023/08/30-20:19:02.772964 7fa55d3ff6c0 Level-0 table #169: started
2023/08/30-20:19:02.773053 7fa55d3ff6c0 Level-0 table #169: 0 bytes OK
2023/08/30-20:19:02.779629 7fa55d3ff6c0 Delete type=0 #167
2023/08/30-20:19:02.780116 7fa55d3ff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.780129 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.644053 7fa55f7fe6c0 Recovering log #160
2023/08/30-17:17:42.654259 7fa55f7fe6c0 Delete type=3 #158
2023/08/30-17:17:42.654538 7fa55f7fe6c0 Delete type=0 #160
2023/08/30-17:20:34.652977 7fa55d3ff6c0 Level-0 table #165: started
2023/08/30-17:20:34.653019 7fa55d3ff6c0 Level-0 table #165: 0 bytes OK
2023/08/30-17:20:34.659536 7fa55d3ff6c0 Delete type=0 #163
2023/08/30-17:20:34.659715 7fa55d3ff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.659733 7fa55d3ff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000121
MANIFEST-000158

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:47.287095 7fa55f7fe6c0 Recovering log #156
2023/08/30-20:10:47.496255 7fa55f7fe6c0 Delete type=3 #154
2023/08/30-20:10:47.496306 7fa55f7fe6c0 Delete type=0 #156
2023/08/30-20:19:02.786933 7fa55d3ff6c0 Level-0 table #161: started
2023/08/30-20:19:02.786958 7fa55d3ff6c0 Level-0 table #161: 0 bytes OK
2023/08/30-20:19:02.793209 7fa55d3ff6c0 Delete type=0 #159
2023/08/30-20:19:02.807175 7fa55d3ff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.807218 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.680473 7fa55effd6c0 Recovering log #152
2023/08/30-17:17:42.696562 7fa55effd6c0 Delete type=3 #150
2023/08/30-17:17:42.696621 7fa55effd6c0 Delete type=0 #152
2023/08/30-17:20:34.706161 7fa55d3ff6c0 Level-0 table #157: started
2023/08/30-17:20:34.706183 7fa55d3ff6c0 Level-0 table #157: 0 bytes OK
2023/08/30-17:20:34.712608 7fa55d3ff6c0 Delete type=0 #155
2023/08/30-17:20:34.726643 7fa55d3ff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.726673 7fa55d3ff6c0 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-000128
MANIFEST-000164

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:47.325002 7fa55effd6c0 Recovering log #162
2023/08/30-20:10:47.532075 7fa55effd6c0 Delete type=3 #160
2023/08/30-20:10:47.532180 7fa55effd6c0 Delete type=0 #162
2023/08/30-20:19:02.800848 7fa55d3ff6c0 Level-0 table #167: started
2023/08/30-20:19:02.800897 7fa55d3ff6c0 Level-0 table #167: 0 bytes OK
2023/08/30-20:19:02.807064 7fa55d3ff6c0 Delete type=0 #165
2023/08/30-20:19:02.807205 7fa55d3ff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.807225 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.680933 7fa55dffb6c0 Recovering log #158
2023/08/30-17:17:42.699576 7fa55dffb6c0 Delete type=3 #156
2023/08/30-17:17:42.699635 7fa55dffb6c0 Delete type=0 #158
2023/08/30-17:20:34.719643 7fa55d3ff6c0 Level-0 table #163: started
2023/08/30-17:20:34.719703 7fa55d3ff6c0 Level-0 table #163: 0 bytes OK
2023/08/30-17:20:34.726540 7fa55d3ff6c0 Delete type=0 #161
2023/08/30-17:20:34.726665 7fa55d3ff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.726679 7fa55d3ff6c0 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-000164 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000129
MANIFEST-000166

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:47.089737 7fa55dffb6c0 Recovering log #163
2023/08/30-20:10:47.283952 7fa55dffb6c0 Delete type=3 #161
2023/08/30-20:10:47.284018 7fa55dffb6c0 Delete type=0 #163
2023/08/30-20:19:02.793322 7fa55d3ff6c0 Level-0 table #169: started
2023/08/30-20:19:02.793349 7fa55d3ff6c0 Level-0 table #169: 0 bytes OK
2023/08/30-20:19:02.800604 7fa55d3ff6c0 Delete type=0 #167
2023/08/30-20:19:02.807184 7fa55d3ff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.807212 7fa55d3ff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,15 @@
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)
2023/08/30-17:17:42.658365 7fa55effd6c0 Recovering log #159
2023/08/30-17:17:42.675069 7fa55effd6c0 Delete type=3 #157
2023/08/30-17:17:42.675219 7fa55effd6c0 Delete type=0 #159
2023/08/30-17:20:34.670106 7fa55d3ff6c0 Level-0 table #164: started
2023/08/30-17:20:34.673725 7fa55d3ff6c0 Level-0 table #164: 18207 bytes OK
2023/08/30-17:20:34.680563 7fa55d3ff6c0 Delete type=0 #162
2023/08/30-17:20:34.693950 7fa55d3ff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.694048 7fa55d3ff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at '!items!zpF2QY4tx7qdBomQ' @ 109 : 1
2023/08/30-17:20:34.694069 7fa55d3ff6c0 Compacting 1@1 + 1@2 files
2023/08/30-17:20:34.699691 7fa55d3ff6c0 Generated table #165@1: 51 keys, 68929 bytes
2023/08/30-17:20:34.699708 7fa55d3ff6c0 Compacted 1@1 + 1@2 files => 68929 bytes
2023/08/30-17:20:34.705867 7fa55d3ff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2023/08/30-17:20:34.705956 7fa55d3ff6c0 Delete type=2 #62
2023/08/30-17:20:34.706078 7fa55d3ff6c0 Delete type=2 #164
2023/08/30-17:20:34.712776 7fa55d3ff6c0 Manual compaction at level-1 from '!items!zpF2QY4tx7qdBomQ' @ 109 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000128
MANIFEST-000166

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:46.913667 7fa55f7fe6c0 Recovering log #164
2023/08/30-20:10:47.114760 7fa55f7fe6c0 Delete type=3 #162
2023/08/30-20:10:47.114894 7fa55f7fe6c0 Delete type=0 #164
2023/08/30-20:19:02.757545 7fa55d3ff6c0 Level-0 table #169: started
2023/08/30-20:19:02.757594 7fa55d3ff6c0 Level-0 table #169: 0 bytes OK
2023/08/30-20:19:02.765676 7fa55d3ff6c0 Delete type=0 #167
2023/08/30-20:19:02.780087 7fa55d3ff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.780123 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.644052 7fa55e7fc6c0 Recovering log #160
2023/08/30-17:17:42.654264 7fa55e7fc6c0 Delete type=3 #158
2023/08/30-17:17:42.654371 7fa55e7fc6c0 Delete type=0 #160
2023/08/30-17:20:34.687213 7fa55d3ff6c0 Level-0 table #165: started
2023/08/30-17:20:34.687246 7fa55d3ff6c0 Level-0 table #165: 0 bytes OK
2023/08/30-17:20:34.693666 7fa55d3ff6c0 Delete type=0 #163
2023/08/30-17:20:34.694011 7fa55d3ff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.706151 7fa55d3ff6c0 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.

View File

@ -1 +1 @@
MANIFEST-000128
MANIFEST-000164

View File

@ -1,8 +1,8 @@
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)
2023/08/30-20:10:47.498427 7fa55dffb6c0 Recovering log #162
2023/08/30-20:10:47.619622 7fa55dffb6c0 Delete type=3 #160
2023/08/30-20:10:47.619685 7fa55dffb6c0 Delete type=0 #162
2023/08/30-20:19:02.807339 7fa55d3ff6c0 Level-0 table #167: started
2023/08/30-20:19:02.807359 7fa55d3ff6c0 Level-0 table #167: 0 bytes OK
2023/08/30-20:19:02.814782 7fa55d3ff6c0 Delete type=0 #165
2023/08/30-20:19:02.814992 7fa55d3ff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/30-20:19:02.815017 7fa55d3ff6c0 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-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)
2023/08/30-17:17:42.701619 7fa55dffb6c0 Recovering log #158
2023/08/30-17:17:42.712665 7fa55dffb6c0 Delete type=3 #156
2023/08/30-17:17:42.712739 7fa55dffb6c0 Delete type=0 #158
2023/08/30-17:20:34.712796 7fa55d3ff6c0 Level-0 table #163: started
2023/08/30-17:20:34.712855 7fa55d3ff6c0 Level-0 table #163: 0 bytes OK
2023/08/30-17:20:34.719473 7fa55d3ff6c0 Delete type=0 #161
2023/08/30-17:20:34.726655 7fa55d3ff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/30-17:20:34.726714 7fa55d3ff6c0 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

@ -821,10 +821,13 @@ ul, li {
.roll-dialog-header {
height: 52px;
}
.dialog-roll-title {
margin-left: 8px;
}
.actor-icon {
float: left;
width: 48px;
max-width: 48px;
height: 48px;
padding: 2px 6px 2px 2px;
}

View File

@ -9,7 +9,7 @@
"esmodules": [
"modules/hero6-main.js"
],
"gridDistance": 5,
"gridDistance": 2,
"gridUnits": "m",
"languages": [
{
@ -91,14 +91,14 @@
"styles": [
"styles/simple.css"
],
"version": "11.0.17",
"version": "11.0.21",
"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.17.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.21.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

@ -1,9 +1,11 @@
<form class="skill-roll-dialog">
<header class="roll-dialog-header">
{{#if img}}
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
{{/if}}
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
<div class="flexrow">
{{#if img}}
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
{{/if}}
<h2 class="dialog-roll-title roll-dialog-header">{{title}}</h2>
</div>
</header>
<div class="flexcol">
@ -15,24 +17,25 @@
</div>
{{/if}}
{{#if weapon}}
{{#if (eq subMode "ocv")}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{weapon.name}} : </span>
<span class="item-field-label-medium margin-item-list">{{weaponRoll}}-</span>
<span class="item-field-label-long margin-item-list">OCV : </span>
<span class="item-field-label-medium margin-item-list">{{characteristics.ocv.value}}</span>
</div>
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{upperFirst item.type}} OCV : </span>
<span class="item-field-label-medium margin-item-list">{{fixNum item.system.ocv}}</span>
</div>
{{/if}}
{{#if maneuver}}
{{#if (eq subMode "omcv")}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{maneuver.name}} : </span>
<span class="item-field-label-medium margin-item-list">{{maneuverRoll}}-</span>
<span class="item-field-label-long margin-item-list">OMCV : </span>
<span class="item-field-label-medium margin-item-list">{{characteristics.omcv.value}}</span>
</div>
{{/if}}
{{#if power}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{power.name}} : </span>
<span class="item-field-label-medium margin-item-list">{{powerRoll}}-</span>
<span class="item-field-label-long margin-item-list">{{upperFirst item.type}} OMCV : </span>
<span class="item-field-label-medium margin-item-list">{{fixNum item.system.omcv}}</span>
</div>
{{/if}}

View File

@ -15,20 +15,25 @@
<li>Name : {{title}}</li>
<li>Damage Effect: {{upperFirst item.system.damageeffect}}</li>
<li>Damage formula : {{diceFormula}}</li>
<li><strong>TOTAL : {{result}}</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>Total formula : {{result}}</strong></li>
{{#if (eq item.system.damageeffect "normal")}}
<li><strong>BODY : {{bodyValue}}</strong></li>
{{/if}}
{{#if (eq item.system.damageeffect "killing")}}
<li><strong>1d3 result + STUNx : {{killingMultiplier}} + {{item.system.stunx}} = {{add killingMultiplier item.system.stunx}}</strong></li>
<li><strong>STUN : {{stunValue}}</strong></li>
<li><strong>BODY : {{result}}</strong></li>
<li><strong>Penetrating 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>
<li><strong>BODY : {{bodyValue}}</strong></li>
{{/if}}
</ul>

View File

@ -57,7 +57,7 @@
<li><strong>TOTAL : {{result}}</strong>
{{#if (exists margin)}}
({{#if isSuccess}}Success!!{{else}}Failure!{{/if}})
(<strong>{{#if isSuccess}}Success!!{{else}}Failure!{{/if}}</strong>)
{{/if}}
</li>
@ -66,7 +66,15 @@
{{/if}}
{{#if (exists margin)}}
<li><strong>Margin : {{margin}}</strong>
{{#if (eq subMode "normal")}}
<li><strong>Margin : {{margin}}</strong>
{{/if}}
{{#if (eq subMode "ocv")}}
<li><strong>Margin (DCV Hit): {{margin}}</strong>
{{/if}}
{{#if (eq subMode "omcv")}}
<li><strong>Margin (DMCV Hit): {{margin}}</strong>
{{/if}}
{{/if}}
</ul>