Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ElementString = [...]string{
"electro",
"pyro",
"cryo",
"hydro",
"dendro",
"quicken",
"frozen",
"anemo",
"geo",
"",
"physical",
"unknown",
}
View Source
var StatTypeString = [...]string{
"n/a",
"def%",
"def",
"hp",
"hp%",
"atk",
"atk%",
"er",
"em",
"cr",
"cd",
"heal",
"pyro%",
"hydro%",
"cryo%",
"electro%",
"anemo%",
"geo%",
"dendro%",
"phys%",
"atkspd%",
"dmg%",
}
Functions ¶
func PrettyPrintStats ¶
func PrettyPrintStatsSlice ¶
Types ¶
type Element ¶
type Element int
Element is a string representing an element i.e. HYDRO/PYRO/etc...
const ( Electro Element = iota Pyro Cryo Hydro Dendro Quicken // or overdose Frozen Anemo Geo NoElement Physical UnknownElement EndEleType )
ElementType should be pryo, Hydro, Cryo, Electro, Geo, Anemo and maybe dendro
func StringToEle ¶
func (Element) MarshalJSON ¶
func (*Element) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.