Saturday, April 24, 2021

Mechanics: Equivalent Hit Dice for 5e

Delta uses "Equivalent Hit Dice" (EHD for short) from simulations for OD&D to determine how strong a monster really is. It expresses how many hit die of player characters have an even chance to win in a fight against that monster. 

The reason for measuring monster strength in EHD is that HD or other absolute characersistics are not a fair representation of a monsters' combat strength. Firstly, they cannot consider special abilities. Secondly, there has been a lot of inflation of absolute values between OD&D and 5e. A mighty balrog had 35 hits in OD&D, as much as a lowly wererat in 5e. An ogre had 15 hp, just above a quarter of the 59 hp in 5e, because player characters also got much stronger. An ogre will not be four times harder to defeat in 5e than it used to be in OD&D, nor would a wererat in 5e pose as dire a danger as a balrog in OD&D. So direct comparison of values does not work.

Instead, if we could determine EHD also for 5e, we would have a normalized metric to compare monsters in both editions on equal footing. We could rank the monsters in each edition, and compare how relative strength of monsters has changed between them, by directly comparing their EHD.

Of course that is still a simplification -- a fight between two monsters of identical EHD could easily be very lopsided. For example if one has flight and a ranged attack, and the other has neither, the flier will be able to destroy his earthbound foe without risk.

Still, EHD would be useful, so how can we determine them?

By the book approach

The simple method is to assume Challenge Ratings are a truthful representation of monster strength, so we can try to convert the 5e Challenge Ratings to equivalent hit dice. 

Unfortunately, the CR represents a "normal" encounter for a group of four characters of like level, that would maybe consume part of their resources, but would not result in a 50:50 win or lose chance. So we cannot just multiple CR by 4 to determine EHD, this would be too many EHD as the party is much stronger than the monster.

There is a table in the DMG that defines what constitutes a "deadly" encounter at each character level, where one or several characters might die, and the group might lose the fight. This sounds similar to an even fight where either side is equally likely to win, the definition used for EHD. If this assumption is correct, all we need to do is to connect the character levels from that table to challenge ratings from the monster manual via xp, and we can estimate how many character levels are equal to each CR.  


The first thing to observe is that there is no straightforward mathematical formula to map between xp and character level. That is because 5e fudges power at certain levels, like on level 5 characters make a jump in power when they get access to fireball and second attacks. 

The scond thing to observe is that the relationship is not linear, it looks similar to an exponential, or a quadratic polynomial as shown here. It is not the same to use 10 level 1 fighters (able to handle 1,000 xp in a deadly encounter), as it is to use 1 level 10 fighter (able to handle 2,800 xp). 

The book assumes that your party consists of 3-5 characters. We will use the average of 4 characters, if possible all of the same level, and each of their levels counts as 1 EHD, so a party of level three characters would be worth 12 EHD.

We can compare this against the XP by CR. The fight is against a single monster, no adjustment multipliers for xp.


The CR ladder only has XP for full CRs, but you can come up with a number that falls between two CRs in XP value by interpolating between them, either with a forumla (as shown above, and inexact), or more precisely by piecewise (linear) interpolation between any to points. 

The following chart shows how both the EHD (red) and CRs (blue) depend on the xp value:


It is obvious that at at low levels the EHD are a lower multiple of the CR than at high levels. Here are the factors, using piecewise linear interpolation for EHD for each CR point.

The average is about 2.6. As a rule of thumb, you could multiply CR with 2.5 to get EHD. As there are really only 27 CRs, we can instead tabulate how much EHD each CR is worth. The right party strength for an even fight would then have that total of levels.

CREHDCREHDCREHD
1/81/47181645
1/41/28191748
1/219221851
1210251955
2511292059
3712322167
41013372274
51414402380
61715422485

For example, a CR 10 monster, which by definition is a normal difficulty encounter for a group of four level 10 characters (40 total levels), would be an even or "deadly" encounter for 25 total levels, or four level 6 characters. This confirms the rule of thumb that picking a CR that is 4 higher than the party level gets deadly, even for a single monster. 


Simulation

How good is this theoretical method? There is a site that allows you to simulate 5e combats programmatically, unfortunately it is not designed for ranking a whole catalogue by EHD.

