Minor fix for chronicles v1

This commit is contained in:
2025-12-04 18:26:26 +01:00
parent 6de15eeda7
commit 3fa5ca66d1
7 changed files with 285 additions and 115 deletions

View File

@@ -958,7 +958,7 @@ body.system-bol img#logo {
}
.journal-page-content {
color: rgba(0, 0, 0, 0.95);
/*color: rgba(0, 0, 0, 0.95);*/
}
.bol.sheet.actor .window-content form .sidebar .profile-img {

View File

@@ -111,7 +111,7 @@
"BOL.ui.defender": "Verteidiger",
"BOL.ui.difficulty": "Schwierigkeit",
"BOL.ui.spellProperties": "Zaubereigenschaften",
"BOL.ui.duration": "Dauer",
"BOL.ui.duration": "Dauer",
"BOL.ui.spellkeep": "Aufrechterhalten",
"BOL.ui.concentrate": "Konzentrieren",
"BOL.ui.registerInit": "Register Init.",
@@ -134,7 +134,7 @@
"BOL.ui.makeAlchemy": "Alchemika herstellen",
"BOL.ui.alchemyCostTotal": "Alchemiepunkte ingesamt",
"BOL.ui.alchemyInvest": "Alchemiepunkte investieren",
"BOL.ui.alchemyCurrent": "Aktuelle Alchemiepunkte in Objekten",
"BOL.ui.alchemyCurrent": "Aktuelle Alchemiepunkte in Objekten",
"BOL.ui.advance": "Status",
"BOL.ui.isadvantage": "Gibt zusätzlichen Würfel?",
"BOL.ui.isbonusdice": "Gibt zusätzlichen Würfel?",
@@ -153,8 +153,8 @@
"BOL.ui.status": "Status",
"BOL.ui.toactivated": "Aktiv (>Deaktivieren)",
"BOL.ui.todeactivated": "Inaktiv (>Aktivieren)",
"BOL.ui.armorAgiMalus": "Rüschtung+Schild-Malus (Geschick)",
"BOL.ui.armorInitMalus": "Rüstungsmalus (Init)",
"BOL.ui.armorAgiMalus": "Rüschtung+Schild-Malus (Geschick)",
"BOL.ui.armorInitMalus": "Rüstungsmalus (Init)",
"BOL.ui.attackValue": "Angriffswert",
"BOL.ui.initMalus": "Init malus",
"BOL.ui.createEquipment": "Create Equipment",
@@ -177,7 +177,7 @@
"BOL.featureSubtypes.fightOption": "Kampfoption",
"BOL.bougette.nomoney": "Mittellos",
"BOL.bougette.tolive": "Zum Überleben",
"BOL.bougette.tolive": "Zum Überleben",
"BOL.bougette.easylife": "Einfaches Leben",
"BOL.bougette.luxury" : "Luxuriöses Leben",
"BOL.bougette.rich": "Reich!",
@@ -224,14 +224,14 @@
"BOL.protectionCategory.other": "Verschiedenes",
"BOL.spellItem.charm": "Zauber",
"BOL.spellItem.circle1": "Erster Kreis",
"BOL.spellItem.circle2": "Zweiter Kreis",
"BOL.spellItem.circle3": "Dritter Kreis",
"BOL.spellItem.circle1": "Erster Kreis",
"BOL.spellItem.circle2": "Zweiter Kreis",
"BOL.spellItem.circle3": "Dritter Kreis",
"BOL.alchemyItem.common": "Häufig",
"BOL.alchemyItem.scarce": "Selten",
"BOL.alchemyItem.legend": "Legendär",
"BOL.alchemyItem.mythic": "Mystisch",
"BOL.alchemyItem.common": "Häufig",
"BOL.alchemyItem.scarce": "Selten",
"BOL.alchemyItem.legend": "Legendär",
"BOL.alchemyItem.mythic": "Mystisch",
"BOL.weaponCategory.melee": "Nahkampf",
"BOL.weaponCategory.ranged": "Fernkampf",
@@ -290,6 +290,7 @@
"BOL.itemProperty.difficulty": "Schwierigkeit",
"BOL.itemProperty.natural": "Natürliche Waffe",
"BOL.itemProperty.onlymodifier": "Nur Modifikator (d.h. Angriffe von Kreaturen)",
"BOL.itemProperty.attackMalusDice": "Angriffsmalus (Würfel)",
"BOL.itemStat.quantity": "Anzahl",
"BOL.itemStat.weight": "Gewicht",
@@ -359,7 +360,7 @@
"BOL.ui.astrologerPoints": "Points d'Astrologie",
"BOL.ui.astrologerPointsLabel": "Points d'Astrologie actuels",
"BOL.ui.ishoroscopemajor": "Horoscope Majeur (ie de groupe) ?",
"BOL.ui.answer": "Réponse",
"BOL.ui.answer": "Réponse",
"BOL.ui.horoscopefavorable": "Favorable (1dB)",
"BOL.ui.horoscopeunfavorable": "Défavorable (1dM)",
"BOL.ui.horoscopes": "Horoscopes",
@@ -468,7 +469,7 @@
"BOL.chat.welcome4": "Im Discord findet ihr Support für die FoundryVTT-Implementierung dieses Systems: https://discord.gg/pPSDNJk",
"BOL.chat.welcome5": "Auf ein gutes Spiel in Lemuria!",
"BOL.chat.welcome6": "",
"BOL.chat.bolRulebookMessage": "Don't miss the full Rulebook module (including Sagas) available at : https://www.ludospherik-editions.com/en_gb/ !",
"BOL.chat.bolRulebookMessage": "Don't miss the full Rulebook module (including Sagas) available at : https://www.ludospherik-editions.com/en_gb/ !",
"BOL.settings.rollArmor": "Roll for armor",
"BOL.settings.rollArmorTooltip": "Roll for armor value, fixed value if unchecked",

View File

@@ -365,6 +365,7 @@
"BOL.itemProperty.difficulty": "Difficulty",
"BOL.itemProperty.natural": "Natural weapon",
"BOL.itemProperty.onlymodifier": "Modifier only (ie creatures attacks)",
"BOL.itemProperty.attackMalusDice": "Attack Malus (Dice)",
"BOL.itemStat.quantity": "Quantity",
"BOL.itemStat.weight": "Weight",

View File

@@ -132,7 +132,7 @@
"BOL.ui.defender": "Defensor",
"BOL.ui.difficulty": "Dificultad",
"BOL.ui.spellProperties": "Propiedades Conjuro",
"BOL.ui.duration": "Duración",
"BOL.ui.duration": "Duración",
"BOL.ui.spellkeep": "Mantenimiento",
"BOL.ui.concentrate": "Concentración",
"BOL.ui.registerInit": "Registrar Inic.",
@@ -156,7 +156,7 @@
"BOL.ui.makeAlchemy": "Realizar Alquimia",
"BOL.ui.alchemyCostTotal": "Coste Total Puntos Alquimia",
"BOL.ui.alchemyInvest": "Invertir Puntos Alquimia",
"BOL.ui.alchemyCurrent": "Puntos Alquimia actuales en Objeto",
"BOL.ui.alchemyCurrent": "Puntos Alquimia actuales en Objeto",
"BOL.ui.advance": "Estado",
"BOL.ui.isadvantage": "¿Da un dado ventaja?",
"BOL.ui.bonusmalus": "Ventaja/desventaja adicional",
@@ -245,7 +245,7 @@
"BOL.featureSubtypes.xplog": "Diario PX",
"BOL.bougette.nomoney": "Nada",
"BOL.bougette.tolive": "Vivir justo",
"BOL.bougette.tolive": "Vivir justo",
"BOL.bougette.easylife": "Vida simple",
"BOL.bougette.luxury" : "Vida lujosa",
"BOL.bougette.rich": "¡Rico!",
@@ -293,15 +293,15 @@
"BOL.protectionCategory.helm": "Casco",
"BOL.protectionCategory.other": "Otro",
"BOL.spellItem.charm": "Truco",
"BOL.spellItem.circle1": "Primer Círculo",
"BOL.spellItem.circle2": "Segundo Círculo",
"BOL.spellItem.circle3": "Tercer Círculo",
"BOL.spellItem.charm": "Truco",
"BOL.spellItem.circle1": "Primer Círculo",
"BOL.spellItem.circle2": "Segundo Círculo",
"BOL.spellItem.circle3": "Tercer Círculo",
"BOL.alchemyItem.common": "Común",
"BOL.alchemyItem.scarce": "Escaso",
"BOL.alchemyItem.legend": "Legendario",
"BOL.alchemyItem.mythic": "Mítico",
"BOL.alchemyItem.common": "Común",
"BOL.alchemyItem.scarce": "Escaso",
"BOL.alchemyItem.legend": "Legendario",
"BOL.alchemyItem.mythic": "Mítico",
"BOL.weaponCategory.melee": "Melé",
"BOL.weaponCategory.ranged": "Distancia",
@@ -359,6 +359,7 @@
"BOL.itemProperty.difficulty": "Dificultad",
"BOL.itemProperty.natural": "Arma natural",
"BOL.itemProperty.onlymodifier": "Sólo modificador (ej criatura)",
"BOL.itemProperty.attackMalusDice": "Dado Desventaja Ataque",
"BOL.itemStat.quantity": "Cantidad",
"BOL.itemStat.weight": "Peso",
@@ -452,7 +453,7 @@
"BOL.size.colossal": "Colosal",
"BOL.chat.fightactive": "¡Activa la opción de combate {foName} este asalto!",
"BOL.chat.fightunactive": "¡Desactiva la opción de combate {foName} este asalto!",
"BOL.chat.fightunactive": "¡Desactiva la opción de combate {foName} este asalto!",
"BOL.chat.isdead": "¡{name} esta muerto!",
"BOL.chat.epitaph": "¡Guardar el honor de su nombre y su memoria!",
"BOL.chat.vitalityzero": "Vitalidad de {name} es {hp}: ¡va a caer inconsciente!",
@@ -534,7 +535,7 @@
"BOL.chat.criticalinfo": "¡Esto es un éxito Asombroso o Legendario! Escoge tus opciones y efectos",
"BOL.chat.criticalbuttonjournal": "Éxito Asombroso/Legendario",
"BOL.chat.armorRoll": "Tirada de Armadura",
"BOL.chat.bolRulebookMessage": "Don't miss the full Rulebook module (including Sagas) available at : https://www.ludospherik-editions.com/en_gb/ !",
"BOL.chat.bolRulebookMessage": "Don't miss the full Rulebook module (including Sagas) available at : https://www.ludospherik-editions.com/en_gb/ !",
"BOL.dialog.soeasy": "Demasiado fácil (+4)",
"BOL.dialog.veryeasy": "Muy fácil (+2)",
@@ -554,7 +555,7 @@
"BOL.dialog.long": "Larga (-2)",
"BOL.dialog.distant": "Distante (-4)",
"BOL.dialog.extreme": "Extrema (-6)",
"BOL.dialog.utmost": "Límite (-8)",
"BOL.dialog.utmost": "Límite (-8)",
"BOL.ui.name": "Nombre",
"BOL.ui.xp": "Experiencia",

View File

@@ -394,7 +394,8 @@
"BOL.itemProperty.isboarding": "Abordage",
"BOL.itemProperty.isspur": "Eperonnage",
"BOL.itemProperty.isbreakrow": "Briser les rames",
"BOL.itemProperty.attackMalusDice": "Malus d'attaque (Dés)",
"BOL.itemStat.quantity": "Quantité",
"BOL.itemStat.weight": "Poids",
"BOL.itemStat.price": "Prix",

View File

@@ -19,9 +19,9 @@ export class BoLRoll {
static updateApplicableEffects(rollData) {
let appEffects = []
for (let effect of rollData.bolEffects) {
if ( (effect.system.properties.identifier == "always") ||
(effect.system.properties.identifier.includes(rollData.attribute.key)) ||
(rollData.aptitude && effect.system.properties.identifier.includes(rollData.aptitude.key)) ){
if ((effect.system.properties.identifier == "always") ||
(effect.system.properties.identifier.includes(rollData.attribute.key)) ||
(rollData.aptitude && effect.system.properties.identifier.includes(rollData.aptitude.key))) {
appEffects.push(effect)
}
}
@@ -76,7 +76,7 @@ export class BoLRoll {
}
/* -------------------------------------------- */
static attributeCheck(actor, key="vigor", event=undefined, combatData=undefined) {
static attributeCheck(actor, key = "vigor", event = undefined, combatData = undefined) {
let attribute = eval(`actor.system.attributes.${key}`)
@@ -89,7 +89,7 @@ export class BoLRoll {
}
/* -------------------------------------------- */
static aptitudeCheck(actor, key="init", event=undefined, combatData=undefined) {
static aptitudeCheck(actor, key = "init", event = undefined, combatData = undefined) {
let aptitude = eval(`actor.system.aptitudes.${key}`)
let attrKey = this.getDefaultAttribute(key)
@@ -482,10 +482,15 @@ export class BoLRoll {
if (rollData.mode == "weapon") {
rollData.weaponModifier = rollData.weapon.system.properties.attackModifiers ?? 0
rollData.attackBonusDice = rollData.weapon.system.properties.attackBonusDice
rollData.attackMalusDice = rollData.weapon.system.properties.attackMalusDice
if (rollData.attackBonusDice) {
rollData.adv = "1B"
rollData.bDice = 1
}
if (rollData.attackMalusDice) {
rollData.adv = "1M"
rollData.mDice = 1
}
if (defender) { // If target is selected
rollData.defence = defender.defenseValue
rollData.armorMalus = defender.armorMalusValue
@@ -534,6 +539,7 @@ export class BoLRoll {
rollData.id = foundry.utils.randomID(16)
rollData.weaponModifier = 0
rollData.attackBonusDice = false
rollData.attackMalusDice = false
rollData.armorMalus = 0
// Specific stuff
this.preProcessWeapon(rollData, defender)
@@ -634,7 +640,7 @@ export class BoLDefaultRoll {
const diceTotal = activeDice.map(r => r.result).reduce((a, b) => a + b)
this.rollData.roll = r
this.rollData.isFumble = (diceTotal <= diceData.criticalFailureValue)
if ( this.rollData.isFumble ) {
if (this.rollData.isFumble) {
this.rollData.isSuccess = false
this.rollData.isCritical = false
this.rollData.isRealCritical = false
@@ -642,7 +648,7 @@ export class BoLDefaultRoll {
this.rollData.isFailure = true
} else {
this.rollData.isCritical = (diceTotal >= diceData.criticalSuccessValue)
if ( this.rollData.isCritical) {
if (this.rollData.isCritical) {
this.rollData.isSuccess = true
} else {
this.rollData.isSuccess = (r.total >= diceData.successValue)

View File

@@ -3,20 +3,40 @@
<label>{{localize "BOL.ui.reach"}}</label>
<div class="form-fields">
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.melee" {{checked
item.system.properties.melee}}> {{localize "BOL.itemProperty.melee"}}
<input
class="field-value"
type="checkbox"
name="system.properties.melee"
{{checked item.system.properties.melee}}
/>
{{localize "BOL.itemProperty.melee"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.ranged" {{checked
item.system.properties.ranged}}> {{localize "BOL.itemProperty.ranged"}}
<input
class="field-value"
type="checkbox"
name="system.properties.ranged"
{{checked item.system.properties.ranged}}
/>
{{localize "BOL.itemProperty.ranged"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.throwing" {{checked
item.system.properties.throwing}}> {{localize "BOL.itemProperty.throwing"}}
<input
class="field-value"
type="checkbox"
name="system.properties.throwing"
{{checked item.system.properties.throwing}}
/>
{{localize "BOL.itemProperty.throwing"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.natural" {{checked
item.system.properties.natural}}> {{localize "BOL.itemProperty.natural"}}
<input
class="field-value"
type="checkbox"
name="system.properties.natural"
{{checked item.system.properties.natural}}
/>
{{localize "BOL.itemProperty.natural"}}
</label>
</div>
</div>
@@ -25,138 +45,278 @@
<label>{{localize "BOL.ui.properties"}}</label>
<div class="form-fields">
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.2H" {{checked item.system.properties.2H}}>
<input
class="field-value"
type="checkbox"
name="system.properties.2H"
{{checked item.system.properties.2H}}
/>
{{localize "BOL.itemProperty.2H"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.concealable" {{checked
item.system.properties.concealable}}> {{localize "BOL.itemProperty.concealable"}}
<input
class="field-value"
type="checkbox"
name="system.properties.concealable"
{{checked item.system.properties.concealable}}
/>
{{localize "BOL.itemProperty.concealable"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.ignoreshield" {{checked
item.system.properties.ignoreshield}}> {{localize "BOL.itemProperty.ignoreshield"}}
<input
class="field-value"
type="checkbox"
name="system.properties.ignoreshield"
{{checked item.system.properties.ignoreshield}}
/>
{{localize "BOL.itemProperty.ignoreshield"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.attackBonusDice" {{checked
item.system.properties.attackBonusDice}}> {{localize "BOL.itemProperty.attackBonusDice"}}
<input
class="field-value"
type="checkbox"
name="system.properties.attackBonusDice"
{{checked item.system.properties.attackBonusDice}}
/>
{{localize "BOL.itemProperty.attackBonusDice"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.onlymodifier" {{checked
item.system.properties.onlymodifier}}> {{localize "BOL.itemProperty.onlymodifier"}}
<input
class="field-value"
type="checkbox"
name="system.properties.attackMalusDice"
{{checked item.system.properties.attackMalusDice}}
/>
{{localize "BOL.itemProperty.attackMalusDice"}}
</label>
<label class="checkbox">
<input
class="field-value"
type="checkbox"
name="system.properties.onlymodifier"
{{checked item.system.properties.onlymodifier}}
/>
{{localize "BOL.itemProperty.onlymodifier"}}
</label>
{{#if item.system.properties.ranged}}
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.reloadable" {{checked
item.system.properties.reloadable}}> {{localize "BOL.itemProperty.reloadable"}}
</label>
<label class="checkbox">
<input
class="field-value"
type="checkbox"
name="system.properties.reloadable"
{{checked item.system.properties.reloadable}}
/>
{{localize "BOL.itemProperty.reloadable"}}
</label>
{{/if}}
{{#if item.system.properties.melee}}
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.bashing" {{checked
item.system.properties.bashing}}> {{localize "BOL.itemProperty.bashing"}}
</label>
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.throwable" {{checked
item.system.properties.throwable}}> {{localize "BOL.itemProperty.throwable"}}
</label>
<label class="checkbox">
<input
class="field-value"
type="checkbox"
name="system.properties.bashing"
{{checked item.system.properties.bashing}}
/>
{{localize "BOL.itemProperty.bashing"}}
</label>
<label class="checkbox">
<input
class="field-value"
type="checkbox"
name="system.properties.throwable"
{{checked item.system.properties.throwable}}
/>
{{localize "BOL.itemProperty.throwable"}}
</label>
{{/if}}
</div>
</div>
<hr />
{{#if (not item.system.properties.onlymodifier)}}
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.attackAttribute"}}</label>
<div class="form-fields center">
<select class="field-value" name="system.properties.attackAttribute" data-dtype="String">
{{selectOptions config.attackAttributes selected=item.system.properties.attackAttribute localize=true}}
</select>
<div class="form-group">
<label class="property-label">{{localize
"BOL.itemProperty.attackAttribute"
}}</label>
<div class="form-fields center">
<select
class="field-value"
name="system.properties.attackAttribute"
data-dtype="String"
>
{{selectOptions
config.attackAttributes
selected=item.system.properties.attackAttribute
localize=true
}}
</select>
</div>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.attackAptitude"}}</label>
<div class="form-fields center">
<select class="field-value" name="system.properties.attackAptitude" data-dtype="String">
{{selectOptions config.attackAptitudes selected=item.system.properties.attackAptitude localize=true}}
</select>
<div class="form-group">
<label class="property-label">{{localize
"BOL.itemProperty.attackAptitude"
}}</label>
<div class="form-fields center">
<select
class="field-value"
name="system.properties.attackAptitude"
data-dtype="String"
>
{{selectOptions
config.attackAptitudes
selected=item.system.properties.attackAptitude
localize=true
}}
</select>
</div>
</div>
</div>
{{/if}}
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.attackModifiers"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.attackModifiers"
}}</label>
<div class="form-fields center">
<input class="field-value" type="text" name="system.properties.attackModifiers"
value="{{item.system.properties.attackModifiers}}" data-dtype="Number" />
<input
class="field-value"
type="text"
name="system.properties.attackModifiers"
value="{{item.system.properties.attackModifiers}}"
data-dtype="Number"
/>
</div>
</div>
<hr />
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.weaponSize"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.weaponSize"
}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.weaponSize" data-dtype="String">
{{selectOptions config.weaponSizes selected=item.system.properties.weaponSize localize=true}}
<select
class="field-value"
name="system.properties.weaponSize"
data-dtype="String"
>
{{selectOptions
config.weaponSizes
selected=item.system.properties.weaponSize
localize=true
}}
</select>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.damage"}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.damage" data-dtype="String">
{{selectOptions config.damageValues selected=item.system.properties.damage}}
<select
class="field-value"
name="system.properties.damage"
data-dtype="String"
>
{{selectOptions
config.damageValues
selected=item.system.properties.damage
}}
</select>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.damageAttribute"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.damageAttribute"
}}</label>
<div class="form-fields center">
<select class="field-value" name="system.properties.damageAttribute" data-dtype="String">
{{selectOptions config.damageAttributes selected=item.system.properties.damageAttribute localize=true}}
<select
class="field-value"
name="system.properties.damageAttribute"
data-dtype="String"
>
{{selectOptions
config.damageAttributes
selected=item.system.properties.damageAttribute
localize=true
}}
</select>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.damageModifiers"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.damageModifiers"
}}</label>
<div class="form-fields center">
<input class="field-value" type="text" name="system.properties.damageModifiers"
value="{{item.system.properties.damageModifiers}}" data-dtype="Number" />
<input
class="field-value"
type="text"
name="system.properties.damageModifiers"
value="{{item.system.properties.damageModifiers}}"
data-dtype="Number"
/>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.damageMultiplier"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.damageMultiplier"
}}</label>
<div class="form-fields center">
<select class="field-value" name="system.properties.damageMultiplier" data-dtype="String">
{{selectOptions config.damageMultiplier selected=item.system.properties.damageMultiplier}}
<select
class="field-value"
name="system.properties.damageMultiplier"
data-dtype="String"
>
{{selectOptions
config.damageMultiplier
selected=item.system.properties.damageMultiplier
}}
</select>
</div>
</div>
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.damageSpecial"}}</label>
<label class="property-label">{{localize
"BOL.itemProperty.damageSpecial"
}}</label>
<div class="form-fields center">
<label class="checkbox">
<input class="field-value" type="checkbox" name="system.properties.damageReroll1" {{checked
item.system.properties.damageReroll1}}> {{localize "BOL.itemProperty.damageReroll1"}}
<input
class="field-value"
type="checkbox"
name="system.properties.damageReroll1"
{{checked item.system.properties.damageReroll1}}
/>
{{localize "BOL.itemProperty.damageReroll1"}}
</label>
</div>
</div>
{{#if (or item.system.properties.throwing (or item.system.properties.ranged item.system.properties.throwable))}}
<hr />
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.range"}}</label>
<div class="form-fields center">
<input class="field-value" type="text" name="system.properties.range" value="{{item.system.properties.range}}"
data-dtype="Number" />
{{#if
(or
item.system.properties.throwing
(or item.system.properties.ranged item.system.properties.throwable)
)
}}
<hr />
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.range"}}</label>
<div class="form-fields center">
<input
class="field-value"
type="text"
name="system.properties.range"
value="{{item.system.properties.range}}"
data-dtype="Number"
/>
</div>
</div>
</div>
{{/if}}
{{#if item.system.properties.reloadable}}
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.reload"}}</label>
<div class="form-fields center">
<input class="field-value" type="text" name="system.properties.reload" value="{{item.system.properties.reload}}"
data-dtype="Number" />
<div class="form-group">
<label class="property-label">{{localize "BOL.itemProperty.reload"}}</label>
<div class="form-fields center">
<input
class="field-value"
type="text"
name="system.properties.reload"
value="{{item.system.properties.reload}}"
data-dtype="Number"
/>
</div>
</div>
</div>
{{/if}}