mm201 / GamestatsBase

Library for making custom GameSpy-compatible HTTP Gamestats servers in ASP.NET
Mozilla Public License 2.0
7 stars 7 forks source link

RNG formula is wrong #2

Closed mm201 closed 3 years ago

mm201 commented 7 years ago

See https://github.com/mm201/pkmn-classic-framework/issues/42

mm201 commented 7 years ago

Of note is that X % PoT is always the same as X & (PoT - 1) which is a worthwhile optimization, especially since gamestats Z constants tend to be PoTs.