This commit is contained in:
2025-08-03 13:58:48 +02:00
parent fbcf44cae2
commit b18286ac5a
6 changed files with 21 additions and 22 deletions

View File

@@ -29,22 +29,6 @@ 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);