2009-12-01, 11:07 PM
(This post was last modified: 2009-12-01, 11:10 PM by rainbowBean.)
thanks russt!
im a little confused on how this magic accuracy works
Magic Accuracy
Let x = (trunc(INT/10) + trunc(LUK/10))/(Avoid+1)*(1 + 0.0415*D),
where D is the level difference between the player and the monster.
Then
hitrate% = -2.5795x^2 + 5.2343x - 1.6749
Assuming that magician has this stats:
INT = 100
LUK = 100
Level Difference = 0
Monster Avoidability = 0
//////////////////////////////////////////////
trunc(INT/10) = trunc(100/10) = 10
trunc(LUK/10) = trunc(100/10) = 10
(trunc(INT/10) + trunc(LUK/10)) = 10+10 = 20
(Avoid + 1) * (1 + 0.0415 * D) = (0 + 1) * (1 + 0.0415 * 0) = 1
x = (trunc(INT/10) + trunc(LUK/10))/(Avoid+1)*(1+0.0415*D)
x = 20/1
x = 20
hitrate% = -2.5795^2 + 5.2343x - 1.6749
hitrate% = -2.5795x^2 + 5.2343x - 1.6749
hitrate% = -2.5795(400) + 5.2343(20) - 1.6749
hitrate% = -1031.8 + 104.686 - 1.6749
hitrate% = -928.7889 (Negative value???)
im a little confused on how this magic accuracy works

Magic Accuracy
Let x = (trunc(INT/10) + trunc(LUK/10))/(Avoid+1)*(1 + 0.0415*D),
where D is the level difference between the player and the monster.
Then
hitrate% = -2.5795x^2 + 5.2343x - 1.6749
Assuming that magician has this stats:
INT = 100
LUK = 100
Level Difference = 0
Monster Avoidability = 0
//////////////////////////////////////////////
trunc(INT/10) = trunc(100/10) = 10
trunc(LUK/10) = trunc(100/10) = 10
(trunc(INT/10) + trunc(LUK/10)) = 10+10 = 20
(Avoid + 1) * (1 + 0.0415 * D) = (0 + 1) * (1 + 0.0415 * 0) = 1
x = (trunc(INT/10) + trunc(LUK/10))/(Avoid+1)*(1+0.0415*D)
x = 20/1
x = 20
hitrate% = -2.5795^2 + 5.2343x - 1.6749
hitrate% = -2.5795x^2 + 5.2343x - 1.6749
hitrate% = -2.5795(400) + 5.2343(20) - 1.6749
hitrate% = -1031.8 + 104.686 - 1.6749
hitrate% = -928.7889 (Negative value???)

