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

@ -40,7 +40,9 @@
<button
class="neutral equal-padding"
aria-label="{{localize "dotdungeon.actor.pc.spells.aria.chat"}}"
data-embedded-chat
data-message-type="Spell"
data-message-flavor="{{spell.name}} {{localize "dotdungeon.actor.pc.spells.title.cost" cost=spell.system.usage_cost}}"
data-message-content="{{spell.system.description}}"
data-embedded-id="{{spell.uuid}}"
>
<div aria-hidden="true" class="icon icon--20">