Documentation ¶
Index ¶
- func ChooseChaoRouletteItem(items []string, weights []int64) (string, error)
- func ChooseChaoRouletteItemIndex(items []string, weights []int64) (int, error)
- func GetRandomChaoRouletteItems(rarities []int64, allowedCharacters, allowedChao []string) ([]string, []int64, error)
- func GetRandomChaoWheelChao(rarity int64, count int) ([]string, error)
- func GetRandomChaoWheelCharacter(count int) ([]string, error)
- type LogicChao
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseChaoRouletteItem ¶
func GetRandomChaoWheelChao ¶
Types ¶
type LogicChao ¶
type LogicChao struct { ID string `json:"chaoId"` Rarity int64 `json:"rarity"` Hidden int64 `json:"hidden"` // this value is required, but is never really used in game... Best to keep at "1" Status int64 `json:"status"` // enums.ChaoStatus* Level int64 `json:"level"` Dealing int64 `json:"setStatus"` // enums.ChaoDealing* Acquired int64 `json:"acquired"` // flag }
Click to show internal directories.
Click to hide internal directories.