Working on 0.8.x

- Showing titles (title_ability) in techniques pc/npc
This commit is contained in:
Vlyan
2021-05-22 23:12:54 +02:00
parent 90ccfd1d68
commit f8afea9513
4 changed files with 19 additions and 17 deletions

View File

@@ -16,9 +16,11 @@ export class NpcSheetL5r5e extends BaseSheetL5r5e {
});
}
getData() {
/** @inheritdoc */
getData(options = {}) {
const sheetData = super.getData();
// NPC Subtypes
sheetData.data.data.types = NpcSheetL5r5e.types.map((e) => ({
id: e,
label: game.i18n.localize("l5r5e.character_types." + e),