Implement Spell send to chat

This commit is contained in:
Oliver-Akins 2024-01-26 22:43:26 -07:00
parent b30aa18a27
commit efc9316c31
3 changed files with 24 additions and 1 deletions

View file

@ -49,6 +49,8 @@ export class GenericActorSheet extends ActorSheet {
.on(`click`, this.actor.genericEmbeddedDelete.bind(this.actor));
html.find(`[data-embedded-create]`)
.on(`click`, this.actor.genericEmbeddedCreate.bind(this.actor));
html.find(`[data-message-type]`)
.on(`click`, this.actor.genericSendToChat.bind(this.actor));
html.find(`[data-embedded-edit]`)
.on(`click`, this.actor.openEmbeddedSheet.bind(this.actor));
};