Update schema and version for variant update

This commit is contained in:
Flashfyre committed 2024-04-18 21:54:07 -04:00
1 parent 62102ab4fd
commit a36a8f5be9
2 files changed
+2 -2

No files matched your search

+1 -1
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")
}
+1 -1
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"`
}