Fallback action description to item description when posted in chat (#1310)

This commit is contained in:
Carlos Fernandez 2025-11-20 00:56:32 -08:00 committed by GitHub
parent d1cbaa7809
commit 28401989d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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