Latest game update reflections
Added ``pokememes_wealth`` in profiles, because we now can retrieve it from profiles. Removed ``pokememe_lvl`` from profile pokememes due to latest game update, where level calculating become almost impossible (or hard enough to throw it away). Added ``pokememe_attack`` for profile pokememes, which will be used instead of level.
This commit is contained in:
@@ -17,6 +17,7 @@ type Profile struct {
|
||||
LevelID int `db:"level_id"`
|
||||
Pokeballs int `db:"pokeballs"`
|
||||
Wealth int `db:"wealth"`
|
||||
PokememesWealth int `db:"pokememes_wealth"`
|
||||
Exp int `db:"exp"`
|
||||
EggExp int `db:"egg_exp"`
|
||||
Power int `db:"power"`
|
||||
|
@@ -13,7 +13,7 @@ type ProfilePokememe struct {
|
||||
ID int `db:"id"`
|
||||
ProfileID int `db:"profile_id"`
|
||||
PokememeID int `db:"pokememe_id"`
|
||||
PokememeLevel int `db:"pokememe_lvl"`
|
||||
PokememeAttack int `db:"pokememe_attack"`
|
||||
PokememeRarity string `db:"pokememe_rarity"`
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user