Fix Druidic Stuff

This commit is contained in:
2020-10-06 08:25:51 +02:00
parent cff533935e
commit 30893f1258
3 changed files with 6 additions and 3 deletions

View File

@ -397,10 +397,13 @@ Hooks.once('init', () => {
},
// Search back in careers the translated name of the groupe (as it is the name of the level career itself)
"career_careergroup": (value) => {
// Manage exception
// Manage exception - Dirty hack
if ( value == 'Slayer' ) {
return "Tueurs Nains";
}
if ( value == 'Druidic Priest' ) {
return "Druide";
}
// Per default
var compendium = game.packs.find(p => p.collection === compmod+'.careers');
return compendium.i18nName( { name: value } );