Krim
04-02-2008, 11:30
Hi all, I'm pretty certain it wouldn't take long to find the formula, but really isn't what I'm interested in. I'm interested in how you find the formula.
I'd like to try to show how I'd calculate it, yet the results I get doesn't seem to match the correct formula, and if possible, I'd like to know why, and how to calculate to correct formula for odds of double damage when both critical strike (now cs) and deadly strike (now ds) is applied.
How I'd think it should be calculated:
Well first of, I see three possibilities, either the game checks if both cs and ds trigger, or it first checks cs, if trigger ds = 0, if not, it checks ds, or vice versa.
If we set %Cs = 1 / n and %Ds = 1 / m, then I get the following formulas:
First assumption, the game checks both independently, so what can happen is:
There can be a trigger of cs only, ds only, and both of them. Given it's cs only, then this can happen 1 times m (I've taken double trigger with) given it's ds only then it can happen 1 time (n - 1) (I'm making sure not to take double trigger with twice). Then there can be a nontrigger for each (m - 1) and that's (n - 1) times, so the formula should be, using the possible triggers divide by the total:
(m + n - 1) / (n + m - 1 + (n - 1)(m - 1)) = (m + n - 1)/(n * m) =
%Cs + %Ds - %Cs * %Ds
Funny enough, this is actually the formula for direct chance adding, P(A + B|I) = P(A|I) + P(B|I) - P(AB|I), where P(AB|I) = P(A|I)P(B|I)
so I'm pretty certain that this isn't correct.
Second, if the game first checks for Cs, if trigger %Ds equals zero, if not, it checks for Ds.
Then Cs will trigger 1 time, and (n - 1) times it won't where Ds will come into play, so when Cs doesn't trigger there'll be (n - 1) ways there still can be double damage. The total amount of possibilities should be, for in case of a trigger n, and then I guess you'd take into consideration that it might not trigger, which will happen (n - 1) times, with for each (m - 1) possibilites, so I get a formula like this:
(1 + n - 1) / (n + (n - 1)(m - 1)) = n / (n * m - m + 1) =
%Ds / (1 - %Cs + %Cs * %Ds)
This formula looks quite weird, and I'm pretty certain it's wrong for calculating the chance of doubling your damage.
Third, given the damage consider Ds first, and if trigger sets %Cs = 0, then the formula should just be reversed, giving:
%Cs / (1 - %Ds + %Cs * %Ds)
So please note, I don't ask for someone to give me the correct formula, what I'm asking for is
1) What am I doing wrong in my calculations?
2) How do you deduce the correct formula?
Thank you.
Regards Krim
I'd like to try to show how I'd calculate it, yet the results I get doesn't seem to match the correct formula, and if possible, I'd like to know why, and how to calculate to correct formula for odds of double damage when both critical strike (now cs) and deadly strike (now ds) is applied.
How I'd think it should be calculated:
Well first of, I see three possibilities, either the game checks if both cs and ds trigger, or it first checks cs, if trigger ds = 0, if not, it checks ds, or vice versa.
If we set %Cs = 1 / n and %Ds = 1 / m, then I get the following formulas:
First assumption, the game checks both independently, so what can happen is:
There can be a trigger of cs only, ds only, and both of them. Given it's cs only, then this can happen 1 times m (I've taken double trigger with) given it's ds only then it can happen 1 time (n - 1) (I'm making sure not to take double trigger with twice). Then there can be a nontrigger for each (m - 1) and that's (n - 1) times, so the formula should be, using the possible triggers divide by the total:
(m + n - 1) / (n + m - 1 + (n - 1)(m - 1)) = (m + n - 1)/(n * m) =
%Cs + %Ds - %Cs * %Ds
Funny enough, this is actually the formula for direct chance adding, P(A + B|I) = P(A|I) + P(B|I) - P(AB|I), where P(AB|I) = P(A|I)P(B|I)
so I'm pretty certain that this isn't correct.
Second, if the game first checks for Cs, if trigger %Ds equals zero, if not, it checks for Ds.
Then Cs will trigger 1 time, and (n - 1) times it won't where Ds will come into play, so when Cs doesn't trigger there'll be (n - 1) ways there still can be double damage. The total amount of possibilities should be, for in case of a trigger n, and then I guess you'd take into consideration that it might not trigger, which will happen (n - 1) times, with for each (m - 1) possibilites, so I get a formula like this:
(1 + n - 1) / (n + (n - 1)(m - 1)) = n / (n * m - m + 1) =
%Ds / (1 - %Cs + %Cs * %Ds)
This formula looks quite weird, and I'm pretty certain it's wrong for calculating the chance of doubling your damage.
Third, given the damage consider Ds first, and if trigger sets %Cs = 0, then the formula should just be reversed, giving:
%Cs / (1 - %Ds + %Cs * %Ds)
So please note, I don't ask for someone to give me the correct formula, what I'm asking for is
1) What am I doing wrong in my calculations?
2) How do you deduce the correct formula?
Thank you.
Regards Krim