diff --git a/.gitignore b/.gitignore index 0fd0354..33afa0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,14 @@ -.history/ +.vscode/settings.json +.idea +.history +todo.md +/.vscode +/ignored/ +/node_modules/ +/jsconfig.json +/package.json +/package-lock.json +/packs/*/ +/packs/*/CURRENT +/packs/*/LOG +/packs/*/LOCK diff --git a/lang/de.json b/lang/de.json index 56ad020..3103705 100644 --- a/lang/de.json +++ b/lang/de.json @@ -355,6 +355,16 @@ "BOL.vehicleCategory.boat" : "Schiff", "BOL.vehicleCategory.other" : "Anderes", + "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.horoscopefavorable": "Favorable (1dB)", + "BOL.ui.horoscopeunfavorable": "Défavorable (1dM)", + "BOL.ui.horoscopes": "Horoscopes", + "BOL.ui.horoscopesBonus": "Horoscopes (Bonus)", + "BOL.ui.horoscopesMalus": "Horoscopes (Malus)", + "BOL.ui.groupHoroscope": "Horoscrope de Groupe de ", "BOL.range.PointBlank": "Direkt", "BOL.range.Short": "Kurz", diff --git a/lang/en.json b/lang/en.json index 1c70aef..bd6db50 100644 --- a/lang/en.json +++ b/lang/en.json @@ -35,6 +35,17 @@ "BOL.ui.tab.spellalchemy": "Spells & Alchemy", "BOL.ui.tab.astrologer": "Astrologer", + "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.horoscopefavorable": "Favorable (1dB)", + "BOL.ui.horoscopeunfavorable": "Défavorable (1dM)", + "BOL.ui.horoscopes": "Horoscopes", + "BOL.ui.horoscopesBonus": "Horoscopes (Bonus)", + "BOL.ui.horoscopesMalus": "Horoscopes (Malus)", + "BOL.ui.groupHoroscope": "Horoscrope de Groupe de ", + "BOL.ui.properties": "Properties", "BOL.ui.description": "Description", "BOL.ui.actions": "Actions", diff --git a/module/system/bol-utility.js b/module/system/bol-utility.js index 966fb99..59ca9bd 100644 --- a/module/system/bol-utility.js +++ b/module/system/bol-utility.js @@ -658,7 +658,7 @@ export class BoLUtility { let formula = damageString if (damageString.includes("d") || damageString.includes("D")) { - var myReg = new RegExp('(\\d+)[dD]([\\d]+)([MB]*)?([\\+\\d]*)?', 'g') + let myReg = new RegExp('(\\d+)[dD]([\\d]+)([MB]*)?([\\+\\d]*)?', 'g') let res = myReg.exec(damageString) let nbDice = parseInt(res[1]) let postForm = 'kh' + nbDice diff --git a/templates/item/parts/properties/item/protection-properties.hbs b/templates/item/parts/properties/item/protection-properties.hbs index b2220ca..e578c22 100644 --- a/templates/item/parts/properties/item/protection-properties.hbs +++ b/templates/item/parts/properties/item/protection-properties.hbs @@ -76,7 +76,7 @@