2009-02-02, 01:30 AM
The exact formula to determine your hit-rate on monsters has yet to be determined precisely, but as far as I know most of them are accurate enough.
If you were to scroll equipment for str or for dex, you're better off scrolling for dex, as not only do the scrolls give you dex, they also give accuracy. It's a two-for-one deal! On the other hand, there isn't any real substitute for str.
Here's a few things that apply for all warriors:
There's also a compilation of formulas in the Training Grounds section by Russt.
If you were to scroll equipment for str or for dex, you're better off scrolling for dex, as not only do the scrolls give you dex, they also give accuracy. It's a two-for-one deal! On the other hand, there isn't any real substitute for str.
Here's a few things that apply for all warriors:
KajitiSouls' Guide Wrote:Hit Rates
[SIZE="4"]Accuracy Requirements and Percent Hit-Rate Formulas[/SIZE][4S40D]
Having a lot of accuracy isn't everything, the level difference between you and the monster also matters quite a bit. Result answers for accuracy requirements are rounded off for the final answer. The formulas presented here may or may not be the exact formulas, but they come incredibly close to the real deal.
Code:If (Monster Level - Player Level) > 0,
Accuracy for Max Hit-Rate = [55 + 2 * (Monster Level - Player Level)] * [(Monster Avoid) / 15]
Accuracy for Min Hit-Rate = [55 + 2 * (Monster Level - Player Level)] * [(Monster Avoid) / 30]
Current Hit-Rate = [Accuracy / (Accuracy for Min Hit-Rate)] - 1
Otherwise,
Accuracy for Max Hit-Rate = 55 * [(Monster Avoid) / 15] = 3.667 * (Monster Avoid)
Accuracy for Min Hit-Rate = 55 * [(Monster Avoid) / 30] = 1.833 * (Monster Avoid)
Current Hit-Rate = [Accuracy / (Accuracy for Min Hit-Rate)] - 1
Proof that accuracy is better than raw damage
[SIZE="4"]Proof for optimizing damage: 100% accuracy[/SIZE]
DEX may not matter much when you're looking to increase damage, but if you can't hit the monsters very well, STR isn't going to do you much good either. This is the nightmare many no-DEX Warriors are looking to avoid, and massive damage won't happen if they can't hit anything.
Assume player and monster levels aren't an issue.
Code:Total average damage output:
Average Damage * Hit-rate, where 0 <= Hit-rate <= 1
[[STR * 2.3 * (.9 * Mastery + 1) + DEX] * (wAtk / 100)] * [Accuracy / [55 * ((Monster Avoid) / 30)]]
We'll alter the formula a bit by taking a look at what happens when you take away from DEX and increase STR.
Code:Total average damage output
[I]y[/I] = [[(STR + [I]x[/I]) * 2.3 * (.9 * Mastery + 1) + (DEX - [I]x[/I])] * (wAtk / 100)] * [(Accuracy - .8 * [I]x[/I]) / [55 * ((Monster Avoid) / 30)]]
Next, we'll use derivation to find out the change in the total damage output, but in order to save us as much ugly math as possible, we'll break down the equation into simpler components for derivation. If you don't know what derivation is, but you know precisely what position, velocity and acceleration measure, think of velocity as the derivation of position, and acceleration as the derivation of velocity. This isn't exactly right in terms of math, but it will do. Otherwise, just bear with it for now.
At this point, I'm getting sick of looking at all this clutter. So let's plug in the numbers and see what we get.Code:[I]y[/I] = [B][[/B][(STR + [I]x[/I]) * 2.3 * (.9 * Mastery + 1) + (DEX - [I]x[/I])] * (wAtk / 100)[B]][/B] * [B][[/B](Accuracy - .8 * [I]x[/I]) / [55 * ((Monster Avoid) / 30)][B]][/B]
[I]y[/I] = [B][[/B][(2.3 * STR + 2.3 * [I]x[/I]) * (.9 * Mastery + 1) + (DEX - [I]x[/I])] * (wAtk / 100)[B]][/B] * [B][[/B](Accuracy - .8 * [I]x[/I]) / [(11 / 6) * (Monster Avoid)][B]][/B]
[I]y[/I] = [B][[/B][2.07 * STR * Mastery + 2.07 * [I]x[/I] * Mastery + 2.3 * STR + 2.3 * [I]x[/I] + DEX - [I]x[/I]] * (wAtk / 100)[B]][/B] * [B][[/B][Accuracy / [(11 / 6) * (Monster Avoid)]] - [.8 * [I]x[/I] / [(11 / 6) * (Monster Avoid)]][B]][/B]
[I]y[/I] = [B][[/B]2.07 * STR * Mastery + 2.07 * [I]x[/I] * Mastery + 2.3 * STR + 1.3 * [I]x[/I] + DEX[B]][/B] * (wAtk / 100) * [B][[/B][(Accuracy * 6) / (11 * (Monster Avoid))] - [(4.8 * [I]x[/I]) / (11 * (Monster Avoid))][B]][/B]
Finding the derivative by using the Product Rule
dy/dx = [B][[/B]2.07 * STR * Mastery + 2.07 * [I]x[/I] * Mastery + 2.3 * STR + 1.3 * [I]x[/I] + DEX[B]][/B] * (wAtk / 100) * [B][[/B]-[4.8 / (11 * (Monster Avoid))][B]][/B] + [B][[/B]2.07 * Mastery + 2.3 - 1[B]][/B] * (wAtk / 100) * [B][[/B][(Accuracy * 6) / (11 * (Monster Avoid))] - [(4.8 * [I]x[/I]) / (11 * (Monster Avoid))][B]][/B]
dy/dx = [B][[[/B]2.07 * STR * Mastery + 2.07 * [I]x[/I] * Mastery + 2.3 * STR + 1.3 * [I]x[/I] + DEX[B]][/B] * -4.8 + [B][[/B]2.07 * Mastery + 1.3[B]][/B] * [B][[/B]Accuracy * 6 - 4.8 * [I]x[/I][B]]][/B] * (wAtk / (1100 * (Monster Avoid)))
In the next step, we'll find where dy/dx = 0. When dy/dx = 0, that means the tangent line at that point in the equation has a slope of 0 and is a point of interest. It is also the point where the slope of the original equation switches direction. For the people who are less oriented with math, when dy/dx = 0, that means we've found the "peak of the mountain" for the original equation (the second formula in this CCF entry). Technically it could also be the "very bottom of an ocean trench", but I'll let you know the original equation looks more like a very narrow rainbow (parabola) for any amount of STR, DEX or Mastery, where DEX isn't insanely higher than STR.Code:If STR = 768, DEX = 4, and Mastery = .6,
dy/dx = [B][[[/B]2.07 * 768 * .6 + 2.07 * [I]x[/I] * .6 + 2.3 * 768 + 1.3 * [I]x[/I] + 4[B]][/B] * -4.8 + [B][[/B]2.07 * .6 + 1.3[B]][/B] * [B][[/B]Accuracy * 6 - 4.8 * [I]x[/I][B]]][/B] * (wAtk / (1100 * (Monster Avoid)))
dy/dx = [953.856 + 1.242 * [I]x[/I] + 1766.4 + 1.3 * [I]x[/I] + 4] * -4.8 + [(1.242 + 1.3) * (Accuracy * 6 - 4.8 * [I]x[/I])] * [wAtk / (1100 * (Monster Avoid))]
dy/dx = [2724.256 + 1.542 * [I]x[/I]] * -4.8 + [1.542 * (Accuracy * 6 - 4.8 * [I]x[/I])] * [wAtk / (1100 * (Monster Avoid))]
dy/dx = [-13076.4288 - 14.8032 * [I]x[/I] + 9.252 * Accuracy] * [wAtk / (1100 * (Monster Avoid))]
In order to find where dy/dx = 0, we'll drop the end of the derivative equation,since it doesn't really matter what this comes out as for the purposes of finding dy/dx = 0 (if dy/dx =/= 0, then it will matter). We'll also assume that x = 1, meaning that in the original formula you subtract DEX and .8 Accuracy, but add to STR. This actually creates an illegal character in the game as it already has 4 DEX to begin with, but this is all in the name of theory.Code:[wAtk / (1100 * (Monster Avoid))]
Code:dy/dx = [-13076.4288 - 14.8032 * [I]x[/I] + 9.252 * Accuracy] * [wAtk / (1100 * (Monster Avoid))]
dy/dx = 0 = -13076.4288 - 14.8032 * 1 + 9.252 * Accuracy
0 = -13091.232 + 9.252 * Accuracy
13091.232 = 9.252 * Accuracy
1414.9623865110246433203631647211 = Accuracy
That is accuracy only Bowmen can even hope for. Let's see what happens when x = -116, which makes the character 652 STR, 120 DEX:
Code:dy/dx = [-13076.4288 - 14.8032 * [I]x[/I] + 9.252 * Accuracy] * [wAtk / (1100 * (Monster Avoid))]
dy/dx = 0 = -13076.4288 - 14.8032 * (-116) + 9.252 * Accuracy
0 = -11359.2576 + 9.252 * Accuracy
11359.2576 = 9.252 * Accuracy
1227.7623865110246433203631647211 = Accuracy
Pretty much the same result as far as Warriors are concerned. Since the left of where dy/dx = 0 on the x-axis has a positive slope, we can be assured that increasing your DEX, and thus your accuracy, results in more damage than increasing your STR. This holds true until you have a hit-rate of 100% for any monster (except the "invincible" monsters, which require about 1832 Accuracy to hit 1% of the time).
Keep in mind that this proof only takes into account what happens if you substitute AP (such as with AP resets). It cannot easily predict what will happen if you upgrade your equipment.
There's also a compilation of formulas in the Training Grounds section by Russt.

