Fallback action description to item description when posted in chat

This commit is contained in:
Carlos Fernandez 2025-11-19 20:16:59 -05:00
parent d1cbaa7809
commit ace92fcd80

View file

@ -260,7 +260,7 @@ export function ActionMixin(Base) {
origin: origin,
action: { name: this.name, img: this.img, tags: this.tags ? this.tags : ['Spell', 'Arcana', 'Lv 10'] },
itemOrigin: this.item,
description: this.description
description: this.description || (this.item instanceof Item ? this.item.system.description : "")
};
const msg = {
type: 'abilityUse',