2009-04-28, 04:14 AM
The basic formula is the same as a probability to dice roll a certain sum with variable number of dice, with variable faces and minimum to maximum values, I believe.
In my past attempts, I found formula which used large permutations and combinations (due to the large range within a damage range; i.e. one value per face on the dice, which could have been reduced by using fractions and rounding but still) to find with exact precision the probability of something like
%chance to kill a monster with 5000 HP using a damage range of 100~200 or something, where the formula held strong for most examples but crumbled after certain lengthy calculations; I'm still unsure if it was because the formula was unsound or it was possibly due to rounding issues in the machine, but it took me a lot of work to correctly implement it in java only to have it require absurd amounts of processing power and not work for any practical example.
In my past attempts, I found formula which used large permutations and combinations (due to the large range within a damage range; i.e. one value per face on the dice, which could have been reduced by using fractions and rounding but still) to find with exact precision the probability of something like
%chance to kill a monster with 5000 HP using a damage range of 100~200 or something, where the formula held strong for most examples but crumbled after certain lengthy calculations; I'm still unsure if it was because the formula was unsound or it was possibly due to rounding issues in the machine, but it took me a lot of work to correctly implement it in java only to have it require absurd amounts of processing power and not work for any practical example.

