working on some parts of Sheets

This commit is contained in:
Vlyan
2020-12-15 19:30:01 +01:00
parent 971c33321e
commit bee3be183e
28 changed files with 546 additions and 334 deletions

View File

@@ -1,3 +1,4 @@
import { L5R5E } from "../l5r5e-config.js";
import { ItemSheetL5r5e } from "./item-sheet.js";
/**
@@ -21,6 +22,9 @@ export class WeaponSheetL5r5e extends ItemSheetL5r5e {
sheetData.data.isWeapon = true;
sheetData.data.isEquipment = true;
sheetData.data.skills = Array.from(L5R5E.skills)
.filter(([id, cat]) => cat === "martial")
.map(([id, cat]) => id);
return sheetData;
}