You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched for existing Bug Reports and found no similar reports.
Expected Behavior
When displaying the legendary actions section of a statblock imported from 5eTools, prior to the list of actions themselves there should be a small paragraph of text which outlines how many legendary actions the creature can use; for example "[Monster] can take 3 legendary actions, choosing from the options below. Only one legendary action can be used at a time and only at the end of another creature's turn. [Monster] regains spent legendary actions at the start of its turn."
Current behaviour
This description paragraph does not display, and the section skips straight to the list of actions themselves. This means viewing the statblock in Obsidian does not reveal how many legendary actions an individual creature gets.
Reproduction
Embed any statblock with legendary actions into an Obsidian page.
I have disabled all other plugins and the issue still persists.
Possible solution
I believe the root of the issue lies in the generic template that 5eTools uses for legendary action introductions (and number of legendary actions). Looking at the statblock in the 5eTools site homebrew builder, I saw that the site doesn't actually have live text in the legendary actions description field for most statblocks; instead, if the "Legendary Actions Intro" field is left blank, it defaults to a template.
Finding a way for the plugin to replace this template when there is no input text is probably the way to resolve.
The text was updated successfully, but these errors were encountered:
Check for existing bug reports before submitting.
Expected Behavior
When displaying the legendary actions section of a statblock imported from 5eTools, prior to the list of actions themselves there should be a small paragraph of text which outlines how many legendary actions the creature can use; for example "[Monster] can take 3 legendary actions, choosing from the options below. Only one legendary action can be used at a time and only at the end of another creature's turn. [Monster] regains spent legendary actions at the start of its turn."
Current behaviour
This description paragraph does not display, and the section skips straight to the list of actions themselves. This means viewing the statblock in Obsidian does not reveal how many legendary actions an individual creature gets.
Reproduction
Which Operating Systems are you using?
Obsidian Version Check
1.6.5
Plugin Version
4.6.0
Confirmation
Possible solution
I believe the root of the issue lies in the generic template that 5eTools uses for legendary action introductions (and number of legendary actions). Looking at the statblock in the 5eTools site homebrew builder, I saw that the site doesn't actually have live text in the legendary actions description field for most statblocks; instead, if the "Legendary Actions Intro" field is left blank, it defaults to a template.
Finding a way for the plugin to replace this template when there is no input text is probably the way to resolve.
The text was updated successfully, but these errors were encountered: