I am trying to find the files that calculate the damage and crit chance. Anyone have a tip to give to me?
I am trying to find the files that calculate the damage and crit chance. Anyone have a tip to give to me?
AFAIK, the server is the one that calculates those, it's all based on contracts, you see, server parses items data, items passitivies, etc., etc. and based on the calculations it sends to client the damage to output to e.g. a monster, etc, etc.
or at least that's how I think it works
The server that calculate, i already dig the client files and checked the packets send and receive. The client receive from the server this kind of information : Player Hit, Ammount, Crit , Position and Headangle and other informations
Because of that I was searching server files. But no success.
The datacenter files dont give any information neither, not even classes base stats or npc endurance(just have hp?). I was hoping that someone found that this file that calculate the damage.
The only thing I found was how is calculated the attack modifier in profile.