The programmers who wrote this created a fantastic tool, impressive given the complexity of all the spells and abilitities, and I am grateful they provide it. The program even provides magical weapons at higher levels, which is good as it reflects how a real party might be equipped.

It however has a few flaws, for example, the djinni ends up in doing whirlwinds instead of dealing damage until he dies, the chimera does nothing at all. Were-creatures are difficult to gauge, as the program gives low level characters no chance for magic or silver weapons, so they only can be damaged by spells, and due to an implementation glitch, by the rogue's sneak attack damage. I suspect there are other such small issues. 

Nevertheless, let us try it against some example monsters. For doing so, I use a classical party of a fighter, rogue, wizard and cleric, all of as similar level as possible, and use the EHD values predicted by the above method. If the method works right, the fight outcomes all should be about 50:50. The simulator runs 25 combats each time, I try two or three runs.

Will-O'-Wisp, CR 2 = 5 EHD, F2 R1 W1 C1. Party wins 100%, 100%, 100%. 
Manticore CR 3 = 7 EHD, F2 R2 W1 C2. Party wins 96%, 100%, 100%.
Black Pudding CR 4 = 10 EHD, F2 R2 W3 C3. Party wins 92%, 84%, 92%.
Gorgon, CR 5 =14 EHD, F4 R4 W3 C3. Party wins 76%, 80%.
Wyvern CR 6 =17 EHD, F4 R4 W5 C4. Party wins 100%, 96%, 100%
Stone Giant CR 7 = 18 EHD, F4 R4 W5 C5. Party wins 60%, 76%, 72%
Hydra, CR 8 = 19 EHD, F5 R4 W5 C5. Party wins 100%, 100%, 100%.
Djinni, CR 11 = 29 EHD, F8 R7 W7 C7. Party wins 100%, 100%, 100%
Purple Worm CR 15 = 42 EHD, F10 R10 W11 C11. Party wins 100%, 100%.
Balrog CR 19 =  55 EHD, F14 R14 W13 C14. Party wins 100%, 100%, 100%.

The conclusion from this is that a "deadly" fight is still far from an even outcome fight. It merely is a fight were sometimes, a character or two might die. Over a broad range of challenge ratings, the player characters win in nearly 100% of these fights. 

Actual EHD

To get to something closer to real EHD, let us calibrate how many character levels lead to an about equal outcome experimentally. 

For this I trial-and-error to adjust party level, until I get about a 50:50 outcome on the fights. For EHD less than four at low challenge ratings, when I cannot further reduce character level, I drop characters: first the rogue, then the cleric, then the wizard until only the fighter is left. For monsters where one fighter is too strong and leads to high win rates, I add additional monsters. If the fight is about even against two monsters I record that as 1/2 EHD, if against n monsters, as 1/n EHD. 

Especially at low challenge ratings, it is often not possible to get close to a 50% outcome - adding a single new level 1 character can flip win percentages from very low to very high. In these cases, I take the result that is closer to 50%, however bad it may be. 

Here are the results for a range of monsters from different challenge ratings. 5EHD are the equivalent total hit dice of a party of four characters. The P colum shows average the win %age of the party for three groups of 25 fights: monsters where the characters have low win% for a given EHD are more dangerous. Ratio shows the ratio between CR and EHD. 


