diff --git a/modules/babele-register.js b/modules/babele-register.js index 75ace65..711a1b1 100644 --- a/modules/babele-register.js +++ b/modules/babele-register.js @@ -270,6 +270,11 @@ Hooks.once('init', () => { } return skills_list }, + "role_skills": (skills) => { + let skills_list = skills.split(','); + let skillsFR = game.babele.converters.career_skills(skills_list); + return skillsFR.join(', ') + }, "process_effects": (effectsData, translations, data, tc, tc_translations) => { //console.log("Effects :", effectsData, translations, data, tc, tc_translations) for (let e of effectsData) {