Thanks for point out the issues of my release. Yep, you right the "huge complicated procedure of rand" that you talking about is what i saw in ollyDBG, cause my v149'IDB cannot display(decompiled) that part Oh, and the swap min/max codes is from the decompiled code in IDA too. i just write all the things i saw in IDA to java without optimized it yet, for sure it working correctly.
.
qjagnsdldi : Unfortunately, this article not apply to old version below v92 like Eric said. In older version, it using a different things to calculate damage, You may need to re-analyze the client to find the formula to calculate damage for older version. And sure, it still using the Xorshift RNG algorithms with the seeds.
how does one find the DamageCalculation on v92 below? trying to search for v83 but can't seem to find anything