general

package
v0.0.0-...-cd5db6d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var General general

Functions

This section is empty.

Types

type Arms

type Arms struct {
	Title string  `json:"title"`
	Arms  []gArms `json:"arms"`
	AMap  map[int]gArms
}
var GenArms Arms

func (*Arms) GetArm

func (this *Arms) GetArm(id int) (gArms, error)

func (*Arms) GetHarmRatio

func (this *Arms) GetHarmRatio(attId, defId int) float64

func (*Arms) Load

func (this *Arms) Load()

type Basic

type Basic struct {
	Title  string   `json:"title"`
	Levels []gLevel `json:"levels"`
}
var GenBasic Basic

func (*Basic) ExpToLevel

func (this *Basic) ExpToLevel(exp int) (int8, int)

func (*Basic) GetLevel

func (this *Basic) GetLevel(l int8) (*gLevel, error)

func (*Basic) Load

func (this *Basic) Load()

Jump to

Keyboard shortcuts

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