From 6307658d7ba4804bdb1200e0abc51826bef919b3 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 12 Apr 2020 14:40:54 +0200 Subject: [PATCH] Manage talents implying char. augmentation --- babele-register.js | 13 +++++++++++++ fr.json | 5 ++++- module.json | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/babele-register.js b/babele-register.js index 65a135a..8c44317 100644 --- a/babele-register.js +++ b/babele-register.js @@ -151,6 +151,19 @@ Hooks.once('init', () => { // Replace to manage specific bonuses/char. computations CONFIG.Actor.entityClass = ActorWfrp4e_fr; + WFRP4E.talentBonuses = { + "perspicace": "int", + "affable": "fel", + "tireur de précision": "bs", + "très fort": "s", + "vivacité": "i", + "reflexes foudroyants": "ag", + "imperturbable": "wp", + "très résistant": "t", + "doigts de fée": "dex", + "guerrier né": "ws" + } + if(typeof Babele !== 'undefined') { diff --git a/fr.json b/fr.json index 2a9381c..b437422 100644 --- a/fr.json +++ b/fr.json @@ -877,6 +877,9 @@ "NAME.Stealth" : "Discrétion", "AP" : "PA", - "Scatter" : "Dispersion" + "Scatter" : "Dispersion", + "yard" : "mètre", + "yards" : "mètres", + "Ammo" : "Munition" } diff --git a/module.json b/module.json index b04f448..2589783 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "WH4-fr-translation", "title": "Traduction du module WH4 en Français.", "description": "La traduction du module WH4.", - "version": "0.45", + "version": "0.46", "minimumCoreVersion" : "0.5.1", "author": "LeRatierBretonnien", "esmodules": ["babele-register.js"],