Raw Stats not accessible until a Request
Closed this issue · 0 comments
caymansimpson commented
A mon's stats are not accessible until a Request occurs, which makes it hard to make damage calcs without parsing and storing the team.
Would you be open to a PR that:
- Tracks stats w/ an internal
Pokemon._stats
variable? - Updates the getter for
Pokemon.stats
, changing it fromPokemon._last_request
to_stats
variable? - Adds a setter for
Pokemon.stats
inPokemon
? - Updates internal
_stats
variable inPokemon.update_from_request
- In
player._create_battle
, calculates and sets the stats, with help fromstats.py
?