fe8

package
v0.0.0-...-aa3f784 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPromotions

func GetPromotions(className string, classDiscriminator string, fullyPromoted bool) (*[]string, *string)

Types

type AverageStats

type AverageStats struct {
	Hp       float64
	StrOrMag float64
	Skl      float64
	Spd      float64
	Lck      float64
	Def      float64
	Res      float64
	Mov      int
	Con      int
}

type BaseStats

type BaseStats struct {
	Level      int
	Class      string
	Hp         int
	StrOrMag   int
	Skl        int
	Spd        int
	Lck        int
	Def        int
	Res        int
	Mov        int
	Con        int
	WeaponRank string
	Affinity   string
}

type Character

type Character struct {
	Name               string
	Stats              BaseStats
	Growths            GrowthRates
	EirikaRecruitment  Recruitment
	EphraimRecruitment Recruitment
	Meta               Metadata
}

type CharacterImage

type CharacterImage struct {
	Name     string
	Filename string
}

type CharacterResponse

type CharacterResponse struct {
	Name           string
	Content        string
	ThumbnailImage *CharacterImage
}

func GetAverageStats

func GetAverageStats(characterName string, level int, promotion *string, promotionLevel *int, secondPromotion *string, secondPromotionLevel *int) (*CharacterResponse, *string)

func GetCharacterData

func GetCharacterData(characterName string) (*CharacterResponse, *string)

type Characters

type Characters map[string]Character

type Class

type Class struct {
	Name       string
	MaxStats   *MaximumStats
	Promotions *[]Promotion
}

func GetClass

func GetClass(className string, classDiscriminator string, fullyPromoted bool) Class

type Classes

type Classes map[string]Class

type DisplayClass

type DisplayClass struct {
	Name  string
	Level int
}

type GrowthRates

type GrowthRates struct {
	Hp       int
	StrOrMag int
	Skl      int
	Spd      int
	Lck      int
	Def      int
	Res      int
}

type MaximumStats

type MaximumStats struct {
	Hp       int
	StrOrMag int
	Skl      int
	Spd      int
	Lck      int
	Def      int
	Res      int
	Mov      int
	Con      int
}

type Metadata

type Metadata struct {
	ClassDiscriminator  string
	UsesStr             bool
	StartsFullyPromoted bool
	StartsTrainee       bool
	ThumbnailUrl        string
}

type Promotion

type Promotion struct {
	StartingClass string
	PromotedClass string
	Hp            int
	StrOrMag      int
	Skl           int
	Spd           int
	Def           int
	Res           int
	Con           int
	Mov           int
	WeaponRanks   string
}

func GetPromotion

func GetPromotion(startingClass string, promotionClass string, classDiscriminator string) (*Promotion, *string)

type Recruitment

type Recruitment struct {
	Chapter     string
	Description string
}

Jump to

Keyboard shortcuts

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