Skip to content

5alamander/d6.5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d6.5

this is a package to generate D&D dice

Interface

declare module 'd6.5' {

    interface IDice {
        (input: string): (random?: () => number) => number
        rollDice: (times: number, face: number, modifier?: number, random?) => number
        generateDice: (times: number, face: number, modifier?) => (random?: () => number) => number
        setRandom: (newRandom: () => number) => void
    }

    var dice: IDice
    export = dice
}

About

this is a package to generate D&D dice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published