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

@ -36,12 +36,12 @@ export class RdDActorEntiteSheet extends ActorSheet {
editable: this.isEditable,
cssClass: this.isEditable ? "editable" : "locked",
data: foundry.utils.deepClone(this.actor.system),
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
effects: this.object.effects.map(e => foundry.utils.deepClone(e)),
// items: items,
limited: this.object.limited,
options: this.options,
owner: this.document.isOwner,
itemsByType: Misc.classify(this.object.items.map(i => foundry.utils.deepClone(i.system))),
itemsByType: Misc.classify(this.object.items.map(i => foundry.utils.deepClone(i))),
};
formData.options.isGM = game.user.isGM;