add buttons to card

This commit is contained in:
walther.johnson 2025-07-06 18:43:21 -06:00
parent ee4a5d17a6
commit 32a0e909fc
6 changed files with 107 additions and 9 deletions

View file

@ -124,7 +124,11 @@ export default class DHItem extends foundry.documents.Item {
img: this.img,
name: this.name,
description: this.system.description,
actions: []
actions: this.system.actions ?? [],
source: {
actor: this.actor?.uuid ?? this.actor?.id ?? null,
item: this.id
}
};
const msg = new cls({
type: 'abilityUse',