Skip to content

Add tier to actor's roll data #1267

Description

@arbron

Many player features scale up with character level depending on what tier they fall in. For example, the Dragonborn breath weapon starts at 2d6 damage and increased by one for each tier the player advances to (3d6 at 6th level, 4d6 at 11th, 5d6 at 16th). Currently the best way to automatically determine that damage is to write ((ceil((@details.level - 5)/5)) +2)d6 into the roll formula, which isn't very clean on its purpose. Including tier in the roll data would allow this to be simplified to (@details.tier + 1)d6.

Tier could either be calculated using a formula just like above (which would automatically determine post level 20 tiers if a module enabled them) or it could be an option configured in config.js.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions