Skip to content

Conversation

@arbron
Copy link
Collaborator

@arbron arbron commented Dec 11, 2025

Adds the details option when embedding spells that will include the standard spell level, school, classes, casting time, range, components, and duration in addition to the spell's description. This respects the current rules version to adjust to match modern and legacy presentations of this data.

Spell Embed Details Modern Spell Embed Details Legacy

Closes #6552

Adds the `details` option when embedding spells that will include
the standard spell level, school, classes, casting time, range,
components, and duration in addition to the spell's description.
This respects the current rules version to adjust to match modern
and legacy presentations of this data.

Closes #6552
} else if ( labels ) labels.range = game.i18n.localize("DND5E.DistSelf");
} else this.range.labels.range = game.i18n.localize("DND5E.DistSelf");

if ( labels ) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Borrowed these changes from #6537 to get the full range units (30 feet rather than 30 ft).

@Zanderaf
Copy link
Contributor

do the legacy embeds have an option to display classes? it looks like only modern has that in the screenshots?

@arbron
Copy link
Collaborator Author

arbron commented Dec 12, 2025

do the legacy embeds have an option to display classes? it looks like only modern has that in the screenshots?

No option, couldn't find any legacy books that included the classes like they do in the modern books.

@Zanderaf
Copy link
Contributor

damn, I thought for sure they were included but that might have been some 3rd party books, just took a look through xanathars and you're right

@arbron arbron added this to the D&D5E 5.3.0 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When embedding spell, add option to embed additional data

3 participants