Friday, November 27, 2009

More Hit Dice Stats

In the prior post, I presented some numbers for the average hits required to take down different HD creatures. Of course, that was done by random simulation, so it will have some small amount of sampling error in the numbers.

I wanted to double-check these numbers with a closed-formula, direct probability calculation. Even that takes some heavy-duty processing power (with permutations, combinations, convolutions, and such). Fortunately, it turns out that the numbers do in fact check out very nicely. Exact statistics and code below if you're interested.

Exact numbers:
C++ code to generate table:

1 comment:

  1. Were talking about your "combat algorithm" pst over in the 1e forums over at Thread title: 1e thac0.

    Would love to have you poke your head in.