An app for generating a range of Hit Point values from Dungeons & Dragons Hit Dice expressions.
This Monster Hit Dice web app takes a Hit Dice expression (that’s a fancy way of saying ‘number of Hit Dice of a certain Hit Dice type plus modifiers’) and generates Hit Point values ranging between minimum, weak, average, strong and maximum — with weak being halfway between minimum and average, and strong being halfway between average and maximum.
Using a creature’s average Hit Points works just fine for most Dungeons & Dragons combats.
But sometimes you might want to give your BBEG the maximum possible Hit Points for their creature type and you don’t want to do the maths yourself.
Maybe you’re using multiple creatures of the same type in a battle, but you want to mix things up a bit. Like, maybe you want some of your kobolds to be even weaker than average — but you want one of them to be a 💪KOBOLD CHAD™💪.
Or maybe you just want to tweak a creature’s Hit Points mid-battle. Sacrilege? Heresy? The most condemnable example of referee fiat one could possibly imagine? Well, here’s Mike Shea at Sly Flourish with some perfectly valid reasons why we might want to do this!
A public API for calculating Hit Point values from Hit Dice expressions is available at api.monsterhitdice.app
For example:
curl --request GET --url 'https://api.monsterhitdice.app/hp?hd=2d8-2&hd=2d8+6&hd=8d10+40&hd=33d20+330'
Or try it from your browser: api.monsterhitdice.app/hp?hd=2d8-2&hd=2d8+6&hd=8d10+40&hd=33d20+330
For full documentation, visit api.monsterhitdice.app/docs
This Monster Hit Dice web app and the Monster Hit Dice API both use the roll-hit-dice NPM package.
npm install
npm run dev