Page 1 of 1

Ranged Accuracy Fix

Posted: Thu Sep 06, 2012 4:39 pm
by Zedingo
Someone used an 8 bit integer in calculating hit rate, and that was causing some rollover problems when the acc formula says you should be getting a hitrate outside of 0-255

I sat down for a bit with a ShowDebug line showing me my acc, the mob's eva and level, and the calculated hitrate. On Burrower Worms in Zeruhn I had a 95% hit rate from RNG25 to RNG64.

This is a pretty simple patch, and it works fine on my server.

Re: Ranged Accuracy Fix

Posted: Sat Sep 08, 2012 8:12 pm
by kjLotus
I'm pretty sure I committed this, and forgot to post about it here

Re: Ranged Accuracy Fix

Posted: Sat Sep 08, 2012 8:26 pm
by link
you did kj, r1706