Fixed chat message data for summon actions

This commit is contained in:
WBHarry 2026-07-13 22:39:24 +02:00
parent ac6a7a7f43
commit 4018752020
5 changed files with 32 additions and 23 deletions

View file

@ -269,7 +269,7 @@ export function ActionMixin(Base) {
return this.delete();
}
async toChat(origin) {
async toChat(origin, config) {
const autoExpandDescription = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance)
.expandRollMessage?.desc;
@ -282,7 +282,7 @@ export function ActionMixin(Base) {
img: this.baseAction ? this.parent.parent.img : this.img,
tags: this.tags ? this.tags : ['Spell', 'Arcana', 'Lv 10'],
areas: this.areas,
summon: this.summon
summon: config?.summonData
},
source: {
actor: this.actor.uuid,