Update schema and version for variant update

fasthttp
Flashfyre 2024-04-18 21:54:07 -04:00
parent 62102ab4fd
commit a36a8f5be9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ func Update(uuid []byte, slot int, save any) error {
return fmt.Errorf("invalid system data")
}
if save.GameVersion != "1.0.1" {
if save.GameVersion != "1.0.2" {
return fmt.Errorf("client version out of date")
}

View File

@ -38,8 +38,8 @@ type StarterEntry struct {
Moveset interface{} `json:"moveset"`
EggMoves int `json:"eggMoves"`
CandyCount int `json:"candyCount"`
AbilityAttr int `json:"abilityAttr"`
PassiveAttr int `json:"passiveAttr"`
VariantAttr int `json:"variantAttr"`
ValueReduction int `json:"valueReduction"`
}