Fix class trappings in character creation

This commit is contained in:
2023-09-12 15:55:37 +02:00
parent 6e9df6e59a
commit 4f22403c5f
2 changed files with 17 additions and 6 deletions

View File

@ -176,6 +176,12 @@ export class WH4FRPatchConfig {
game.wfrp4e.config.species["welf"] = "Elfe Sylvain";
}
if (game.wfrp4e.config.classTrappings) {
for(const c of Object.keys(game.wfrp4e.config.classTrappings)) {
game.wfrp4e.config.classTrappings[game.i18n.localize(c)] = game.wfrp4e.config.classTrappings[c];
}
}
this.patch_species_skills();
this.patch_species_talents();
this.patch_subspecies();