mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fallback action description to item description when posted in chat (#1310)
This commit is contained in:
parent
d1cbaa7809
commit
28401989d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue