I have realized the function of accuracy, as well as some other tricks how to count with defense, attact value, magic attack value, biological quest adventages and many other bonuses. But having just the simple equations from SQL table skill_proto is not enough. For example mental warrior, ninja dagger and dragon shaman skills seem to make totally different hits, than they should according to the skill_proto. Same problem is with the normal physical hits, arrow damage and polymorph. Absolutely invincible algorithm (or absolutely chaotic?).
What I'm looking for is some sort of readable (e.g. Python) file, where are all these rules, ifs, and calculations written. I guess it is somewhere in the core of the server, but I can't find anything like that in it (using Instant server '08 + WinSCP).
To put an example, I was thinking about a file, where I can see something like:
Code:
.... --Polymorph when something.happens begin local dmg = (LVL * 2) + (ST + WP + A)*AR .... end --Arrow damage .... ....
Thank you very much in advance, any help will be appreciated







