Skip to content

[#1267] Add @details.tier to actor data#6562

Merged
arbron merged 2 commits into
5.3.xfrom
tiers
Jan 28, 2026
Merged

[#1267] Add @details.tier to actor data#6562
arbron merged 2 commits into
5.3.xfrom
tiers

Conversation

@arbron

@arbron arbron commented Dec 13, 2025

Copy link
Copy Markdown
Collaborator

Uses a formula ceil((level - 4) / 6) + 1 to calculate the tier.

Closes #1267

Uses a formula `ceil((level - 4) / 6) + 1` to calculate the tier.

Closes #1267
@arbron arbron added this to the D&D5E 5.3.0 milestone Dec 13, 2025
@arbron arbron self-assigned this Dec 13, 2025
@arbron arbron added the api label Dec 13, 2025
Adds a tier calculation for class data to allow for certain
features that use a similar scaling to cantrips, but based on the
class level rather than whole character level.
@arbron

arbron commented Jan 20, 2026

Copy link
Copy Markdown
Collaborator Author

I've added tier to individual classes also because I've had some content that scales in the same way as cantrips, but based off a class level rather than the overall character level.

@arbron
arbron changed the base branch from 5.2.x to 5.3.x January 26, 2026 18:17

@Fyorl Fyorl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is only needed in formula expressions, an alternative would be to only add this to roll data.

@arbron
arbron merged commit 37081d4 into 5.3.x Jan 28, 2026
@arbron
arbron deleted the tiers branch January 28, 2026 21:59
@arbron arbron mentioned this pull request Feb 9, 2026
23 tasks
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.

Add tier to actor's roll data

2 participants