some change on items
This commit is contained in:
@@ -8,7 +8,7 @@ export class PeculiaritySheetL5r5e extends ItemSheetL5r5e {
|
||||
/**
|
||||
* Sub Types of Advantage/Disadvantage
|
||||
*/
|
||||
static SUB_TYPES = ["distinction", "passion", "adversity", "anxiety"];
|
||||
static types = ["distinction", "passion", "adversity", "anxiety"];
|
||||
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
@@ -23,7 +23,10 @@ export class PeculiaritySheetL5r5e extends ItemSheetL5r5e {
|
||||
|
||||
getData() {
|
||||
const sheetData = super.getData();
|
||||
|
||||
sheetData.data.dtypes = ["String", "Number", "Boolean"];
|
||||
sheetData.data.subTypesList = PeculiaritySheetL5r5e.types;
|
||||
|
||||
return sheetData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user