-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4898] Add support for multiple abilities in single save enricher
A single save enricher can now specify multiple abilities: ```html [[/save ability=strength/dexterity]] [[/save str dex]] ``` This will result in an enriched link for each ability as well as a request roll link that posts a single chat card with a button for each ability.
- Loading branch information
Showing
2 changed files
with
94 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<div class="dnd5e2 chat-card request-card"> | ||
<div class="card-buttons"> | ||
<button {{dnd5e-dataset dataset}}> | ||
<span class="visible-dc">{{{buttonLabel}}}</span> | ||
<span class="hidden-dc">{{{hiddenLabel}}}</span> | ||
{{#each buttons}} | ||
<button {{ dnd5e-dataset dataset }}> | ||
<span class="visible-dc">{{{ buttonLabel }}}</span> | ||
<span class="hidden-dc">{{{ hiddenLabel }}}</span> | ||
</button> | ||
{{/each}} | ||
</div> | ||
</div> |