✨
This commit is contained in:
@@ -29,6 +29,22 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
|
||||
return this.actor.name;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
getData() {
|
||||
const data = super.getData();
|
||||
data.dtypes = ['String', 'Number', 'Boolean'];
|
||||
|
||||
// // Prepare items.
|
||||
// if (this.actor.type == 'character') {
|
||||
// this._prepareCharacterItems(data);
|
||||
// }
|
||||
// data['totalWealth'] = this.actor.itemTypes.item.reduce((total, item) => total + (!isNaN(item.system.cost) ? item.system.cost * (item.system.quantity ?? 0) : 0), this.actor.system.money);
|
||||
data.data = this.actor.system;
|
||||
// data['origins'] = this.actor.origins;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
_configureRenderOptions(options) {
|
||||
super._configureRenderOptions(options);
|
||||
|
||||
Reference in New Issue
Block a user