Quote:
Originally Posted by TheDarkWraith
gotta love math and numbers 
|
More or less. All I know about maths dates back to my university years, when I was a student of science. Now I am forgetting a lot of notions, but I mostly retain the method
Quote:
Originally Posted by TheDarkWraith
I'll post the whole damage equation that SH5 is using here soon so you can see what they are doing 
|
do it, I'll look at it and see if I can understand anything
On a side note:
I see you like random variables as much as I do

I guess you're currently using pseudo-random numbers coming from an uniform distribution, since most programming languages got quick functions for generating them. Nevertheless normal distribution is by far the most common distribution as far as physics and natural events are concerned. Have you ever thought of using it?
There are some methods for converting "uniform" random numbers into "normal" ones. For example, here's a really easy method for doing it:
http://www.protonfish.com/random.shtml
In this example, the mean (Mu) would be the result of your formula before randomization, while you should choose wisely a realistic standard deviation value (Sigma) based on the amount of variation from the mean you want for the event you try to simulate.
Another conversion method, a bit more complex:
http://www.taygeta.com/random/gaussian.html