Skip to content

5ET-1370 Implement the automatic calculation of DCs, to hit modifiers and average damage in statblocks #1382

@crawltracker

Description

@crawltracker

Information
Currently, save DCs, to hit, and average damage in statblocks must be calculated manually and have to be revised every time you change a monster's stats or proficiency bonus.

Who would use it?
Anyone making statblocks.

How would it work?
We already have the @dc, @hit, and @damage tags. These could either be updated with new functionality for statblocks only and keep their old functionality when used outside a statblock, or we could have new tags entirely.

Here's how this would work exactly:

For average damage, you write the tag followed by a die expression. The tag then displays as the average damage of the calculation. For example "{@damage 3d6+2}" would display as "12 (3d6+2)". Instead of a number, you would also be able to write the three letter abbreviation of an ability score to use that score's modifier instead, so "{@damage 4d8+STR}" would result in "22 (4d8 + 4)" if the monster has a +4 Strength modifier. You would also be able to add both a modifier and a number.

For DCs and to hit, you write the tag followed by an ability abbreviation and optionally a number. For a DC, the result is 8 + proficiency bonus + ability modifier + number (optional).
For to hit, it is proficiency bonus + ability modifier + number (optional).

If any of the underlying values change, the result adapts dynamically and does not have to be adjusted manually.

As a working example of this, check out TetraCube (https://tetra-cube.com/dnd/dnd-statblock.html). There it works as I have described.

Why should this be added?
It would make creating statblocks much faster and less prone to errors. If you are currently iterating a statblock, you have to constantly go back and forth and adjust every single value whenever the PB or a modifier changes. I assume that this would also make the conversion of new official statblocks faster.

  • earlofham (EarlOfHam)

Upvote - earlofham (EarlOfHam)

Upvote - starl33t (🤍 Star 🤍)

Downvote - revilowaldow (Lyra)

Indifferent - spap (Spappz)

Upvote - squirrelinthetree (Squirrel)

Upvote - segori. (segori)

Upvote - drgentech (Dr Gentech)

Indifferent - bramboooooooooooo (Bram)

Upvote - marvl101. (Marvl)

Votes: +6 / -1 / ±2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions