Add spell

This commit is contained in:
sladecraven 2022-01-09 14:52:24 +01:00
parent 54ba3225dd
commit e595a16289
5 changed files with 21 additions and 6 deletions

View File

@ -102,7 +102,9 @@
"BOL.ui.shieldMalus": "Malus de Bouclier", "BOL.ui.shieldMalus": "Malus de Bouclier",
"BOL.ui.defenseScore": "Score de Defense", "BOL.ui.defenseScore": "Score de Defense",
"BOL.ui.defender": "Défenseur", "BOL.ui.defender": "Défenseur",
"BOL.ui.difficulty": "Difficulty",
"BOL.ui.spellProperties": "Spell Properties",
"BOL.featureCategory.origins": "Origines", "BOL.featureCategory.origins": "Origines",
"BOL.featureCategory.races": "Races", "BOL.featureCategory.races": "Races",
"BOL.featureCategory.careers": "Carrières", "BOL.featureCategory.careers": "Carrières",
@ -198,6 +200,7 @@
"BOL.itemProperty.slot" : "Emplacement utilisé", "BOL.itemProperty.slot" : "Emplacement utilisé",
"BOL.itemProperty.reload": "Rechargement (Actions)", "BOL.itemProperty.reload": "Rechargement (Actions)",
"BOL.itemProperty.weaponSize" : "Classe d'arme", "BOL.itemProperty.weaponSize" : "Classe d'arme",
"BOL.itemProperty.difficulty": "Difficulty",
"BOL.itemStat.quantity": "Quantité", "BOL.itemStat.quantity": "Quantité",
"BOL.itemStat.weight": "Poids", "BOL.itemStat.weight": "Poids",

View File

@ -103,6 +103,8 @@
"BOL.ui.shieldMalus": "Malus de Bouclier", "BOL.ui.shieldMalus": "Malus de Bouclier",
"BOL.ui.defenseScore": "Score de Defense", "BOL.ui.defenseScore": "Score de Defense",
"BOL.ui.defender": "Défenseur", "BOL.ui.defender": "Défenseur",
"BOL.ui.difficulty": "Difficulté",
"BOL.ui.spellProperties": "Propriétés du Sort",
"BOL.featureCategory.origins": "Origines", "BOL.featureCategory.origins": "Origines",
"BOL.featureCategory.races": "Races", "BOL.featureCategory.races": "Races",
@ -199,6 +201,7 @@
"BOL.itemProperty.slot" : "Emplacement utilisé", "BOL.itemProperty.slot" : "Emplacement utilisé",
"BOL.itemProperty.reload": "Rechargement (Actions)", "BOL.itemProperty.reload": "Rechargement (Actions)",
"BOL.itemProperty.weaponSize" : "Classe d'arme", "BOL.itemProperty.weaponSize" : "Classe d'arme",
"BOL.itemProperty.difficulty": "Difficulté",
"BOL.itemStat.quantity": "Quantité", "BOL.itemStat.quantity": "Quantité",
"BOL.itemStat.weight": "Poids", "BOL.itemStat.weight": "Poids",

View File

@ -189,8 +189,8 @@ BOL.itemProperties2 = {
"throwing" : "BOL.itemProperty.throwing", "throwing" : "BOL.itemProperty.throwing",
"activable" : "BOL.itemProperty.activable", "activable" : "BOL.itemProperty.activable",
"powder" : "BOL.itemProperty.powder", "powder" : "BOL.itemProperty.powder",
"damage" : "BOL.itemProperty.damage" "damage" : "BOL.itemProperty.damage",
"difficulty": "BOL.itemProperty.difficulty"
} }
BOL.itemStats = { BOL.itemStats = {

View File

@ -23,13 +23,13 @@ export const preloadHandlebarsTemplates = async function () {
"systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs", "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs",
"systems/bol/templates/item/parts/properties/item/protection-properties.hbs", "systems/bol/templates/item/parts/properties/item/protection-properties.hbs",
"systems/bol/templates/item/parts/properties/item/weapon-properties.hbs", "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs",
"systems/bol/templates/item/parts/properties/item/spell-properties.hbs",
"systems/bol/templates/item/parts/properties/item/magical-properties.hbs", "systems/bol/templates/item/parts/properties/item/magical-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/career-properties.hbs", "systems/bol/templates/item/parts/properties/feature/career-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/boon-properties.hbs", "systems/bol/templates/item/parts/properties/feature/boon-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs", "systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/origin-properties.hbs", "systems/bol/templates/item/parts/properties/feature/origin-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/race-properties.hbs", "systems/bol/templates/item/parts/properties/feature/race-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/spell-properties.hbs",
// DIALOGS // DIALOGS
"systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs", "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs",
"systems/bol/templates/roll/parts/roll-dialog-attribute.hbs" "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"

View File

@ -1,7 +1,16 @@
<h3 class="form-header">{{localize "BOL.ui.spellProperties"}}</h3> <h3 class="form-header">{{localize "BOL.ui.spellProperties"}}</h3>
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields center">
<label class="property-label">{{localize "BOL.ui.difficulty"}}111</label> <label class="property-label">{{localize "BOL.ui.difficulty"}}</label>
<input class="field-value" type="text" name="data.properties.difficulty" value="{{data.properties.difficulty}}" data-dtype="Number"/> <input class="field-value" type="text" name="data.properties.difficulty" value="{{data.properties.difficulty}}" data-dtype="Number"/>
</div> </div>
</div>
<div class="form-group">
<div class="form-fields center">
<label class="property-label">{{localize "BOL.ui.mandatoryConditions"}}</label>
{{#each data.properties.mandatoryconditions as |cond key|}}
<input class="field-value" type="text" name="data.properties.mandatoryconditions.{{key}}.text" value="{{cond.text}}" data-dtype="String"/>
{{/each}}
</div>
</div> </div>