Skip to content
selfsame edited this page Dec 6, 2014 · 4 revisions
dice.roll(d)

Parses strings with "4d5+6" format and returns the roll.

dice.table_choice(t)

A dict of key:int pairs is used to return a key based on the weight of its val.

Clone this wiki locally