Intended to simplify many of the math.random calls currently in use, and make them more semantic and thus more readable. The dice function d() takes either a two-argument form which is the same as in the C source (number of dice, faces per die) or a one-argument form that rolls a single die. The percent(N) function returns true N% of the time.
988 B
988 B