NameCR5EHDPRatio
Giant Centipede1/41/5450.8
Stirge1/81/3562.6
Giant Weasel1/81/3492.6
Giant Rat1/81/3452.6
Kobold1/81/3442.6
Bandit1/81/3382.6
Giant Crab1/81/3372.6
Cockatrice1/21/2731.0
Goblin1/41/2602.0
Guard1/81/2574.0
Skeleton1/41/2562.0
Giant Poisonous Snake1/41/2482.0
Zombie1/41/2452.0
Wolf1/41/2432.0
Dryad11/2360.5
Gnoll1/21/2291.0
Hobgoblin1/21892.0
Ghoul11771.0
Troglodyte1/41764.0
Orc11632.0
Giant Wasp11482.0
Harpy11481.0
Lizardfolk11442.0
Shadow11402.0
Giant Spider11321.0
Giant Toad12732.0
Specter12722.0
Dire Wolf12722.0
Bugbear12672.0
Giant Octopus12632.0
Will-O'-Wisp22571.0
Phase Spider32530.7
Brown Bear12522.0
Giant Boar22491.0
Bandit Captain22391.0
Carrion Crawler22351.0
Berserker22331.0
Doppelganger33651.0
Ogre23631.5
Basilisk33591.0
Wight33591.0
Giant Scorpion33561.0
Gargoyle23481.5
Manticore33451.0
Griffon23451.5
Awakened Tree23441.5
Girallon43410.8
Gelatinous Cube24712.0
Black Pudding44641.0
Wererat24612.0
Knight34511.3
Minotaur34441.3
Veteran34401.3
Unicorn54360.8
Werewolf34361.3
Owlbear35681.7
Ettin46411.5
Displacer Beast36372.0
Wraith57441.4
Giant Crocodile59401.8
Wereboar410562.5
Invisible Stalker611441.8
Fire Elemental512642.4
Mind Flayer712521.7
Roper512472.4
Gorgon512452.4
Medusa612432.0
Wyvern613562.2
Giant Shark513532.6
Air Elemental513522.6
Umber Hulk514512.8
Mammoth615532.5
Golem, Flesh515413.0
Hydra817562.1
Giant, Stone717532.4
Earth Elemental517503.4
Water Elemental517493.4
Treant918602.0
Giant, Frost818522.3
Tyrannosaurus Rex818472.3
Oni720712.9
Efreeti1120481.8
Giant, Cloud921572.3
Giant, Fire922472.4
Golem, Stone1022442.2
Vampire1323601.8
Roc1124612.2
Purple Worm1527511.8
Golem, Iron1628611.8
Giant, Storm1332562.5
Empyrean2338471.7
Green Dragon, Adult1543492.9
White Dragon, Adult1343453.3
Black Dragon, Adult1443453.1
Blue Dragon, Adult1644532.8
Balor1945532.4
Dragon Turtle1746592.7
Lich2146482.2
Beholder1348473.7
Red Dragon, Adult1750482.9
Kraken2350452.2
Gold Dragon, Adult1751473.0


Assuming the program is not too far off, and EHD fairly represent how dangerous the ceatures are, then we learn several things:

1. CR ratings are quite inaccurate.  They often do not reflect the real strength of the creature in combat. Creatures with the same CR can have a wide variety of EHDs, for example the creatures with CR 5 in our sample range from 4 to 17 EHD. Creatures with lower CR can be far more dangerous than others that have a higher CR. As a result, the ratio between CR and EHD varies widely. 

The most undervalued creatures (highest ratio) in our sample are the troglodyte, guard, beholder, elementals and dragons. All of them are far more deadly than their CR would indicate.

The most overvalued (lowest ratio) are the dryad, phase spider, girallon, giant centipede, and unicorn. All of them a cheap pushovers for their CR. It may be that poison does not work right in the simulator, as in my experience, a single level one fighter would not survive attacks from 5 giant centipedes without eventually being paralyzed and then killed before killing all of them.

2. The average ratio of 1.4 EHD to CR is only about half the theoretically calculated value by the book. It also does not have a direct relationship with growing CRs, as it did in the calculated method. The chart shows the ratio for each CR on average, with the bubble size indicating the number of monsters in that CR bucket. 




Estimating a deadly encounter CR for your party could be done by looking up the monster in the table above, or running it through the simulator for those not covered. 

Using the average factor, you instead could take 2/3 of total party levels as the challenge rating. However, because there is so much fluctuation, this is dangerous and easily can be off by a factor of two and kill your party. In normal play, inexact CRs are less of an issue, as there is a wide margin of safety for normal encounter difficulty.

Conclusion: If you wanted to to retain some margin of savety for deadly encounters half the total party levels as CR is a reasonable the rule of thumb (or full total party levels at level 2-3). In practice, avoid fights that hard. You do not want an even chance of a total party kill. Instead, pick the CR matching the average party level (i.e. a quarter of total party levels), and maybe notch it up a couple CRs.

No comments:

Post a Comment

Questions & Answers from a year of Role-Playing Games Stack Exchange

I spent a year of spare time asking and answering questions on Role Playing Games Stack Exchange.  You can filter for my most upvoted questi...