fix and equipped props
This commit is contained in:
@@ -22,6 +22,14 @@ export class BaseSheetL5r5e extends ActorSheet {
|
||||
return this.object.update(formData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle dropped data on the Actor sheet
|
||||
*/
|
||||
// _onDrop(event) {
|
||||
// console.log('*** event', event);
|
||||
// return false;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Subscribe to events from the sheet.
|
||||
* @param html HTML content of the sheet.
|
||||
|
||||
@@ -20,8 +20,6 @@ export class NpcSheetL5r5e extends BaseSheetL5r5e {
|
||||
getData() {
|
||||
const sheetData = super.getData();
|
||||
|
||||
this._prepareItems(sheetData);
|
||||
|
||||
sheetData.data.types = NpcSheetL5r5e.types;
|
||||
|
||||
return sheetData;
|
||||
|
||||
@@ -141,7 +141,8 @@
|
||||
"quantity": 1,
|
||||
"rarity": 0,
|
||||
"weight": 0,
|
||||
"zeni": 0
|
||||
"zeni": 0,
|
||||
"equipped": false
|
||||
},
|
||||
"armor": {
|
||||
"quantity": 1,
|
||||
@@ -153,7 +154,8 @@
|
||||
},
|
||||
"properties": "",
|
||||
"rarity": 0,
|
||||
"zeni": 0
|
||||
"zeni": 0,
|
||||
"equipped": false
|
||||
},
|
||||
"weapon": {
|
||||
"category": "",
|
||||
@@ -168,7 +170,8 @@
|
||||
"rarity": 0,
|
||||
"weight": 0,
|
||||
"zeni": 0,
|
||||
"description": ""
|
||||
"description": "",
|
||||
"equipped": false
|
||||
},
|
||||
"technique": {
|
||||
"technique_type": "",
|
||||
|
||||
Reference in New Issue
Block a user