Compare commits

..

14 Commits

62 changed files with 422 additions and 257 deletions

View File

@ -2,8 +2,18 @@ This is the official Hero System 6th Edition game system for FoundryVTT, based o
The Hero System game system is not usable standalone. To play this game you need a copy of the core rulebook.
It features :
- PC/NPC sheets
- Roll management and associated helpers
- Segment and Turn management in the combat tracker
- Official compendiums
![Snapshot](https://www.lahiette.com/leratierbretonnien/wp-content/uploads/2023/08/hero6_snapshot_02.webp "Snapshot")
Installation
Manifest URL: https://github.com/Legendsmiths-LLC/
Manifest URL: https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/master/system.json
Project page : https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6
For manual installation, use the provided manifest URL in the "Install System" popup window while managing game systems.

9
changelog.md Normal file
View File

@ -0,0 +1,9 @@
v11.0.15
- Fix target rolls for power
- Add maneuvers roll in the maneuver tab
- Renamed title
v11.0.14
- Initial public release

View File

@ -162,13 +162,19 @@ export class Hero6ActorSheet extends ActorSheet {
html.find('.roll-perception').click((event) => {
this.actor.rollPerception("int");
});
html.find('.roll-weapon').click((event) => {
const li = $(event.currentTarget).parents(".item")
this.actor.rollWeapon(li.data("item-id"));
});
html.find('.roll-power-attack').click((event) => {
const li = $(event.currentTarget).parents(".item")
this.actor.rollPowerAttack(li.data("item-id"));
});
html.find('.roll-direct').click((event) => {
const rollFormula = $(event.currentTarget).data("roll-formula")
const rollSource = $(event.currentTarget).data("roll-source")
Hero6Utility.processDirectRoll( { actorId: this.actor.id, rollFormula: rollFormula, rollSource: rollSource, mode:"directroll"} )
});
});
html.find('.roll-item').click((event) => {
const li = $(event.currentTarget).parents(".item");
let itemId = li.data("item-id")
@ -184,16 +190,6 @@ export class Hero6ActorSheet extends ActorSheet {
let itemId = li.data("item-id")
this.actor.rollLiftDice(itemId);
});
html.find('.roll-weapon').click((event) => {
const li = $(event.currentTarget).parents(".item");
const skillId = li.data("item-id")
this.actor.rollWeapon(skillId)
});
html.find('.roll-maneuver').click((event) => {
const li = $(event.currentTarget).parents(".item");
const maneuverId = li.data("maneuver-id")
this.actor.rollManeuver(maneuverId)
});
html.find('.hold-action').click((event) => {
this.actor.holdAction()

View File

@ -224,12 +224,20 @@ export class Hero6Actor extends Actor {
/* -------------------------------------------- */
prepareManeuver(maneuver) {
maneuver.roll = 11 + this.system.characteristics.ocv.value
if (Number(maneuver.system.ocv)) {
maneuver.roll += Number(maneuver.system.ocv)
if (maneuver.system.maneuvertype == "mental") {
maneuver.roll = 11 + this.system.characteristics.omcv.value
if (Number(maneuver.system.omcv)) {
maneuver.roll += Number(maneuver.system.omcv)
} else {
maneuver.noOMCV = true
}
} else {
maneuver.noOCV = true
maneuver.roll = 11 + this.system.characteristics.ocv.value
if (Number(maneuver.system.ocv)) {
maneuver.roll += Number(maneuver.system.ocv)
} else {
maneuver.noOCV = true
}
}
}
@ -304,11 +312,13 @@ export class Hero6Actor extends Actor {
let maneuvers = {
general: this.items.filter(item => item.type == "maneuver" && item.system.maneuvertype == "general"),
offensive: this.items.filter(item => item.type == "maneuver" && item.system.maneuvertype == "offensive"),
defensive: this.items.filter(item => item.type == "maneuver" && item.system.maneuvertype == "defensive")
defensive: this.items.filter(item => item.type == "maneuver" && item.system.maneuvertype == "defensive"),
mental: this.items.filter(item => item.type == "maneuver" && item.system.maneuvertype == "mental")
}
Hero6Utility.sortArrayObjectsByName(maneuvers.general)
Hero6Utility.sortArrayObjectsByName(maneuvers.offensive)
Hero6Utility.sortArrayObjectsByName(maneuvers.defensive)
Hero6Utility.sortArrayObjectsByName(maneuvers.mental)
return maneuvers
}
getAllManeuvers() {
@ -743,28 +753,6 @@ export class Hero6Actor extends Actor {
console.log("Rolldata result", rollData)
}
/* -------------------------------------------- */
rollManeuver(maneuverId) {
let skill = this.items.get(skillId)
if (skill) {
if (skill.system.islore && skill.system.level == 0) {
ui.notifications.warn("You can't use Lore Skills with a SL of 0.")
return
}
skill = duplicate(skill)
Hero6Utility.updateSkill(skill)
let abilityKey = skill.system.ability
let rollData = this.getCommonRollData(abilityKey)
rollData.mode = "skill"
rollData.skill = skill
rollData.img = skill.img
if (rollData.target) {
ui.notifications.warn("You are targetting a token with a skill : please use a Weapon instead.")
return
}
this.startRoll(rollData)
}
}
/* -------------------------------------------- */
rollSkill(skillId) {
let skill = this.items.get(skillId)
if (skill) {
@ -788,34 +776,54 @@ export class Hero6Actor extends Actor {
}
/* -------------------------------------------- */
rollWeapon(weaponId) {
async rollWeapon(weaponId) {
let weapon = this.items.get(weaponId)
if (weapon) {
weapon = duplicate(weapon)
let skill = this.items.find(item => item.name.toLowerCase() == weapon.system.skill.toLowerCase())
if (skill) {
skill = duplicate(skill)
Hero6Utility.updateSkill(skill)
let abilityKey = skill.system.ability
let rollData = this.getCommonRollData(abilityKey)
rollData.mode = "weapon"
rollData.skill = skill
rollData.weapon = weapon
rollData.img = weapon.img
if (!rollData.forceDisadvantage) { // This is an attack, check if disadvantaged
rollData.forceDisadvantage = this.isAttackDisadvantage()
}
/*if (rollData.weapon.system.isranged && rollData.tokensDistance > Hero6Utility.getWeaponMaxRange(rollData.weapon) ) {
ui.notifications.warn(`Your target is out of range of your weapon (max: ${Hero6Utility.getWeaponMaxRange(rollData.weapon)} - current : ${rollData.tokensDistance})` )
return
}*/
this.startRoll(rollData)
} else {
ui.notifications.warn("Unable to find the relevant skill for weapon " + weapon.name)
}
let rollData = this.getCommonRollData()
rollData.weaponRoll = 11 + this.system.characteristics.ocv.value + (Number(weapon.system.ocv) || 0)
rollData.mode = "weapon"
rollData.weapon = weapon
rollData.img = weapon.img
this.startRoll(rollData)
} else {
ui.notifications.warn("Unable to find the weapon " + weapon.name)
}
}
/* -------------------------------------------- */
rollMentalManeuver(maneuverId) {
let maneuver = this.items.get(maneuverId)
if (maneuver) {
maneuver = duplicate(maneuver)
let rollData = this.getCommonRollData()
rollData.maneuverRoll = 11 + this.system.characteristics.omcv.value + (Number(maneuver.system.omcv) || 0)
rollData.mode = "mentalmaneuver"
rollData.maneuver = maneuver
rollData.img = maneuver.img
this.startRoll(rollData)
} else {
ui.notifications.warn("Unable to find the maneuver " + maneuver.name)
}
}
/* -------------------------------------------- */
rollPowerAttack(powerId ) {
let power = this.items.get(powerId)
if (power) {
power = duplicate(power)
let rollData = this.getCommonRollData()
if (power.system.attackvalue == "ocv") {
rollData.powerRoll = 11 + this.system.characteristics.ocv.value + (Number(power.system.ocv) || 0)
} else {
rollData.powerRoll = 11 + this.system.characteristics.omcv.value + (Number(power.system.omcv) || 0)
}
rollData.mode = "powerattack"
rollData.power = power
rollData.img = power.img
this.startRoll(rollData)
} else {
ui.notifications.warn("Unable to find power " + power.name)
}
}
/* -------------------------------------------- */
async startRoll(rollData) {
let rollDialog = await Hero6RollDialog.create(this, rollData)

View File

@ -10,7 +10,8 @@ export const Hero6_CONFIG = {
maneuverTypes: {
"general": "General",
"offensive": "Offensive",
"defensive": "Defensive"
"defensive": "Defensive",
"mental": "Mental"
},
rollCharac : {
"str": "Strength",
@ -29,6 +30,10 @@ export const Hero6_CONFIG = {
"combat": "Combat" ,
"custom": "Custom"
},
attackTypes: {
"ocv": "OCV",
"omcv": "OMCV"
},
powerEquipmentType: {
"adjustment": "Adjustment",
"mental": "Mental",

View File

@ -52,6 +52,9 @@ export class Hero6Utility {
}
return false
})
Handlebars.registerHelper('fixNum', function (value) {
return Number(value) || 0
})
Handlebars.registerHelper('checkInit', function (value) {
let myValue = Number(value) || 0
return myValue > 0
@ -343,6 +346,16 @@ export class Hero6Utility {
// ability/save/size => 0
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
}

View File

@ -1 +1 @@
MANIFEST-000086
MANIFEST-000116

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.426826 7fab4a7fc6c0 Recovering log #84
2023/08/24-15:57:43.443955 7fab4a7fc6c0 Delete type=3 #82
2023/08/24-15:57:43.444078 7fab4a7fc6c0 Delete type=0 #84
2023/08/24-15:59:12.025522 7fab497fa6c0 Level-0 table #89: started
2023/08/24-15:59:12.025554 7fab497fa6c0 Level-0 table #89: 0 bytes OK
2023/08/24-15:59:12.034739 7fab497fa6c0 Delete type=0 #87
2023/08/24-15:59:12.043415 7fab497fa6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.050747 7fab497fa6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.481365 7fab4affd6c0 Recovering log #80
2023/08/24-15:09:37.498302 7fab4affd6c0 Delete type=3 #78
2023/08/24-15:09:37.498430 7fab4affd6c0 Delete type=0 #80
2023/08/24-15:56:20.984607 7fab497fa6c0 Level-0 table #85: started
2023/08/24-15:56:20.984638 7fab497fa6c0 Level-0 table #85: 0 bytes OK
2023/08/24-15:56:21.004254 7fab497fa6c0 Delete type=0 #83
2023/08/24-15:56:21.036183 7fab497fa6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.036267 7fab497fa6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.658202 7f2deaffd6c0 Recovering log #110
2023/08/26-05:35:25.710452 7f2deaffd6c0 Delete type=3 #108
2023/08/26-05:35:25.710513 7f2deaffd6c0 Delete type=0 #110
2023/08/26-05:36:09.833813 7f2b69bff6c0 Level-0 table #115: started
2023/08/26-05:36:09.833846 7f2b69bff6c0 Level-0 table #115: 0 bytes OK
2023/08/26-05:36:09.840534 7f2b69bff6c0 Delete type=0 #113
2023/08/26-05:36:09.847596 7f2b69bff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.847688 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.

Binary file not shown.

BIN
packs/equipment/000099.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000086
MANIFEST-000118

View File

@ -1,7 +1,8 @@
2023/08/24-15:57:43.392816 7fab4a7fc6c0 Recovering log #84
2023/08/24-15:57:43.403164 7fab4a7fc6c0 Delete type=3 #82
2023/08/24-15:57:43.403305 7fab4a7fc6c0 Delete type=0 #84
2023/08/24-15:59:11.970493 7fab497fa6c0 Level-0 table #89: started
2023/08/24-15:59:11.975508 7fab497fa6c0 Level-0 table #89: 60925 bytes OK
2023/08/24-15:59:11.983493 7fab497fa6c0 Delete type=0 #87
2023/08/24-15:59:11.983701 7fab497fa6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
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)

View File

@ -1,7 +1,8 @@
2023/08/24-15:09:37.452353 7fab4a7fc6c0 Recovering log #80
2023/08/24-15:09:37.462753 7fab4a7fc6c0 Delete type=3 #78
2023/08/24-15:09:37.462881 7fab4a7fc6c0 Delete type=0 #80
2023/08/24-15:56:20.961121 7fab497fa6c0 Level-0 table #85: started
2023/08/24-15:56:20.961152 7fab497fa6c0 Level-0 table #85: 0 bytes OK
2023/08/24-15:56:20.975996 7fab497fa6c0 Delete type=0 #83
2023/08/24-15:56:20.984441 7fab497fa6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.591750 7f2dea7fc6c0 Recovering log #112
2023/08/26-05:35:25.654891 7f2dea7fc6c0 Delete type=3 #110
2023/08/26-05:35:25.654982 7f2dea7fc6c0 Delete type=0 #112
2023/08/26-05:36:09.796628 7f2b69bff6c0 Level-0 table #117: started
2023/08/26-05:36:09.796668 7f2b69bff6c0 Level-0 table #117: 0 bytes OK
2023/08/26-05:36:09.803598 7f2b69bff6c0 Delete type=0 #115
2023/08/26-05:36:09.820108 7f2b69bff6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.820164 7f2b69bff6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000078
MANIFEST-000108

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.429828 7fab4affd6c0 Recovering log #76
2023/08/24-15:57:43.446896 7fab4affd6c0 Delete type=3 #74
2023/08/24-15:57:43.447172 7fab4affd6c0 Delete type=0 #76
2023/08/24-15:59:12.034912 7fab497fa6c0 Level-0 table #81: started
2023/08/24-15:59:12.034942 7fab497fa6c0 Level-0 table #81: 0 bytes OK
2023/08/24-15:59:12.043249 7fab497fa6c0 Delete type=0 #79
2023/08/24-15:59:12.050726 7fab497fa6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.061166 7fab497fa6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.482662 7fab4a7fc6c0 Recovering log #72
2023/08/24-15:09:37.501124 7fab4a7fc6c0 Delete type=3 #70
2023/08/24-15:09:37.501198 7fab4a7fc6c0 Delete type=0 #72
2023/08/24-15:56:21.025251 7fab497fa6c0 Level-0 table #77: started
2023/08/24-15:56:21.025279 7fab497fa6c0 Level-0 table #77: 0 bytes OK
2023/08/24-15:56:21.035977 7fab497fa6c0 Delete type=0 #75
2023/08/24-15:56:21.036255 7fab497fa6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.036299 7fab497fa6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.713305 7f2debfff6c0 Recovering log #102
2023/08/26-05:35:25.813680 7f2debfff6c0 Delete type=3 #100
2023/08/26-05:35:25.813733 7f2debfff6c0 Delete type=0 #102
2023/08/26-05:36:09.827049 7f2b69bff6c0 Level-0 table #107: started
2023/08/26-05:36:09.827083 7f2b69bff6c0 Level-0 table #107: 0 bytes OK
2023/08/26-05:36:09.833693 7f2b69bff6c0 Delete type=0 #105
2023/08/26-05:36:09.847570 7f2b69bff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.847666 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-000086
MANIFEST-000116

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.446370 7fab4b7fe6c0 Recovering log #84
2023/08/24-15:57:43.467824 7fab4b7fe6c0 Delete type=3 #82
2023/08/24-15:57:43.467983 7fab4b7fe6c0 Delete type=0 #84
2023/08/24-15:59:12.043433 7fab497fa6c0 Level-0 table #89: started
2023/08/24-15:59:12.043465 7fab497fa6c0 Level-0 table #89: 0 bytes OK
2023/08/24-15:59:12.050553 7fab497fa6c0 Delete type=0 #87
2023/08/24-15:59:12.061148 7fab497fa6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.061195 7fab497fa6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.503412 7fab49ffb6c0 Recovering log #80
2023/08/24-15:09:37.513092 7fab49ffb6c0 Delete type=3 #78
2023/08/24-15:09:37.513145 7fab49ffb6c0 Delete type=0 #80
2023/08/24-15:56:21.036405 7fab497fa6c0 Level-0 table #85: started
2023/08/24-15:56:21.036438 7fab497fa6c0 Level-0 table #85: 0 bytes OK
2023/08/24-15:56:21.043227 7fab497fa6c0 Delete type=0 #83
2023/08/24-15:56:21.050837 7fab497fa6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.050878 7fab497fa6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.714189 7f2deaffd6c0 Recovering log #110
2023/08/26-05:35:25.838791 7f2deaffd6c0 Delete type=3 #108
2023/08/26-05:35:25.838847 7f2deaffd6c0 Delete type=0 #110
2023/08/26-05:36:09.840742 7f2b69bff6c0 Level-0 table #115: started
2023/08/26-05:36:09.840802 7f2b69bff6c0 Level-0 table #115: 0 bytes OK
2023/08/26-05:36:09.847326 7f2b69bff6c0 Delete type=0 #113
2023/08/26-05:36:09.847619 7f2b69bff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.847709 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-000116 Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000087
MANIFEST-000117

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.407202 7fab49ffb6c0 Recovering log #85
2023/08/24-15:57:43.427049 7fab49ffb6c0 Delete type=3 #83
2023/08/24-15:57:43.427316 7fab49ffb6c0 Delete type=0 #85
2023/08/24-15:59:12.015422 7fab497fa6c0 Level-0 table #90: started
2023/08/24-15:59:12.015449 7fab497fa6c0 Level-0 table #90: 0 bytes OK
2023/08/24-15:59:12.025372 7fab497fa6c0 Delete type=0 #88
2023/08/24-15:59:12.034884 7fab497fa6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.043399 7fab497fa6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.467214 7fab4affd6c0 Recovering log #81
2023/08/24-15:09:37.477623 7fab4affd6c0 Delete type=3 #79
2023/08/24-15:09:37.477717 7fab4affd6c0 Delete type=0 #81
2023/08/24-15:56:21.004538 7fab497fa6c0 Level-0 table #86: started
2023/08/24-15:56:21.004618 7fab497fa6c0 Level-0 table #86: 0 bytes OK
2023/08/24-15:56:21.015089 7fab497fa6c0 Delete type=0 #84
2023/08/24-15:56:21.036218 7fab497fa6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.036277 7fab497fa6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.658202 7f2deb7fe6c0 Recovering log #111
2023/08/26-05:35:25.710453 7f2deb7fe6c0 Delete type=3 #109
2023/08/26-05:35:25.710530 7f2deb7fe6c0 Delete type=0 #111
2023/08/26-05:36:09.820280 7f2b69bff6c0 Level-0 table #116: started
2023/08/26-05:36:09.820311 7f2b69bff6c0 Level-0 table #116: 0 bytes OK
2023/08/26-05:36:09.826570 7f2b69bff6c0 Delete type=0 #114
2023/08/26-05:36:09.847536 7f2b69bff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.847643 7f2b69bff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000086
MANIFEST-000116

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.407080 7fab4b7fe6c0 Recovering log #84
2023/08/24-15:57:43.424160 7fab4b7fe6c0 Delete type=3 #82
2023/08/24-15:57:43.424263 7fab4b7fe6c0 Delete type=0 #84
2023/08/24-15:59:12.004782 7fab497fa6c0 Level-0 table #89: started
2023/08/24-15:59:12.004875 7fab497fa6c0 Level-0 table #89: 0 bytes OK
2023/08/24-15:59:12.015289 7fab497fa6c0 Delete type=0 #87
2023/08/24-15:59:12.025509 7fab497fa6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.034900 7fab497fa6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.467211 7fab49ffb6c0 Recovering log #80
2023/08/24-15:09:37.477838 7fab49ffb6c0 Delete type=3 #78
2023/08/24-15:09:37.477960 7fab49ffb6c0 Delete type=0 #80
2023/08/24-15:56:21.015243 7fab497fa6c0 Level-0 table #85: started
2023/08/24-15:56:21.015280 7fab497fa6c0 Level-0 table #85: 0 bytes OK
2023/08/24-15:56:21.025027 7fab497fa6c0 Delete type=0 #83
2023/08/24-15:56:21.036234 7fab497fa6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.036287 7fab497fa6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.591750 7f2deaffd6c0 Recovering log #110
2023/08/26-05:35:25.654890 7f2deaffd6c0 Delete type=3 #108
2023/08/26-05:35:25.654974 7f2deaffd6c0 Delete type=0 #110
2023/08/26-05:36:09.813203 7f2b69bff6c0 Level-0 table #115: started
2023/08/26-05:36:09.813236 7f2b69bff6c0 Level-0 table #115: 0 bytes OK
2023/08/26-05:36:09.819942 7f2b69bff6c0 Delete type=0 #113
2023/08/26-05:36:09.820154 7f2b69bff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.820177 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.

View File

@ -1 +1 @@
MANIFEST-000086
MANIFEST-000116

View File

@ -1,8 +1,8 @@
2023/08/24-15:57:43.449295 7fab49ffb6c0 Recovering log #84
2023/08/24-15:57:43.472616 7fab49ffb6c0 Delete type=3 #82
2023/08/24-15:57:43.472750 7fab49ffb6c0 Delete type=0 #84
2023/08/24-15:59:12.050764 7fab497fa6c0 Level-0 table #89: started
2023/08/24-15:59:12.050797 7fab497fa6c0 Level-0 table #89: 0 bytes OK
2023/08/24-15:59:12.061012 7fab497fa6c0 Delete type=0 #87
2023/08/24-15:59:12.061182 7fab497fa6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/24-15:59:12.061222 7fab497fa6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
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)

View File

@ -1,8 +1,8 @@
2023/08/24-15:09:37.503990 7fab4a7fc6c0 Recovering log #80
2023/08/24-15:09:37.556979 7fab4a7fc6c0 Delete type=3 #78
2023/08/24-15:09:37.557041 7fab4a7fc6c0 Delete type=0 #80
2023/08/24-15:56:21.043382 7fab497fa6c0 Level-0 table #85: started
2023/08/24-15:56:21.043416 7fab497fa6c0 Level-0 table #85: 0 bytes OK
2023/08/24-15:56:21.050692 7fab497fa6c0 Delete type=0 #83
2023/08/24-15:56:21.050866 7fab497fa6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/24-15:56:21.050889 7fab497fa6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-05:35:25.815813 7f2deb7fe6c0 Recovering log #110
2023/08/26-05:35:25.893020 7f2deb7fe6c0 Delete type=3 #108
2023/08/26-05:35:25.893112 7f2deb7fe6c0 Delete type=0 #110
2023/08/26-05:36:09.847777 7f2b69bff6c0 Level-0 table #115: started
2023/08/26-05:36:09.847839 7f2b69bff6c0 Level-0 table #115: 0 bytes OK
2023/08/26-05:36:09.855108 7f2b69bff6c0 Delete type=0 #113
2023/08/26-05:36:09.855336 7f2b69bff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
2023/08/26-05:36:09.855380 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

@ -649,6 +649,11 @@ ul, li {
align-content: center;
}
.content-center {
align-content: center;
text-align: center;
}
.attribut-value,
.carac-value {
flex-grow: 0;
@ -1435,4 +1440,7 @@ Focus FOC: #ff0084
.maneuver-is-stock {
display: none;
visibility: hidden;
}
}
.compendium .directory-list .directory-item .folder-header h3 {
color:#000
}

View File

@ -5,7 +5,7 @@
"flags": {}
}
],
"description": "Hero System v6 for FoundryVTT (Official)",
"description": "Hero System 6E for FoundryVTT (Official)",
"esmodules": [
"modules/hero6-main.js"
],
@ -91,15 +91,15 @@
"styles": [
"styles/simple.css"
],
"version": "11.0.10",
"version": "11.0.16",
"compatibility": {
"minimum": "11",
"verified": "11"
},
"title": "Hero System v6 for FoundrtVTT (Official)",
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v11.0.10.zip",
"url": "https://www.uberwald.me/gitea/uberwald/",
"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",
"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

@ -357,6 +357,7 @@
"damage": "",
"endurance": 0,
"hasroll": false,
"attackvalue": "ocv",
"roll": 0,
"computebody": false,
"haseffectroll": false,
@ -375,6 +376,8 @@
"pha": "",
"ocv": "",
"dcv" : "",
"omcv": "",
"dmcv" : "",
"isstock": false,
"active": false
},

View File

@ -149,21 +149,32 @@
</li>
</ul>
{{#each maneuvers as |mlist key|}}
{{#each maneuvers as |mlist mtype|}}
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-field-label-long-img">
<label class="">{{upperFirst key}} Maneuver</label>
<label class="">{{upperFirst mtype}} Maneuver</label>
</span>
<span class="item-field-label-very-short">
<label class="short-label">PHA</label>
</span>
{{#if (eq mtype "mental")}}
<span class="item-field-label-very-short">
<label class="short-label">OMCV</label>
</span>
<span class="item-field-label-very-short">
<label class="short-label">DMCV</label>
</span>
{{else}}
<span class="item-field-label-very-short">
<label class="short-label">OCV</label>
</span>
<span class="item-field-label-very-short">
<label class="short-label">DCV</label>
</span>
{{/if}}
<span class="item-field-text-long">
<label class="short-label">Effects</label>
</span>
@ -175,10 +186,15 @@
<a class="roll-item"><i class="fas fa-dice"></i></a><span class="item-field-label-long">{{maneuver.name}}
</span>
<span class="item-field-label-very-short">{{maneuver.system.pha}}</span>
<span class="item-field-label-very-short">{{maneuver.system.ocv}}</span>
<span class="item-field-label-very-short">{{maneuver.system.dcv}}</span>
<span class="item-field-label-very-short content-center">{{maneuver.system.pha}}</span>
{{#if (eq ../mtype "mental")}}
<span class="item-field-label-very-short content-center">{{maneuver.system.omcv}}</span>
<span class="item-field-label-very-short content-center">{{maneuver.system.dmcv}}</span>
{{else}}
<span class="item-field-label-very-short content-center">{{maneuver.system.ocv}}</span>
<span class="item-field-label-very-short content-center">{{maneuver.system.dcv}}</span>
{{/if}}
<span class="item-field-text-long">{{maneuver.system.effects}}
{{#if maneuver.system.haseffectroll}}
<a class="roll-direct" data-roll-source="Maneuver {{maneuver.name}}"
@ -556,26 +572,75 @@
</span>
</li>
{{#each allmaneuvers as |maneuver key|}}
<div class="{{#if maneuver.system.isstock}}maneuver-list maneuver-is-stock{{/if}}">
<li class="item stat flexrow list-item list-item-shadow " data-item-id="{{maneuver._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{maneuver.img}}" /></a>
<span class="item-field-label-long">{{maneuver.name}}</span>
{{#if (ne maneuver.system.maneuvertype "mental")}}
<div class="{{#if maneuver.system.isstock}}maneuver-list maneuver-is-stock{{/if}}">
<li class="item stat flexrow list-item list-item-shadow " data-item-id="{{maneuver._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{maneuver.img}}" /></a>
<span class="item-field-label-long"><a class="roll-item"><i class="fas fa-dice"></i>{{maneuver.name}}</a></span>
<span class="item-field-label-short">{{maneuver.system.pha}}</span>
<span class="item-field-label-short">{{maneuver.system.ocv}}</span>
<span class="item-field-label-short">{{maneuver.system.dcv}}</span>
<span class="item-field-label-short">{{maneuver.system.pha}}</span>
<span class="item-field-label-short">{{maneuver.system.ocv}}</span>
<span class="item-field-label-short">{{maneuver.system.dcv}}</span>
<span class="item-field-label-long3">{{maneuver.system.effects}}</span>
<span class="item-field-label-long3">{{maneuver.system.effects}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
</div>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
</div>
{{/if}}
{{/each}}
</ul>
<ul class="stat-list alternate-list item-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-field-label-long-img">
<label class="">Mental Maneuvers</label>
</span>
<span class="item-field-label-short">
<label class="short-label">PHA</label>
</span>
<span class="item-field-label-short">
<label class="short-label">OMCV</label>
</span>
<span class="item-field-label-short">
<label class="short-label">DMCV</label>
</span>
<span class="item-field-label-long3">
<label class="short-label">Effects</label>
</span>
</li>
{{#each allmaneuvers as |maneuver key|}}
{{#if (eq maneuver.system.maneuvertype "mental")}}
<div class="">
<li class="item stat flexrow list-item list-item-shadow " data-item-id="{{maneuver._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{maneuver.img}}" /></a>
<span class="item-field-label-long">
<a class="roll-item"><i class="fas fa-dice"></i>
{{maneuver.name}}
</a>
</span>
<span class="item-field-label-short content-center">{{maneuver.system.pha}}</span>
<span class="item-field-label-short content-center">{{maneuver.system.omcv}}</span>
<span class="item-field-label-short content-center">{{maneuver.system.dmcv}}</span>
<span class="item-field-label-long3">{{maneuver.system.effects}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
</div>
{{/if}}
{{/each}}
</ul>
</div>
{{!-- Powers Tab --}}
@ -610,7 +675,16 @@
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{power.img}}" /></a>
<span class="item-field-label-short">{{power.system.cost}}</span>
{{#if (eq system.typemodifier "attack")}}
<span class="item-field-label-long3">
<a class="roll-power-attack">
<i class="fas fa-dice"></i>
{{power.name}}
</a>
</span>
{{else}}
<span class="item-field-label-long3">{{power.name}}</span>
{{/if}}
<span class="item-field-label-long2">{{power.system.displayname}}</span>
<span class="item-field-label-medium"><a class="roll-damage" data-type="power"><i
class="fas fa-dice"></i>{{power.system.damage}}</a></span>

View File

@ -15,6 +15,27 @@
</div>
{{/if}}
{{#if weapon}}
<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>
</div>
{{/if}}
{{#if maneuver}}
<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>
</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>
</div>
{{/if}}
{{#if item}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{upperFirst item.type}} - {{upperFirst item.name}}</span>

View File

@ -7,12 +7,6 @@
<hr>
{{#if img}}
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>

View File

@ -7,12 +7,6 @@
<hr>
{{#if img}}
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>

View File

@ -7,12 +7,6 @@
<hr>
{{#if img}}
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>
@ -23,6 +17,21 @@
</li>
{{/if}}
{{#if weapon}}
<li>Weapon : {{weapon.name}}
</li>
{{/if}}
{{#if maneuver}}
<li>Maneuver : {{maneuver.name}}
</li>
{{/if}}
{{#if power}}
<li>Power : {{power.name}}
</li>
{{/if}}
{{#if rollSource}}
<li>Roll : {{rollSource}}</li>
{{/if}}

View File

@ -7,12 +7,6 @@
<hr>
{{#if img}}
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>

View File

@ -37,14 +37,21 @@
<input type="text" class="item-field-label-medium" name="system.pha" value="{{system.pha}}" data-dtype="String"/>
</li>
{{#if (eq system.maneuvertype "mental")}}
<li class="flexrow"><label class="item-field-label-medium">OMCV</label>
<input type="text" class="item-field-label-medium" name="system.omcv" value="{{system.omcv}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="item-field-label-medium">DMCV</label>
<input type="text" class="item-field-label-medium" name="system.dmcv" value="{{system.dmcv}}" data-dtype="String"/>
</li>
{{else}}
<li class="flexrow"><label class="item-field-label-medium">OCV</label>
<input type="text" class="item-field-label-medium" name="system.ocv" value="{{system.ocv}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="item-field-label-medium">DCV</label>
<input type="text" class="item-field-label-medium" name="system.dcv" value="{{system.dcv}}" data-dtype="String"/>
</li>
{{/if}}
<li class="flexrow"><label class="item-field-label-medium">Effects</label>
<input type="text" class="item-field-label-long" name="system.effects" value="{{system.effects}}" data-dtype="String"/>
</li>

View File

@ -39,7 +39,7 @@
<label class="item-field-label-very-short">rMod</label>
</span>
<span class="item-field-label-very-short">
<label class="item-field-label-very-short">&nbsp;</label>
<label class="item-field-label-very-short">Rng</label>
</span>
<span class="item-field-label-very-short">
<label class="item-field-label-very-short">&nbsp;</label>

View File

@ -1,9 +1,15 @@
<li class="item flexrow list-item list-item-shadow" data-item-id="{{equip._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{equip.img}}" /></a>
<span class="item-field-label-very-short"><label>{{equip.system.quantity}}</label> </span>
<span class="item-field-label-very-short content-center" ><label class="content-center">{{equip.system.quantity}}</label> </span>
<span class="item-field-label-long2">{{equip.name}}</span>
<span class="item-field-label-long2">
{{#if (eq equip.system.subtype "weapon")}}
<a class="roll-weapon"><i class="fas fa-dice"></i>{{equip.name}}</a>
{{else}}
{{equip.name}}
{{/if}}
</span>
{{#if (or (eq equip.system.subtype "money") (eq equip.system.subtype "equipment"))}}
<span class="item-field-label-very-short"><label>&nbsp;</label> </span>
@ -14,27 +20,27 @@
{{/if}}
{{#if (eq equip.system.subtype "weapon")}}
<span class="item-field-label-very-short"><label>{{equip.system.ocv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.omcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.rmod}}</label> </span>
<span class="item-field-label-very-short"><label>&nbsp;</label> </span>
<span class="item-field-label-very-short"><label>&nbsp;</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.ocv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.omcv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.rmod) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.range}}</label> </span>
<span class="item-field-label-very-short content-center"><label>&nbsp;</label> </span>
{{/if}}
{{#if (eq equip.system.subtype "shield")}}
<span class="item-field-label-very-short"><label>{{equip.system.ocv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.omcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dmcv}}</label> </span>
<span class="item-field-label-very-short"><label>&nbsp;</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.ocv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.dcv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.omcv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.dmcv) decimals=0 sign=true}}</label> </span>
<span class="item-field-label-very-short content-center"><label>&nbsp;</label> </span>
{{/if}}
{{#if (eq equip.system.subtype "armor")}}
<span class="item-field-label-very-short"><label>{{equip.system.pd}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.ed}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.rpd}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.red}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dcv}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.pd}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.ed}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.rpd}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.red}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{numberFormat (fixNum equip.system.dcv) decimals=0 sign=true}}</label> </span>
{{/if}}
<span class="item-field-label-long2"><label>{{equip.system.displayname}}
@ -55,11 +61,11 @@
<span class="item-field-label-short">&nbsp;</span>
{{/if}}
<span class="item-field-label-very-short"><label>{{equip.system.endurance}}</label> </span>
<span class="item-field-label-very-short content-center"><label>{{equip.system.endurance}}</label> </span>
<span class="item-field-label-very-short"><label>{{mul equip.system.quantity equip.system.value}}</label> </span>
<span class="item-field-label-short"><label>{{mul equip.system.quantity equip.system.weight}}</label> </span>
<span class="item-field-label-short content-center"><label>{{mul equip.system.quantity equip.system.weight}}</label> </span>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>

View File

@ -18,6 +18,18 @@
</select>
</li>
{{#if (eq (lower system.typemodifier) "attack")}}
<li class="flexrow"><label class="item-field-label-long">Attack Roll Uses OCV or OMCV</label>
<select class="item-field-label-long" type="text" name="system.attackvalue" value="{{system.attackvalue}}" data-dtype="String">
{{#select system.attackvalue}}
{{#each config.attackTypes as |name key|}}
<option value="{{key}}">{{name}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{/if}}
<li class="flexrow"><label class="item-field-label-long">Is sense affecting ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.senseaffecting" {{checked system.senseaffecting}}/></label>
</li>