Compare commits
36 Commits
fvtt-hero-
...
master
Author | SHA1 | Date | |
---|---|---|---|
a5c6ae8fcb | |||
5e42cfbab1 | |||
86a9889359 | |||
7375fa39c5 | |||
ab587740d8 | |||
0f4fe253e0 | |||
3b13a44d9d | |||
0ebe0c3734 | |||
6a00dd8583 | |||
5064b83f2b | |||
58275c32e6 | |||
c22b950f7c | |||
893ca4cfa5 | |||
94065a3755 | |||
1d4d3054c3 | |||
e5c6d3f42f | |||
f914b9838e | |||
8a543068d2 | |||
379b8358ee | |||
40ee7c3c40 | |||
a07f367b0c | |||
09bb7fb692 | |||
92dc81af24 | |||
d2430ee482 | |||
86780ce8ae | |||
b383481915 | |||
dca78fd4b6 | |||
f381269acf | |||
686ea4cea6 | |||
c915b85a7b | |||
5026e120c1 | |||
9cefc6f816 | |||
11d7c7d1c0 | |||
3abf9a9f8f | |||
f5c0faffd3 | |||
3f0e0a41b8 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
packs/* filter=lfs diff=lfs merge=lfs -text
|
12
README.md
12
README.md
@ -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.
|
||||
|
||||
|
47
changelog.md
Normal file
47
changelog.md
Normal file
@ -0,0 +1,47 @@
|
||||
v11.0.23
|
||||
|
||||
- Proper display of BODY/STUN bars on tokens
|
||||
|
||||
v11.0.22
|
||||
|
||||
- Fix actor sheet (powers, characteristics)
|
||||
- Fix weapons roll
|
||||
|
||||
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
|
||||
- Implements effects tagging (#11)
|
||||
|
||||
v11.0.16
|
||||
|
||||
- Fix mental maneuvers rolls
|
||||
- Renamed title
|
||||
|
||||
v11.0.15
|
||||
|
||||
- Fix target rolls for power
|
||||
- Add maneuvers roll in the maneuver tab
|
||||
- Renamed title
|
||||
|
||||
v11.0.14
|
||||
|
||||
- Initial public release
|
22
lang/en.json
22
lang/en.json
@ -5,17 +5,17 @@
|
||||
"minion": "Minion"
|
||||
},
|
||||
"Item": {
|
||||
"Skill": "Skill",
|
||||
"Perk": "Perk",
|
||||
"Power": "Power",
|
||||
"Talent": "Talent",
|
||||
"Advantage": "Advantage",
|
||||
"Martialart": "Martial art",
|
||||
"Limitation": "Limitation",
|
||||
"Complication": "Complication",
|
||||
"Equipment": "Equipment",
|
||||
"Currency": "Currency",
|
||||
"Maneuver": "Maneuver"
|
||||
"skill": "Skill",
|
||||
"perk": "Perk",
|
||||
"power": "Power",
|
||||
"talent": "Talent",
|
||||
"advantage": "Advantage",
|
||||
"martialart": "Martial art",
|
||||
"limitation": "Limitation",
|
||||
"complication": "Complication",
|
||||
"equipment": "Equipment",
|
||||
"currency": "Currency",
|
||||
"maneuver": "Maneuver"
|
||||
}
|
||||
},
|
||||
"COMBAT": {
|
||||
|
@ -50,7 +50,8 @@ export class Hero6ActorSheet extends ActorSheet {
|
||||
weapons: this.actor.checkAndPrepareEquipments( duplicate(this.actor.getWeapons()) ),
|
||||
armors: this.actor.checkAndPrepareEquipments( duplicate(this.actor.getArmors())),
|
||||
shields: this.actor.checkAndPrepareEquipments( duplicate(this.actor.getShields())),
|
||||
equipments: this.actor.checkAndPrepareEquipments(duplicate(this.actor.getEquipmentsMoneys()) ),
|
||||
moneys: this.actor.checkAndPrepareEquipments( duplicate(this.actor.getMoneys())),
|
||||
equipments: this.actor.checkAndPrepareEquipments(duplicate(this.actor.getEquipments()) ),
|
||||
subActors: duplicate(this.actor.getSubActors()),
|
||||
race: duplicate(this.actor.getRace()),
|
||||
encCapacity: this.actor.getEncumbranceCapacity(),
|
||||
@ -161,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")
|
||||
@ -183,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()
|
||||
|
@ -216,7 +216,6 @@ export class Hero6Actor extends Actor {
|
||||
skill.roll = charac.roll
|
||||
}
|
||||
}
|
||||
console.log("SILL", skill)
|
||||
if (skill.system.levels > 0) {
|
||||
skill.roll += skill.system.levels
|
||||
}
|
||||
@ -224,13 +223,25 @@ 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)
|
||||
let subMode = "normal"
|
||||
if (maneuver.system.maneuvertype == "mental") {
|
||||
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 {
|
||||
maneuver.noOMCV = true
|
||||
}
|
||||
} else {
|
||||
maneuver.noOCV = true
|
||||
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
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -304,11 +315,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() {
|
||||
@ -326,6 +339,11 @@ export class Hero6Actor extends Actor {
|
||||
Hero6Utility.sortArrayObjectsByName(list)
|
||||
return list
|
||||
}
|
||||
getMoneys() {
|
||||
let list = this.items.filter(item => item.type == "equipment" && item.system.subtype == "money");
|
||||
Hero6Utility.sortArrayObjectsByName(list)
|
||||
return list
|
||||
}
|
||||
getWeapons() {
|
||||
let list = this.items.filter(item => item.type == "equipment" && item.system.subtype == "weapon");
|
||||
Hero6Utility.sortArrayObjectsByName(list)
|
||||
@ -623,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)
|
||||
@ -641,12 +662,10 @@ export class Hero6Actor extends Actor {
|
||||
const ray = new Ray(token.object?.center || token.center, defenderToken.center)
|
||||
rollData.tokensDistance = canvas.grid.measureDistances([{ ray }], { gridSpaces: false })[0] / canvas.grid.grid.options.dimensions.distance
|
||||
} else {
|
||||
ui.notifications.info("No token connected to this actor, unable to compute distance.")
|
||||
return
|
||||
//ui.notifications.info("No token connected to this actor, unable to compute distance.")
|
||||
//return
|
||||
}
|
||||
if (defender) {
|
||||
rollData.forceAdvantage = defender.isAttackerAdvantage()
|
||||
rollData.advantageFromTarget = true
|
||||
}
|
||||
}
|
||||
console.log("ROLLDATA", rollData)
|
||||
@ -657,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) {
|
||||
@ -670,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
|
||||
@ -681,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)
|
||||
}
|
||||
@ -699,11 +721,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({
|
||||
@ -711,6 +742,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)
|
||||
@ -738,28 +774,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) {
|
||||
@ -783,34 +797,58 @@ 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.subMode = "ocv"
|
||||
rollData.mode = "weapon"
|
||||
rollData.item = weapon
|
||||
rollData.item.roll = 11 + (Number(this.system.characteristics.ocv.value) || 0) + (Number(weapon.system.ocv) || 0)
|
||||
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.roll = 11 + (Number(this.system.characteristics.omcv.value) || 0) + (Number(maneuver.system.omcv) || 0)
|
||||
rollData.mode = "mentalmaneuver"
|
||||
rollData.item = 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()
|
||||
rollData.mode = "powerattack"
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async startRoll(rollData) {
|
||||
let rollDialog = await Hero6RollDialog.create(this, rollData)
|
||||
|
@ -54,6 +54,9 @@ export class Hero6Combat extends Combat {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
constructor(data, context) {
|
||||
|
||||
data.flags = { world: { turnData: { turnNumber: 0, segmentNumber: 12} } }
|
||||
|
||||
super(data, context);
|
||||
|
||||
this.turnNumber = 0;
|
||||
@ -280,12 +283,13 @@ export class Hero6Combat extends Combat {
|
||||
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async _onCreateEmbeddedDocuments(type, documents, result, options, userId) {
|
||||
async _onCreateDescendantDocuments(type, documents, result, options, userId) {
|
||||
//console.log("Added...")
|
||||
await super._onCreateEmbeddedDocuments(type, documents, result, options, userId)
|
||||
await this.rebuildInitiative()
|
||||
if (game.user.isGM) {
|
||||
await super._onCreateEmbeddedDocuments(type, documents, result, options, userId)
|
||||
await this.rebuildInitiative()
|
||||
}
|
||||
}
|
||||
|
||||
/* --------------------------------------------
|
||||
_onUpdate(changed, options, userId) {
|
||||
}*/
|
||||
|
@ -10,7 +10,8 @@ export const Hero6_CONFIG = {
|
||||
maneuverTypes: {
|
||||
"general": "General",
|
||||
"offensive": "Offensive",
|
||||
"defensive": "Defensive"
|
||||
"defensive": "Defensive",
|
||||
"mental": "Mental"
|
||||
},
|
||||
rollCharac : {
|
||||
"str": "Strength",
|
||||
@ -21,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",
|
||||
@ -29,6 +37,10 @@ export const Hero6_CONFIG = {
|
||||
"combat": "Combat" ,
|
||||
"custom": "Custom"
|
||||
},
|
||||
attackTypes: {
|
||||
"ocv": "OCV",
|
||||
"omcv": "OMCV"
|
||||
},
|
||||
powerEquipmentType: {
|
||||
"adjustment": "Adjustment",
|
||||
"mental": "Mental",
|
||||
|
@ -147,13 +147,13 @@ export class Hero6ItemSheet extends ItemSheet {
|
||||
});
|
||||
|
||||
html.find('.item-skill-profiency').click(ev => {
|
||||
this.object.update( {'system.levels': 12, 'system.cost': 2} )
|
||||
this.object.update( {'system.skillfamiliarity': false, 'system.cost': 2} )
|
||||
} )
|
||||
html.find('.item-skill-familiarity').click(ev => {
|
||||
this.object.update( {'system.levels': 10, 'system.cost': 1} )
|
||||
this.object.update( {'system.skillprofiency': false, 'system.cost': 1} )
|
||||
} )
|
||||
html.find('.item-skill-everyman').click(ev => {
|
||||
this.object.update( {'system.levels': 8, 'system.cost': 0} )
|
||||
this.object.update( {'system.cost': 0} )
|
||||
} )
|
||||
|
||||
html.find('.view-subitem').click(ev => {
|
||||
|
@ -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: {
|
||||
|
@ -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]
|
||||
})
|
||||
@ -52,6 +55,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 +349,7 @@ export class Hero6Utility {
|
||||
// ability/save/size => 0
|
||||
let diceFormula = "3d6"
|
||||
let target = 10
|
||||
|
||||
if (rollData.charac) {
|
||||
target = rollData.charac.roll
|
||||
}
|
||||
@ -352,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 })
|
||||
@ -367,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
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000188
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:51.923693 7fa0ddffb6c0 Recovering log #68
|
||||
2023/08/15-21:47:52.020246 7fa0ddffb6c0 Delete type=3 #66
|
||||
2023/08/15-21:47:52.020324 7fa0ddffb6c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.852100 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.852160 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.858657 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.859003 7f9e3ffff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.859027 7f9e3ffff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.140558 7f16d7fff6c0 Recovering log #186
|
||||
2023/10/04-21:41:44.150660 7f16d7fff6c0 Delete type=3 #184
|
||||
2023/10/04-21:41:44.150712 7f16d7fff6c0 Delete type=0 #186
|
||||
2023/10/04-21:47:02.531984 7f14567ef6c0 Level-0 table #191: started
|
||||
2023/10/04-21:47:02.532010 7f14567ef6c0 Level-0 table #191: 0 bytes OK
|
||||
2023/10/04-21:47:02.538823 7f14567ef6c0 Delete type=0 #189
|
||||
2023/10/04-21:47:02.545067 7f14567ef6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.545092 7f14567ef6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.564375 7fd68f7fe6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.579793 7fd68f7fe6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.579835 7fd68f7fe6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.069254 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.069298 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.080890 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.092975 7fd40dfff6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.100392 7fd40dfff6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.811691 7f16d6ffd6c0 Recovering log #182
|
||||
2023/10/04-21:35:01.822017 7f16d6ffd6c0 Delete type=3 #180
|
||||
2023/10/04-21:35:01.822072 7f16d6ffd6c0 Delete type=0 #182
|
||||
2023/10/04-21:41:38.795066 7f14567ef6c0 Level-0 table #187: started
|
||||
2023/10/04-21:41:38.795089 7f14567ef6c0 Level-0 table #187: 0 bytes OK
|
||||
2023/10/04-21:41:38.801689 7f14567ef6c0 Delete type=0 #185
|
||||
2023/10/04-21:41:38.808479 7f14567ef6c0 Manual compaction at level-0 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.808530 7f14567ef6c0 Manual compaction at level-1 from '!items!05yAsPAteobyHoVT' @ 72057594037927935 : 1 .. '!items!yFhVFTqzLKcqApBr' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/complications/MANIFEST-000188
Normal file
BIN
packs/complications/MANIFEST-000188
Normal file
Binary file not shown.
BIN
packs/equipment/000099.ldb
Normal file
BIN
packs/equipment/000099.ldb
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000190
|
||||
|
@ -1,7 +1,8 @@
|
||||
2023/08/15-21:47:51.802290 7fa0dd7fa6c0 Recovering log #68
|
||||
2023/08/15-21:47:51.859664 7fa0dd7fa6c0 Delete type=3 #66
|
||||
2023/08/15-21:47:51.859782 7fa0dd7fa6c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.813491 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.813538 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.819750 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.829889 7f9e3ffff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.100507 7f16d6ffd6c0 Recovering log #188
|
||||
2023/10/04-21:41:44.111147 7f16d6ffd6c0 Delete type=3 #186
|
||||
2023/10/04-21:41:44.111281 7f16d6ffd6c0 Delete type=0 #188
|
||||
2023/10/04-21:47:02.509785 7f14567ef6c0 Level-0 table #193: started
|
||||
2023/10/04-21:47:02.509815 7f14567ef6c0 Level-0 table #193: 0 bytes OK
|
||||
2023/10/04-21:47:02.518200 7f14567ef6c0 Delete type=0 #191
|
||||
2023/10/04-21:47:02.518694 7f14567ef6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.518773 7f14567ef6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,7 +1,8 @@
|
||||
2023/08/10-13:03:20.538109 7fd6a4bfa6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.547376 7fd6a4bfa6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.547429 7fd6a4bfa6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.019934 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.019967 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.026189 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.026358 7fd40dfff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.768747 7f16d7fff6c0 Recovering log #184
|
||||
2023/10/04-21:35:01.779863 7f16d7fff6c0 Delete type=3 #182
|
||||
2023/10/04-21:35:01.779921 7f16d7fff6c0 Delete type=0 #184
|
||||
2023/10/04-21:41:38.760705 7f14567ef6c0 Level-0 table #189: started
|
||||
2023/10/04-21:41:38.760752 7f14567ef6c0 Level-0 table #189: 0 bytes OK
|
||||
2023/10/04-21:41:38.767288 7f14567ef6c0 Delete type=0 #187
|
||||
2023/10/04-21:41:38.774856 7f14567ef6c0 Manual compaction at level-0 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.781126 7f14567ef6c0 Manual compaction at level-1 from '!folders!48DCB6UNXCsERTXK' @ 72057594037927935 : 1 .. '!items!zFQRJSrYV4E12NgW' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/equipment/MANIFEST-000190
Normal file
BIN
packs/equipment/MANIFEST-000190
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000062
|
||||
MANIFEST-000182
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:51.927283 7fa0dcff96c0 Recovering log #60
|
||||
2023/08/15-21:47:52.038744 7fa0dcff96c0 Delete type=3 #58
|
||||
2023/08/15-21:47:52.038839 7fa0dcff96c0 Delete type=0 #60
|
||||
2023/08/15-22:11:19.865715 7f9e3ffff6c0 Level-0 table #65: started
|
||||
2023/08/15-22:11:19.865740 7f9e3ffff6c0 Level-0 table #65: 0 bytes OK
|
||||
2023/08/15-22:11:19.872425 7f9e3ffff6c0 Delete type=0 #63
|
||||
2023/08/15-22:11:19.879299 7f9e3ffff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.879345 7f9e3ffff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.152237 7f16d6ffd6c0 Recovering log #180
|
||||
2023/10/04-21:41:44.162524 7f16d6ffd6c0 Delete type=3 #178
|
||||
2023/10/04-21:41:44.162593 7f16d6ffd6c0 Delete type=0 #180
|
||||
2023/10/04-21:47:02.538933 7f14567ef6c0 Level-0 table #185: started
|
||||
2023/10/04-21:47:02.538963 7f14567ef6c0 Level-0 table #185: 0 bytes OK
|
||||
2023/10/04-21:47:02.544945 7f14567ef6c0 Delete type=0 #183
|
||||
2023/10/04-21:47:02.545085 7f14567ef6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.545108 7f14567ef6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.566148 7fd6a4bfa6c0 Recovering log #56
|
||||
2023/08/10-13:03:20.582806 7fd6a4bfa6c0 Delete type=3 #54
|
||||
2023/08/10-13:03:20.582865 7fd6a4bfa6c0 Delete type=0 #56
|
||||
2023/08/10-13:05:41.081044 7fd40dfff6c0 Level-0 table #61: started
|
||||
2023/08/10-13:05:41.081087 7fd40dfff6c0 Level-0 table #61: 0 bytes OK
|
||||
2023/08/10-13:05:41.092838 7fd40dfff6c0 Delete type=0 #59
|
||||
2023/08/10-13:05:41.100288 7fd40dfff6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.109268 7fd40dfff6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.823989 7f16d7fff6c0 Recovering log #176
|
||||
2023/10/04-21:35:01.834386 7f16d7fff6c0 Delete type=3 #174
|
||||
2023/10/04-21:35:01.834682 7f16d7fff6c0 Delete type=0 #176
|
||||
2023/10/04-21:41:38.788643 7f14567ef6c0 Level-0 table #181: started
|
||||
2023/10/04-21:41:38.788676 7f14567ef6c0 Level-0 table #181: 0 bytes OK
|
||||
2023/10/04-21:41:38.794955 7f14567ef6c0 Delete type=0 #179
|
||||
2023/10/04-21:41:38.808465 7f14567ef6c0 Manual compaction at level-0 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.808513 7f14567ef6c0 Manual compaction at level-1 from '!items!0HeZcvevni63brWf' @ 72057594037927935 : 1 .. '!items!yAT32VYV2aIWOBkK' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/maneuvers/MANIFEST-000182
Normal file
BIN
packs/maneuvers/MANIFEST-000182
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000188
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:52.040277 7fa0ddffb6c0 Recovering log #68
|
||||
2023/08/15-21:47:52.138553 7fa0ddffb6c0 Delete type=3 #66
|
||||
2023/08/15-21:47:52.138627 7fa0ddffb6c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.859141 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.859174 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.865615 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.879276 7f9e3ffff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.879335 7f9e3ffff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.164948 7f16ecffa6c0 Recovering log #186
|
||||
2023/10/04-21:41:44.175548 7f16ecffa6c0 Delete type=3 #184
|
||||
2023/10/04-21:41:44.175604 7f16ecffa6c0 Delete type=0 #186
|
||||
2023/10/04-21:47:02.552360 7f14567ef6c0 Level-0 table #191: started
|
||||
2023/10/04-21:47:02.552386 7f14567ef6c0 Level-0 table #191: 0 bytes OK
|
||||
2023/10/04-21:47:02.560501 7f14567ef6c0 Delete type=0 #189
|
||||
2023/10/04-21:47:02.560629 7f14567ef6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.560655 7f14567ef6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.581819 7fd68f7fe6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.598440 7fd68f7fe6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.598503 7fd68f7fe6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.093002 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.093032 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.100152 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.109249 7fd40dfff6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.109302 7fd40dfff6c0 Manual compaction at level-1 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.836873 7f16ecffa6c0 Recovering log #182
|
||||
2023/10/04-21:35:01.847899 7f16ecffa6c0 Delete type=3 #180
|
||||
2023/10/04-21:35:01.847965 7f16ecffa6c0 Delete type=0 #182
|
||||
2023/10/04-21:41:38.781263 7f14567ef6c0 Level-0 table #187: started
|
||||
2023/10/04-21:41:38.781303 7f14567ef6c0 Level-0 table #187: 0 bytes OK
|
||||
2023/10/04-21:41:38.788512 7f14567ef6c0 Delete type=0 #185
|
||||
2023/10/04-21:41:38.808450 7f14567ef6c0 Manual compaction at level-0 from '!items!L3vwlIh3oloE6A8W' @ 72057594037927935 : 1 .. '!items!yWTR7MCOtGWm1KCz' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.808503 7f14567ef6c0 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-000188
Normal file
BIN
packs/perks/MANIFEST-000188
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000071
|
||||
MANIFEST-000190
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:51.861656 7fa0dcff96c0 Recovering log #69
|
||||
2023/08/15-21:47:51.916356 7fa0dcff96c0 Delete type=3 #67
|
||||
2023/08/15-21:47:51.916435 7fa0dcff96c0 Delete type=0 #69
|
||||
2023/08/15-22:11:19.843844 7f9e3ffff6c0 Level-0 table #74: started
|
||||
2023/08/15-22:11:19.843905 7f9e3ffff6c0 Level-0 table #74: 0 bytes OK
|
||||
2023/08/15-22:11:19.851729 7f9e3ffff6c0 Delete type=0 #72
|
||||
2023/08/15-22:11:19.858992 7f9e3ffff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.859036 7f9e3ffff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.127784 7f16d77fe6c0 Recovering log #188
|
||||
2023/10/04-21:41:44.137990 7f16d77fe6c0 Delete type=3 #186
|
||||
2023/10/04-21:41:44.138069 7f16d77fe6c0 Delete type=0 #188
|
||||
2023/10/04-21:47:02.518821 7f14567ef6c0 Level-0 table #193: started
|
||||
2023/10/04-21:47:02.518901 7f14567ef6c0 Level-0 table #193: 0 bytes OK
|
||||
2023/10/04-21:47:02.525324 7f14567ef6c0 Delete type=0 #191
|
||||
2023/10/04-21:47:02.545045 7f14567ef6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.545077 7f14567ef6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.550530 7fd6a4bfa6c0 Recovering log #65
|
||||
2023/08/10-13:03:20.564384 7fd6a4bfa6c0 Delete type=3 #63
|
||||
2023/08/10-13:03:20.564676 7fd6a4bfa6c0 Delete type=0 #65
|
||||
2023/08/10-13:05:41.056785 7fd40dfff6c0 Level-0 table #70: started
|
||||
2023/08/10-13:05:41.056809 7fd40dfff6c0 Level-0 table #70: 0 bytes OK
|
||||
2023/08/10-13:05:41.069063 7fd40dfff6c0 Delete type=0 #68
|
||||
2023/08/10-13:05:41.081017 7fd40dfff6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.092990 7fd40dfff6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.795955 7f16d77fe6c0 Recovering log #184
|
||||
2023/10/04-21:35:01.806044 7f16d77fe6c0 Delete type=3 #182
|
||||
2023/10/04-21:35:01.806101 7f16d77fe6c0 Delete type=0 #184
|
||||
2023/10/04-21:41:38.774865 7f14567ef6c0 Level-0 table #189: started
|
||||
2023/10/04-21:41:38.774887 7f14567ef6c0 Level-0 table #189: 0 bytes OK
|
||||
2023/10/04-21:41:38.780982 7f14567ef6c0 Delete type=0 #187
|
||||
2023/10/04-21:41:38.781151 7f14567ef6c0 Manual compaction at level-0 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.781172 7f14567ef6c0 Manual compaction at level-1 from '!items!3vinyVxuFdrQDCBo' @ 72057594037927935 : 1 .. '!items!zpF2QY4tx7qdBomQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/powers/MANIFEST-000190
Normal file
BIN
packs/powers/MANIFEST-000190
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000190
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:51.861659 7fa0ddffb6c0 Recovering log #68
|
||||
2023/08/15-21:47:51.916357 7fa0ddffb6c0 Delete type=3 #66
|
||||
2023/08/15-21:47:51.916429 7fa0ddffb6c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.830017 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.830056 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.836953 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.858959 7f9e3ffff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.859011 7f9e3ffff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.114622 7f16ecffa6c0 Recovering log #188
|
||||
2023/10/04-21:41:44.125734 7f16ecffa6c0 Delete type=3 #186
|
||||
2023/10/04-21:41:44.125812 7f16ecffa6c0 Delete type=0 #188
|
||||
2023/10/04-21:47:02.525443 7f14567ef6c0 Level-0 table #193: started
|
||||
2023/10/04-21:47:02.525470 7f14567ef6c0 Level-0 table #193: 0 bytes OK
|
||||
2023/10/04-21:47:02.531866 7f14567ef6c0 Delete type=0 #191
|
||||
2023/10/04-21:47:02.545057 7f14567ef6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.545100 7f14567ef6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.550530 7fd68f7fe6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.561274 7fd68f7fe6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.561313 7fd68f7fe6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.037917 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.037949 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.044140 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.069221 7fd40dfff6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.081033 7fd40dfff6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.783254 7f16ecffa6c0 Recovering log #184
|
||||
2023/10/04-21:35:01.792970 7f16ecffa6c0 Delete type=3 #182
|
||||
2023/10/04-21:35:01.793080 7f16ecffa6c0 Delete type=0 #184
|
||||
2023/10/04-21:41:38.767422 7f14567ef6c0 Level-0 table #189: started
|
||||
2023/10/04-21:41:38.767446 7f14567ef6c0 Level-0 table #189: 0 bytes OK
|
||||
2023/10/04-21:41:38.774734 7f14567ef6c0 Delete type=0 #187
|
||||
2023/10/04-21:41:38.781109 7f14567ef6c0 Manual compaction at level-0 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.781182 7f14567ef6c0 Manual compaction at level-1 from '!items!0663RVbZRl0oZ0Dr' @ 72057594037927935 : 1 .. '!items!zLKcnLGEcMwECjni' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/skills/MANIFEST-000190
Normal file
BIN
packs/skills/MANIFEST-000190
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000188
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/15-21:47:52.052796 7fa0de7fc6c0 Recovering log #68
|
||||
2023/08/15-21:47:52.154403 7fa0de7fc6c0 Delete type=3 #66
|
||||
2023/08/15-21:47:52.154479 7fa0de7fc6c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.872538 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.872564 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.878867 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.879310 7f9e3ffff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/08/15-22:11:19.879353 7f9e3ffff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:44.177511 7f16d77fe6c0 Recovering log #186
|
||||
2023/10/04-21:41:44.187706 7f16d77fe6c0 Delete type=3 #184
|
||||
2023/10/04-21:41:44.187791 7f16d77fe6c0 Delete type=0 #186
|
||||
2023/10/04-21:47:02.545189 7f14567ef6c0 Level-0 table #191: started
|
||||
2023/10/04-21:47:02.545213 7f14567ef6c0 Level-0 table #191: 0 bytes OK
|
||||
2023/10/04-21:47:02.552254 7f14567ef6c0 Delete type=0 #189
|
||||
2023/10/04-21:47:02.560616 7f14567ef6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:47:02.560646 7f14567ef6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2023/08/10-13:03:20.584203 7fd6a4bfa6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.602339 7fd6a4bfa6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.602426 7fd6a4bfa6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.100405 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.100432 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.109117 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.109289 7fd40dfff6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/08/10-13:05:41.109316 7fd40dfff6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:35:01.850710 7f16d77fe6c0 Recovering log #182
|
||||
2023/10/04-21:35:01.861789 7f16d77fe6c0 Delete type=3 #180
|
||||
2023/10/04-21:35:01.861973 7f16d77fe6c0 Delete type=0 #182
|
||||
2023/10/04-21:41:38.801785 7f14567ef6c0 Level-0 table #187: started
|
||||
2023/10/04-21:41:38.801808 7f14567ef6c0 Level-0 table #187: 0 bytes OK
|
||||
2023/10/04-21:41:38.808336 7f14567ef6c0 Delete type=0 #185
|
||||
2023/10/04-21:41:38.808493 7f14567ef6c0 Manual compaction at level-0 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
2023/10/04-21:41:38.808522 7f14567ef6c0 Manual compaction at level-1 from '!items!1oojD2KMJsxNlMez' @ 72057594037927935 : 1 .. '!items!znoFgVzNQOCTGUBl' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/talents/MANIFEST-000188
Normal file
BIN
packs/talents/MANIFEST-000188
Normal file
Binary file not shown.
@ -1 +1 @@
|
||||
MANIFEST-000070
|
||||
MANIFEST-000086
|
||||
|
@ -1,7 +1,7 @@
|
||||
2023/08/15-21:47:51.802282 7fa0dcff96c0 Recovering log #68
|
||||
2023/08/15-21:47:51.859665 7fa0dcff96c0 Delete type=3 #66
|
||||
2023/08/15-21:47:51.859740 7fa0dcff96c0 Delete type=0 #68
|
||||
2023/08/15-22:11:19.837182 7f9e3ffff6c0 Level-0 table #73: started
|
||||
2023/08/15-22:11:19.837243 7f9e3ffff6c0 Level-0 table #73: 0 bytes OK
|
||||
2023/08/15-22:11:19.843628 7f9e3ffff6c0 Delete type=0 #71
|
||||
2023/08/15-22:11:19.858980 7f9e3ffff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2023/08/24-15:57:43.392826 7fab4affd6c0 Recovering log #84
|
||||
2023/08/24-15:57:43.403060 7fab4affd6c0 Delete type=3 #82
|
||||
2023/08/24-15:57:43.403157 7fab4affd6c0 Delete type=0 #84
|
||||
2023/08/24-15:59:11.995583 7fab497fa6c0 Level-0 table #89: started
|
||||
2023/08/24-15:59:11.995614 7fab497fa6c0 Level-0 table #89: 0 bytes OK
|
||||
2023/08/24-15:59:12.004480 7fab497fa6c0 Delete type=0 #87
|
||||
2023/08/24-15:59:12.025495 7fab497fa6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,7 +1,7 @@
|
||||
2023/08/10-13:03:20.538110 7fd68f7fe6c0 Recovering log #64
|
||||
2023/08/10-13:03:20.547376 7fd68f7fe6c0 Delete type=3 #62
|
||||
2023/08/10-13:03:20.547427 7fd68f7fe6c0 Delete type=0 #64
|
||||
2023/08/10-13:05:41.044355 7fd40dfff6c0 Level-0 table #69: started
|
||||
2023/08/10-13:05:41.044380 7fd40dfff6c0 Level-0 table #69: 0 bytes OK
|
||||
2023/08/10-13:05:41.056662 7fd40dfff6c0 Delete type=0 #67
|
||||
2023/08/10-13:05:41.069241 7fd40dfff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2023/08/24-15:09:37.452353 7fab4b7fe6c0 Recovering log #80
|
||||
2023/08/24-15:09:37.462595 7fab4b7fe6c0 Delete type=3 #78
|
||||
2023/08/24-15:09:37.462673 7fab4b7fe6c0 Delete type=0 #80
|
||||
2023/08/24-15:56:20.976153 7fab497fa6c0 Level-0 table #85: started
|
||||
2023/08/24-15:56:20.976179 7fab497fa6c0 Level-0 table #85: 0 bytes OK
|
||||
2023/08/24-15:56:20.984268 7fab497fa6c0 Delete type=0 #83
|
||||
2023/08/24-15:56:20.984458 7fab497fa6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/weapons/MANIFEST-000086
Normal file
BIN
packs/weapons/MANIFEST-000086
Normal file
Binary file not shown.
@ -649,6 +649,11 @@ ul, li {
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.content-center {
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.attribut-value,
|
||||
.carac-value {
|
||||
flex-grow: 0;
|
||||
@ -816,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;
|
||||
}
|
||||
@ -1147,8 +1155,8 @@ ul, li {
|
||||
}
|
||||
|
||||
#logo {
|
||||
content : url(../images/ui/crucible_game_logo.png);
|
||||
width: 100px;
|
||||
content : url(../images/ui/logo_hex_yellow_01.webp);
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
@ -1390,6 +1398,9 @@ Focus FOC: #ff0084
|
||||
.item-control-end {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.margin-space-4 {
|
||||
margin-left: 4px;
|
||||
}
|
||||
.margin-item-list {
|
||||
margin-top: 4px;
|
||||
}
|
||||
@ -1411,7 +1422,12 @@ Focus FOC: #ff0084
|
||||
}
|
||||
.item-controls-fixed {
|
||||
min-width:2rem;
|
||||
max-width: 2rem;
|
||||
/*max-width: 2rem;*/
|
||||
}
|
||||
.item-controls-fixed-small {
|
||||
min-width:1rem;
|
||||
font-size: 0.8rem;
|
||||
/*max-width: 2rem;*/
|
||||
}
|
||||
.biodata-portrait {
|
||||
min-height: 512px;
|
||||
@ -1430,4 +1446,7 @@ Focus FOC: #ff0084
|
||||
.maneuver-is-stock {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
.compendium .directory-list .directory-item .folder-header h3 {
|
||||
color:#000
|
||||
}
|
||||
|
27
system.json
27
system.json
@ -5,11 +5,11 @@
|
||||
"flags": {}
|
||||
}
|
||||
],
|
||||
"description": "Hero System v6 for FoundryVTT (Official)",
|
||||
"description": "Hero System 6E for FoundryVTT (Official)",
|
||||
"esmodules": [
|
||||
"modules/hero6-main.js"
|
||||
],
|
||||
"gridDistance": 5,
|
||||
"gridDistance": 2,
|
||||
"gridUnits": "m",
|
||||
"languages": [
|
||||
{
|
||||
@ -30,15 +30,6 @@
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Weapons",
|
||||
"name": "weapons",
|
||||
"path": "packs/weapons.db",
|
||||
"system": "fvtt-hero-system-6",
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Skills",
|
||||
@ -94,21 +85,21 @@
|
||||
"flags": {}
|
||||
}
|
||||
],
|
||||
"primaryTokenAttribute": "secondary.hp",
|
||||
"secondaryTokenAttribute": "secondary.effort",
|
||||
"primaryTokenAttribute": "characteristics.body",
|
||||
"secondaryTokenAttribute": "characteristics.end",
|
||||
"socket": true,
|
||||
"styles": [
|
||||
"styles/simple.css"
|
||||
],
|
||||
"version": "11.0.7",
|
||||
"version": "11.0.23",
|
||||
"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.7.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.23.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"
|
||||
}
|
@ -354,9 +354,12 @@
|
||||
"levels": 0,
|
||||
"quantity": 1,
|
||||
"range": "",
|
||||
"damageeffect": "normal",
|
||||
"damage": "",
|
||||
"stunx": 0,
|
||||
"endurance": 0,
|
||||
"hasroll": false,
|
||||
"attackvalue": "ocv",
|
||||
"roll": 0,
|
||||
"computebody": false,
|
||||
"haseffectroll": false,
|
||||
@ -375,6 +378,8 @@
|
||||
"pha": "",
|
||||
"ocv": "",
|
||||
"dcv" : "",
|
||||
"omcv": "",
|
||||
"dmcv" : "",
|
||||
"isstock": false,
|
||||
"active": false
|
||||
},
|
||||
@ -416,7 +421,19 @@
|
||||
"subtype": "equipment",
|
||||
"value": 0,
|
||||
"weight": 0,
|
||||
"moneycost": 0
|
||||
"moneycost": 0,
|
||||
"ocv": 0,
|
||||
"omcv": 0,
|
||||
"dmcv": 0,
|
||||
"rmod": 0,
|
||||
"pd": 0,
|
||||
"ed": 0,
|
||||
"rpd": 0,
|
||||
"red": 0,
|
||||
"mentaldefense": 0,
|
||||
"powerdefense": 0,
|
||||
"flashdefense": 0,
|
||||
"otherdefense": 0
|
||||
},
|
||||
"attack": {
|
||||
"templates": [
|
||||
|
@ -149,36 +149,55 @@
|
||||
</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>
|
||||
</li>
|
||||
{{#each mlist as |maneuver key|}}
|
||||
<li class="item 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>
|
||||
<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>
|
||||
<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></a>
|
||||
{{maneuver.name}}
|
||||
</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}}"
|
||||
@ -241,9 +260,9 @@
|
||||
<li class="item flexrow list-item list-item-shadow" data-charac-key="{{key}}">
|
||||
<span class="item-field-label-long">{{char.label}}</span>
|
||||
<input type="text" class="item-field-label-short update-field"
|
||||
data-field-name="system.characteristics.{{key}}.value" value="{{char.value}}" data-dtype="Number" />
|
||||
<input type="text" class="item-field-label-short" name="system.characteristics.{{key}}.damage"
|
||||
value="{{char.damage}}" data-dtype="Number" />
|
||||
data-field-name="system.characteristics.{{key}}.max" value="{{char.max}}" data-dtype="Number" />
|
||||
<input type="text" class="item-field-label-short update-field" data-field-name="system.characteristics.{{key}}.value"
|
||||
value="{{char.value}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
@ -407,7 +426,7 @@
|
||||
<div class="charac-item">
|
||||
<ul>
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-field-label-medium">
|
||||
<span class="item-field-label-short">
|
||||
<label class="">Value</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
@ -556,26 +575,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"> </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"> </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"> </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 --}}
|
||||
@ -601,8 +669,8 @@
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Roll</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="item-field-label-medium">END</label>
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">END</label>
|
||||
</span>
|
||||
</li>
|
||||
{{#each powers as |power key|}}
|
||||
@ -610,7 +678,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>
|
||||
@ -620,7 +697,7 @@
|
||||
{{else}}
|
||||
<span class="item-field-label-short"> </span>
|
||||
{{/if}}
|
||||
<span class="item-field-label-medium">{{power.system.endurance}}</span>
|
||||
<span class="item-field-label-short">{{power.system.endurance}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
@ -672,6 +749,9 @@
|
||||
<span class="small-label">Total value : {{totalValue}}</span>
|
||||
</div>
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment-section.hbs title="Money"
|
||||
items=moneys}}
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment-section.hbs title="Weapons"
|
||||
items=weapons}}
|
||||
|
||||
|
@ -32,8 +32,6 @@
|
||||
</a>
|
||||
{{/if}}
|
||||
|
||||
{{log combat.flags}}
|
||||
|
||||
{{#if combatCount}}
|
||||
{{#if combat.round}}
|
||||
<!--<h3 class="encounter-title noborder">Turn {{combat.turnNumber}} Segment {{combat.segmentNumber}}</h3>-->
|
||||
|
@ -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,6 +17,28 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq subMode "ocv")}}
|
||||
<div class="flexrow">
|
||||
<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 (eq subMode "omcv")}}
|
||||
<div class="flexrow">
|
||||
<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>
|
||||
<div class="flexrow">
|
||||
<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}}
|
||||
|
||||
{{#if item}}
|
||||
<div class="flexrow">
|
||||
<span class="item-field-label-long margin-item-list">{{upperFirst item.type}} - {{upperFirst item.name}}</span>
|
||||
|
@ -7,12 +7,6 @@
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
|
@ -7,22 +7,35 @@
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
<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>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 : {{bodyValue}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -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}}
|
||||
@ -48,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>
|
||||
|
||||
@ -57,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>
|
||||
|
@ -7,12 +7,6 @@
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
|
@ -56,8 +56,88 @@
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||
{{#if (eq system.subtype "weapon") }}
|
||||
<li class="flexrow"><label class="item-field-label-long">OCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.ocv" value="{{system.ocv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">OMCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.omcv" value="{{system.omcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">RMod</label>
|
||||
<input type="text" class="item-field-label-short" name="system.rmod" value="{{system.rmod}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq system.subtype "shield") }}
|
||||
<li class="flexrow"><label class="item-field-label-long">OCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.ocv" value="{{system.ocv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">DCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.dcv" value="{{system.dcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">OMCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.omcv" value="{{system.omcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">DMCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.dmcv" value="{{system.dmcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq system.subtype "armor") }}
|
||||
<li class="flexrow"><label class="item-field-label-long">DCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.dcv" value="{{system.dcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">DMCV</label>
|
||||
<input type="text" class="item-field-label-short" name="system.dmcv" value="{{system.dmcv}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if (or (eq system.subtype "armor") (eq system.subtype "shield")) }}
|
||||
<li class="flexrow"><label class="item-field-label-long">PD</label>
|
||||
<input type="text" class="item-field-label-short" name="system.pd" value="{{system.pd}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">ED</label>
|
||||
<input type="text" class="item-field-label-short" name="system.ed" value="{{system.ed}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">rPD</label>
|
||||
<input type="text" class="item-field-label-short" name="system.rpd" value="{{system.rpd}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">rED</label>
|
||||
<input type="text" class="item-field-label-short" name="system.red" value="{{system.red}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">Mental Defense</label>
|
||||
<input type="text" class="item-field-label-short" name="system.mentaldefense" value="{{system.mentaldefense}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">Power Defense</label>
|
||||
<input type="text" class="item-field-label-short" name="system.powerdefense" value="{{system.powerdefense}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">Flash Defense</label>
|
||||
<input type="text" class="item-field-label-short" name="system.flashdefense" value="{{system.flashdefense}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">Other Defense</label>
|
||||
<input type="text" class="item-field-label-short" name="system.otherdefense" value="{{system.otherdefense}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
|
||||
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||
|
@ -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>
|
||||
|
@ -52,22 +52,21 @@
|
||||
data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="item-field-label-long">Familiarity only</label>
|
||||
<input type="checkbox" class="item-field-label-medium item-skill-familiarity" name="system.skillfamiliarity" {{checked system.skillfamiliarity}}
|
||||
{{#if (or system.skillprofiency system.skilllevelonly)}}disabled{{/if}}
|
||||
<li class="flexrow"><label class="item-field-label-long">Proficency</label>
|
||||
<input type="checkbox" class="item-field-label-medium item-skill-profiency" name="system.skillprofiency" {{checked system.skillprofiency}}
|
||||
data-dtype="Number"/>
|
||||
</li>
|
||||
{{#if system.skillfamiliarity}}
|
||||
|
||||
{{#if (not system.skillprofiency)}}
|
||||
<li class="flexrow"><label class="item-field-label-long">Familiarity only</label>
|
||||
<input type="checkbox" class="item-field-label-medium item-skill-familiarity" name="system.skillfamiliarity" {{checked system.skillfamiliarity}}
|
||||
data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long">Everyman skill</label>
|
||||
<input type="checkbox" class="item-field-label-medium item-skill-everyman" name="system.skilleveryman" {{checked system.skilleveryman}} data-dtype="Number"/>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow"><label class="item-field-label-long">Proficency</label>
|
||||
<input type="checkbox" class="item-field-label-medium item-skill-profiency" name="system.skillprofiency" {{checked system.skillprofiency}}
|
||||
{{#if (or system.skillfamiliarity system.skilllevelonly)}}disabled{{/if}}
|
||||
data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
{{#if (ne system.skilltype "combat")}}
|
||||
<li class="flexrow"><label class="item-field-label-long">Levels Cost</label>
|
||||
|
@ -3,33 +3,114 @@
|
||||
<span class="item-name-img">
|
||||
<label class=""> </label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Qty</label>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">Qty</label>
|
||||
</span>
|
||||
<span class="item-field-label-long3">
|
||||
<label class="item-field-label-long3">{{title}}</label>
|
||||
<span class="item-field-label-long2">
|
||||
<label class="item-field-label-long2">{{title}}</label>
|
||||
</span>
|
||||
<span class="item-field-label-long">
|
||||
<label class="item-field-label-long4">Display</label>
|
||||
|
||||
{{#if (or (eq title "Money") (eq title "Equipment"))}}
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq title "Weapons")}}
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">OCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">DCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">rMod</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">Rng</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq title "Shields")}}
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">OCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">DCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">OMCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">DMCV</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short"> </label>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq title "Armor")}}
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">PD</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">ED</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">rPD</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">rED</label>
|
||||
</span>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">DCV</label>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-long2">
|
||||
<label class="item-field-label-long2">Display</label>
|
||||
</span>
|
||||
|
||||
{{#if (and (ne title "Armor") (ne title "Shields"))}}
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Effect</label>
|
||||
</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short"> </label>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Roll</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">END</label>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">END</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Value</label>
|
||||
<span class="item-field-label-very-short">
|
||||
<label class="item-field-label-very-short">Value</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="item-field-label-short">Weight</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="equipment" title="Create Item"><i class="fas fa-plus"></i></a>
|
||||
|
||||
<div class="item-controls item-controls-fixed-small">
|
||||
<a class="item-control item-add" data-type="equipment" title="Create Item"><i class="fas fa-plus item-controls-fixed-small"></i></a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
@ -1,17 +1,59 @@
|
||||
<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-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-long3">{{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>
|
||||
|
||||
<span class="item-field-label-long"><label>{{equip.system.displayname}}
|
||||
{{#if (or (eq equip.system.subtype "money") (eq equip.system.subtype "equipment"))}}
|
||||
<span class="item-field-label-very-short"><label> </label> </span>
|
||||
<span class="item-field-label-very-short"><label> </label> </span>
|
||||
<span class="item-field-label-very-short"><label> </label> </span>
|
||||
<span class="item-field-label-very-short"><label> </label> </span>
|
||||
<span class="item-field-label-very-short"><label> </label> </span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq equip.system.subtype "weapon")}}
|
||||
<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> </label> </span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq equip.system.subtype "shield")}}
|
||||
<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> </label> </span>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq equip.system.subtype "armor")}}
|
||||
<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}}
|
||||
</label>
|
||||
</span>
|
||||
|
||||
{{#if (and (ne equip.system.subtype "armor") (ne equip.system.subtype "shield"))}}
|
||||
<span class="item-field-label-short"><label><a class="roll-damage" data-type="perk"><i class="fas fa-dice"></i>{{equip.system.damage}}</a>
|
||||
</label>
|
||||
</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short"><label> </label></span>
|
||||
{{/if}}
|
||||
|
||||
{{#if equip.system.hasroll}}
|
||||
<span class="item-field-label-short"><a class="roll-item" data-type="perk"><i class="fas fa-dice"></i>{{equip.system.roll}}-</a></span>
|
||||
@ -19,13 +61,12 @@
|
||||
<span class="item-field-label-short"> </span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-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-short"><label>{{mul equip.system.quantity equip.system.value}}</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-filler"> </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>
|
||||
|
@ -1,9 +1,9 @@
|
||||
<li class="item stat flexrow list-item list-item-shadow" data-attr-key="{{key}}">
|
||||
|
||||
<input type="text" class="item-field-label-medium" name="system.characteristics.{{key}}.value"
|
||||
<input type="text" class="item-field-label-short" name="system.characteristics.{{key}}.value"
|
||||
value="{{charac.value}}" data-dtype="Number" />
|
||||
|
||||
<span class="item-field-label-medium" name="{{key}}">
|
||||
<span class="item-field-label-medium margin-space-4" name="{{key}}">
|
||||
<h4 class="item-field-label-medium margin-item-list">{{charac.label}}</a></h4>
|
||||
</span>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user