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.
Ranged Accuracy Fix
Ranged Accuracy Fix
- Attachments
-
ranged acc rollover fix.patch
- (1012 Bytes) Downloaded 280 times
-
racc tests.xlsx
- (11.91 KiB) Downloaded 272 times
Re: Ranged Accuracy Fix
I'm pretty sure I committed this, and forgot to post about it here
Re: Ranged Accuracy Fix
you did kj, r1706