Closed caymansimpson closed 3 weeks ago
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:
Pokemon._stats
Pokemon.stats
Pokemon._last_request
_stats
Pokemon
Pokemon.update_from_request
player._create_battle
stats.py
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:
Pokemon._stats
variable?Pokemon.stats
, changing it fromPokemon._last_request
to_stats
variable?Pokemon.stats
inPokemon
?_stats
variable inPokemon.update_from_request
player._create_battle
, calculates and sets the stats, with help fromstats.py
?