06-21-2003, 05:25 PM
Concerning the Eth bug :
Attacker's Level 70 :
Dexterity is 62
Defender's Defense does not matter, it will be set to zero by Eth bug.
We use 500 as an example.
Attack Rating is (62 * 4) - 23 + 23 = 248
Defense Rating is (500 * -25) / 100 = -125
The following is used only when either Attack Rating and/or Defense Rating ends up with a negative value ie. a sanity check is done.
Attack Rating is 248 + 125 = 373
Defense Rating is -125 + 125 = 0
Now the game will calculate the Chance to Hit as usual :
200 * 373 / ( 373 + 0) * 70 / ( 70 + 90)
373 / (373 + 0) = 373 / 373 = 1
70 / (70 + 90) = 70 / 160 = 0.43
200 * 1 * 0.43 = 86% Chance to Hit
A Chance to Hit of 86% at level 70 can be considered as Ignore Target Defense.
The nastiness is in the fact that Defense Rating ends up as zero which will always set the second term used in the Chance to Hit formula to 1.
This will break the formula.
But I consider this a very nasty bug and not done.
I will not put the above in the Guide.
Regards, Hunky
edit: reworked the example after Ruvanal pointed out how it really works.
My gratitude goes to him for being the Eternal Flowing Fountain of Knowledge.
Attacker's Level 70 :
Dexterity is 62
Defender's Defense does not matter, it will be set to zero by Eth bug.
We use 500 as an example.
Attack Rating is (62 * 4) - 23 + 23 = 248
Defense Rating is (500 * -25) / 100 = -125
The following is used only when either Attack Rating and/or Defense Rating ends up with a negative value ie. a sanity check is done.
Attack Rating is 248 + 125 = 373
Defense Rating is -125 + 125 = 0
Now the game will calculate the Chance to Hit as usual :
200 * 373 / ( 373 + 0) * 70 / ( 70 + 90)
373 / (373 + 0) = 373 / 373 = 1
70 / (70 + 90) = 70 / 160 = 0.43
200 * 1 * 0.43 = 86% Chance to Hit
A Chance to Hit of 86% at level 70 can be considered as Ignore Target Defense.
The nastiness is in the fact that Defense Rating ends up as zero which will always set the second term used in the Chance to Hit formula to 1.
This will break the formula.
But I consider this a very nasty bug and not done.
I will not put the above in the Guide.
Regards, Hunky
edit: reworked the example after Ruvanal pointed out how it really works.
My gratitude goes to him for being the Eternal Flowing Fountain of Knowledge.
I am famous for my Memory - I have no Memory