util

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharacterNumSkills

func CharacterNumSkills(ch decode.Character) int

func Dice

func Dice(count int, sides int) int

dice rolls xDy and returns the sum.

func RandRange

func RandRange(min int, max int) int

randRange calculates a random number within the specified bounds (inclusive).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL