dogacha

package
v0.0.0-...-c169daf Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gacha

func Gacha(all, expectProbability int64) bool

Gacha do gacha if Gacha(100, 1) is 1%, Gacha(1000, 2) is 0.2% 1% chance of true else return false (99%)

Types

type Pro

type Pro struct {
}

func New

func New() *Pro

New type gacha struct return *gacha

Jump to

Keyboard shortcuts

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