Big WIP...

This commit is contained in:
2022-06-12 19:40:44 +02:00
parent 698ff79d41
commit 255c0a77b4
5 changed files with 56 additions and 58 deletions

View File

@ -37,11 +37,11 @@ export class RdDActorVehiculeSheet extends ActorSheet {
editable: this.isEditable,
cssClass: this.isEditable ? "editable" : "locked",
data: foundry.utils.deepClone(this.object.system),
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
effects: this.object.effects.map(e => foundry.utils.deepClone(e)),
limited: this.object.limited,
options: this.options,
owner: this.document.isOwner,
itemsByType: Misc.classify(this.object.items.map(i => foundry.utils.deepClone(i.data))),
itemsByType: Misc.classify(this.object.items.map(i => foundry.utils.deepClone(i))),
};
RdDUtility.filterItemsPerTypeForSheet(formData);