michaelenger/d20.js — pull request #1 by ankr (2013-09-30 17:48:04+00:00)
Title: Fixing randomness to have uniform distribution

See last example on this page; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

ak :)